colors man page on Plan9

Printed from

COLORS(1)							     COLORS(1)

       getmap, colors - display color map

       colors [ -rx ]

       getmap [ colormap ]

       Colors presents a grid showing the colors in the current color map.  If
       the display is true color, colors shows a grid of the  RGBV  color  map
       (see color(6)).

       Clicking	 mouse	button 1 over a color in the grid will display the map
       index for that color, its red, green,  and  blue	 components,  and  the
       32-bit  hexadecimal color value as defined in allocimage(2).  If the -x
       option is specified, the components will also be listed in hexadecimal.

       The -r 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, getmap loads the	 display's  color  map
       (default rgbv).	The named colormap can be a file in the current direcā€
       tory or in the standard repository /lib/cmap.  It can also be a	string
       of  the form gamma or gammaN, where N is a floating point value for the
       gamma, defining the contrast for a monochrome map.   Similarly,	rgamma
       and  rgammaN define a reverse-video monochrome map.  Finally, the names
       screen or display or vga are taken as synonyms for  the	current	 color
       map stored in the display hardware.

       /lib/cmap directory of color map files



                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net