Rich supports a wide range of colors and styles for text, backgrounds, and borders. Here’s a comprehensive list of possible colors and styles you can use to customize your config.ini file.
Rich supports the standard 16 ANSI colors and many more extended colors. Here are the most commonly used ones:
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
- bright_black (gray)
- bright_red
- bright_green
- bright_yellow
- bright_blue
- bright_magenta
- bright_cyan
- bright_white
- grey0 to grey100
- navy_blue
- dark_blue
- blue3
- blue1
- dark_green
- deep_sky_blue4
- dodger_blue3
- dodger_blue2
- chartreuse4
- turquoise4
- steel_blue
- green_yellow
- medium_orchid
- orange_red1
- hot_pink
- deep_pink4
- medium_violet_red
- goldenrod2
- light_salmon3
- light_pink4
Rich also supports various text styles:
- bold
- dim
- italic
- underline
- blink
- reverse
- conceal
- strike
Any of the colors can be used as a background by prefixing with on :
- on black
- on red
- on green
- on yellow
- on blue
- on magenta
- on cyan
- on white
- on bright_black
- on bright_red
- on bright_green
- on bright_yellow
- on bright_blue
- on bright_magenta
- on bright_cyan
- on bright_white
Rich supports several box styles for table borders:
- ascii
- simple
- minimal
- minimal_heavy_head
- minimal_double_head
- simple_head
- rounded
- heavy
- heavy_edge
- heavy_head
- double
- double_edge
- square