ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/yodl/rxvt-colours.yo
Revision: 1.3
Committed: Sun Feb 22 08:36:11 2004 UTC (20 years, 4 months ago) by pcg
Branch: MAIN
CVS Tags: rel-1_9, rel-2_2, rel-2_3, rel-2_0, rxvt-2-0, rel-1-9, rel-2_1_0
Changes since 1.2: +1 -5 lines
Log Message:
*** empty log message ***

File Contents

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