4.3 Color

Pointless uses RGBA-definitions for colors. The RGBA may be specified in float, i.e. by four parameters between 0 and 1: Red, Green, Blue and Alpha (transparency) or in hex values. A color is set by issuing =setcolor, e.g. when setting a non-transparent blue color as =setcolor(0,0,1,1). As mentioned above, you may also choose to specify the colors in hex and you can choose between the two formats 0xRGB (assumes alpha equals 0xFF) and 0xRGBA, e.g. =setcolor(0x057510). Finally, you may choose to use one of predefined colors: black, white, red, green, blue, yellow, cyan, magenta, dgray, lgray, lred, lgreen, lblue, brown, lcyan, lmagenta, simply by using the string as in =setcolor("lgreen").

For the non-transparent colors red, green, blue, white and black, short commands =red, =green, =blue, =yellow, =white, =black exists.

See About this document... for information on suggesting changes.