Skip to content

Instantly share code, notes, and snippets.

@davidhcefx
Last active March 18, 2022 21:39
Show Gist options
  • Save davidhcefx/00498fc9b90cf97077460b5d121cda82 to your computer and use it in GitHub Desktop.
Save davidhcefx/00498fc9b90cf97077460b5d121cda82 to your computer and use it in GitHub Desktop.
An overview of 256 color supported by nano config file

Nano's Rainbow Color Testing

An overview of 256 color supported by nano config file.

Instruction

  1. Download the following file rainbow.nanorc.
  2. Run nano -f /path/to/this/file /path/to/this/file

Note that for nano with version < 6.0, only 16 colors would be highlighted.

screenshot

# Rainbow file created by davidhcefx, 2021.6.2.
# View it by: `nano -f /path/to/this/file /path/to/this/file`.
syntax "rainbow" ".rainbow"
comment '#'
color rosy "@0@"
color pink "@1@"
color crimson "@2@"
color red "@3@"
color brick "@4@"
color orange "@5@"
color peach "@6@"
color yellow "@7@"
color lime "@8@"
color mint "@9@"
color teal "@a@"
color green "@b@"
color sage "@c@"
color cyan "@d@"
color lagoon "@e@"
color sea "@f@"
color sky "@g@"
color blue "@h@"
color plum "@i@"
color mauve "@j@"
color beet "@k@"
color purple "@l@"
color magenta "@m@"
color slate "@n@"
color grey "@o@"
color latte "@p@"
color tawny "@q@"
color brown "@r@"
color ocher "@s@"
color sand "@t@"
color white "@u@"
color ,rosy "#0#"
color ,pink "#1#"
color ,crimson "#2#"
color ,red "#3#"
color ,brick "#4#"
color ,orange "#5#"
color ,peach "#6#"
color ,yellow "#7#"
color ,lime "#8#"
color ,mint "#9#"
color ,teal "#a#"
color ,green "#b#"
color ,sage "#c#"
color ,cyan "#d#"
color ,lagoon "#e#"
color ,sea "#f#"
color ,sky "#g#"
color ,blue "#h#"
color ,plum "#i#"
color ,mauve "#j#"
color ,beet "#k#"
color ,purple "#l#"
color ,magenta "#m#"
color ,slate "#n#"
color ,grey "#o#"
color ,latte "#p#"
color ,tawny "#q#"
color ,brown "#r#"
color ,ocher "#s#"
color ,sand "#t#"
color ,white "#u#"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment