mirror of https://github.com/lsd-rs/lsd
4.5 KiB
4.5 KiB
Color reference
[!TIP] Checkout trapd00r/LS_COLORS and sharkdp/vivid for help in theming using
LS_COLORS.
You can customize filetype colors using LS_COLORS and other colors using the theme.
Default colors
Users and groups
| Color | Hex code | RGB array | Used for |
|---|---|---|---|
#ffffd7 |
[255, 255, 215] |
User | |
#d7d7af |
[215, 215, 175] |
Group |
Permissions
| Color | Hex code | RGB array | Used for |
|---|---|---|---|
#00d700 |
[0, 215, 0] |
Read permission | |
#d7ff87 |
[215, 255, 135] |
Write permission | |
#af0000 |
[175, 0, 1] |
Execute permission | |
#ff00ff |
[255, 0, 255] |
Execute permission with stickybit | |
#d75f87 |
[215, 95, 135] |
No Access |
File Types
[!Note] These change based on your configured terminal color scheme
| Color | Hex code | RGB array | Used for |
|---|---|---|---|
#0087ff |
[0, 135, 255] |
Directory | |
#00d700 |
[0, 215, 0] |
Executable file | |
#ffffff |
[255, 255, 255] |
Non-executable file | |
#af0000 |
[175, 0, 1] |
Broken symlink | |
#00d7d7 |
[0, 215, 215] |
Pipe/Symlink/Blockdevice/Socket/Special | |
#d78700 |
[215, 135, 0] |
CharDevice |
Dates
| Color | Hex code | RGB array | Used for |
|---|---|---|---|
#00d700 |
[0, 215, 0]. |
Within the last hour | |
#00d787 |
[215, 135, 1] |
Within the last day | |
#00af87 |
[175, 135, 1] |
Older |
File Sizes
| Color | Hex code | RGB array | Used for |
|---|---|---|---|
#ffffaf |
[255, 255, 175] |
Small file | |
#ffaf87 |
[215, 135, 1] |
Medium file | |
#d78700 |
[215, 135, 0] |
Large file | |
#ffffff |
[255, 255, 255] |
Non file |