1 058b0118 2005-01-03 devnull .TH COLORS 1
3 058b0118 2005-01-03 devnull getmap, colors \- display color map
4 058b0118 2005-01-03 devnull .SH SYNOPSIS
12 058b0118 2005-01-03 devnull .B getmap
14 058b0118 2005-01-03 devnull .I colormap
16 058b0118 2005-01-03 devnull .SH DESCRIPTION
17 058b0118 2005-01-03 devnull .I Colors
18 058b0118 2005-01-03 devnull presents a grid showing the colors in the current color map.
19 058b0118 2005-01-03 devnull If the display is true color,
20 058b0118 2005-01-03 devnull .I colors
21 058b0118 2005-01-03 devnull shows a grid of the RGBV color map
23 058b0118 2005-01-03 devnull .IR color (7)).
25 058b0118 2005-01-03 devnull Clicking mouse button 1 over a color in the grid will display the map index for that color,
27 058b0118 2005-01-03 devnull red, green, and blue components,
28 058b0118 2005-01-03 devnull and the 32-bit hexadecimal color value as defined in
29 058b0118 2005-01-03 devnull .IR allocimage (3).
32 058b0118 2005-01-03 devnull option is specified, the components will also be listed in hexadecimal.
36 058b0118 2005-01-03 devnull option instead shows, in the same form, a grey-scale ramp.
38 058b0118 2005-01-03 devnull A menu on mouse button 3 contains a single entry, to exit the program.
40 058b0118 2005-01-03 devnull On 8-bit color-mapped displays,
41 058b0118 2005-01-03 devnull .I getmap
42 058b0118 2005-01-03 devnull loads the display's color map (default
43 058b0118 2005-01-03 devnull .BR rgbv ).
44 058b0118 2005-01-03 devnull The named
45 058b0118 2005-01-03 devnull .I colormap
46 058b0118 2005-01-03 devnull can be a file in the current directory or in the standard repository
47 058b0118 2005-01-03 devnull .BR /lib/cmap .
48 058b0118 2005-01-03 devnull It can also be a string of the form
51 058b0118 2005-01-03 devnull .BI gamma N\f1 ,
54 058b0118 2005-01-03 devnull is a floating point value for the gamma, defining the contrast for a monochrome map.
55 058b0118 2005-01-03 devnull Similarly,
56 058b0118 2005-01-03 devnull .B rgamma
58 058b0118 2005-01-03 devnull .BI rgamma N
59 058b0118 2005-01-03 devnull define a reverse-video monochrome map.
60 058b0118 2005-01-03 devnull Finally, the names
61 058b0118 2005-01-03 devnull .B screen
63 058b0118 2005-01-03 devnull .B display
66 058b0118 2005-01-03 devnull are taken as synonyms for the current color map stored in the display hardware.
67 058b0118 2005-01-03 devnull .SH FILES
68 058b0118 2005-01-03 devnull .B /lib/cmap
69 058b0118 2005-01-03 devnull directory of color map files
70 058b0118 2005-01-03 devnull .SH SOURCE
71 c3674de4 2005-01-11 devnull .B \*9/src/cmd/draw/colors.c
72 058b0118 2005-01-03 devnull .SH SEE ALSO
73 058b0118 2005-01-03 devnull .IR color (7)