| getmap, colors \- display color map |
| presents a grid showing the colors in the current color map. |
| If the display is true color, |
| shows a grid of the RGBV color map |
| Clicking mouse button 1 over a color in the grid will display the map index for that color, |
| red, green, and blue components, |
| and the 32-bit hexadecimal color value as defined in |
| option is specified, the components will also be listed in hexadecimal. |
| option instead shows, in the same form, a grey-scale ramp. |
| A menu on mouse button 3 contains a single entry, to exit the program. |
| On 8-bit color-mapped displays, |
| loads the display's color map (default |
| can be a file in the current directory or in the standard repository |
| It can also be a string of the form |
| is a floating point value for the gamma, defining the contrast for a monochrome map. |
| define a reverse-video monochrome map. |
| are taken as synonyms for the current color map stored in the display hardware. |
| directory of color map files |
| .B /usr/local/plan9/src/cmd/draw/colors.c |