lsd/doc/colors.md

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
very pale yellow #ffffd7 [255, 255, 215] User
grayish yellow #d7d7af [215, 215, 175] Group

Permissions

Color Hex code RGB array Used for
strong lime green #00d700 [0, 215, 0] Read permission
very light green #d7ff87 [215, 255, 135] Write permission
dark red #af0000 [175, 0, 1] Execute permission
pure (or mostly pure) magenta #ff00ff [255, 0, 255] Execute permission with stickybit
moderate pink #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
pure (or mostly pure) blue. #0087ff [0, 135, 255] Directory
strong lime green #00d700 [0, 215, 0] Executable file
white #ffffff [255, 255, 255] Non-executable file
dark red #af0000 [175, 0, 1] Broken symlink
strong cyan #00d7d7 [0, 215, 215] Pipe/Symlink/Blockdevice/Socket/Special
strong orange #d78700 [215, 135, 0] CharDevice

Dates

Color Hex code RGB array Used for
strong lime green #00d700 [0, 215, 0]. Within the last hour
strong cyan - lime green #00d787 [215, 135, 1] Within the last day
dark cyan #00af87 [175, 135, 1] Older

File Sizes

Color Hex code RGB array Used for
pale yellow #ffffaf [255, 255, 175] Small file
very light orange #ffaf87 [215, 135, 1] Medium file
strong orange #d78700 [215, 135, 0] Large file
white #ffffff [255, 255, 255] Non file