1# color-expr
2
3Pikchr tracks colors as 24-bit RGB values.  Black is 0.  White is
416777215.  Other color values are in between these two extremes.
5
6Pikchr knows the names of the 140 standard HTML color names.  If you
7use one of those color names in an expression, Pikchr will substitute
8the corresponding RGB value.  For example, if you write:
9
10~~~~~
11    circle "Hi" fill Bisque
12~~~~~
13
14That is the equivalent of writing:
15
16~~~~~
17    circle "Hi" fill 16770244
18~~~~~
19
20Because 16770244 is the 24-bit RGB value for "Bisque".
21
22To put it another way, Pikchr treats the keyword "Bisque" as an
23alternative spelling for the numeric literal 16770244.
24