ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.pod (file contents):
Revision 1.225 by sf-exg, Wed Jun 5 07:58:17 2013 UTC vs.
Revision 1.226 by root, Thu Jan 16 07:59:24 2014 UTC

1509The following text gives values for the standard 88 colour mode (and 1509The following text gives values for the standard 88 colour mode (and
1510values for the 256 colour mode in parentheses). 1510values for the 256 colour mode in parentheses).
1511 1511
1512The RGB cube uses indices 16..79 (16..231) using the following formulas: 1512The RGB cube uses indices 16..79 (16..231) using the following formulas:
1513 1513
1514 index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 1514 index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3
1515 index_256 = (r * 16 + g) * 16 + b + 16 # r, g, b = 0..15 1515 index_256 = (r * 6 + g) * 6 + b + 16 # r, g, b = 0..5
1516 1516
1517The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% 1517The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10%
1518steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of 1518steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of
1519the RGB cube. 1519the RGB cube.
1520 1520

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines