Paintbrush defines the following colors. Each color is avaiable as a method call inside a block passed to the paintbrush
method.
black
red
green
yellow
blue
purple
cyan
white
default
Add the _b
suffix to get the “bright” version of the relevant color.
black_b
red_b
green_b
yellow_b
blue_b
purple_b
cyan_b
white_b
As well as the colors listed below, any RGB hex color code (e.g. ff00ff
) is available as a method prefixed with hex_
, e.g. use hex_ff00ff
for magenta.
The shorthand versions #hex_f0f
are also provided, i.e. #hex_f0f
is equivalent to #hex_ff00ff
.