1COMMENT(-- $Id: rxvt-colours.yo,v 1.2 1998/04/20 07:24:21 mason Exp $ --)
2COMMENT(----------------------------------------------------------------------)
3manpagesection(COLORS AND GRAPHICS)
4
5If graphics support was enabled at compile-time, bf(rxvt) can be queried
6with ANSI escape sequences and can address individual pixels instead of
7text characters.  Note the graphics support is still considered beta code.
8
9In addition to the default foreground and background colours, bf(rxvt)
10can display up to 16 colours (8 ANSI colours plus high-intensity bold/blink
11versions of the same).
12Here is a list of the colours with their bf(rgb.txt) names.
13
14starttable(3)(l l l)(0)\
15    row(cell(bf(color0))cell((black))cell(= Black))\
16    row(cell(bf(color1))cell((red))cell(= Red3))\
17    row(cell(bf(color2))cell((green))cell(= Green3))\
18    row(cell(bf(color3))cell((yellow))cell(= Yellow3))\
19    row(cell(bf(color4))cell((blue))cell(= Blue3))\
20    row(cell(bf(color5))cell((magenta))cell(= Magenta3))\
21    row(cell(bf(color6))cell((cyan))cell(= Cyan3))\
22    row(cell(bf(color7))cell((white))cell(= AntiqueWhite))\
23    row(cell(bf(color8))cell((bright black))cell(= Grey25))\
24    row(cell(bf(color9))cell((bright red))cell(= Red))\
25    row(cell(bf(color10))cell((bright green))cell(= Green))\
26    row(cell(bf(color11))cell((bright yellow))cell(= Yellow))\
27    row(cell(bf(color12))cell((bright blue))cell(= Blue))\
28    row(cell(bf(color13))cell((bright magenta))cell(= Magenta))\
29    row(cell(bf(color14))cell((bright cyan))cell(= Cyan))\
30    row(cell(bf(color15))cell((bright white))cell(= White))\
31    row(cell(bf(foreground))cell()cell(= Black))\
32    row(cell(bf(background))cell()cell(= White))\
33endtable()
34
35It is also possible to specify the colour values of bf(foreground),
36bf(background), bf(cursorColor), bf(cursorColor2), bf(colorBD), bf(colorUL)
37as a number 0-15, as a convenient shorthand to reference the colour name of
38color0-color15.
39
40Note that bf(-rv) (bf("reverseVideo: True")) simulates reverse video by
41always swapping the foreground/background colours.  This is in contrast to
42em(xterm)(1) where the colours are only swapped if they have not otherwise been
43specified.
44For example,
45
46startdit()
47   dit(bf(rxvt -fg Black -bg White -rv))
48	would yield White on Black, while on em(xterm)(1) it would yield
49	Black on White.
50enddit()
51