plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

colors.1 (1093B)


      1 .TH COLORS 1
      2 .SH NAME
      3 colors, cmapcube \- display color map
      4 .SH SYNOPSIS
      5 .PP
      6 .B colors
      7 [
      8 .B -r
      9 .B -x
     10 ]
     11 .PP
     12 .B cmapcube
     13 [
     14 .B -nbw
     15 ]
     16 .SH DESCRIPTION
     17 .I Colors
     18 presents a grid showing the colors in the RGBV color map
     19 (see
     20 .MR color (7) ).
     21 .PP
     22 Clicking mouse button 1 over a color in the grid will display the map index for that color,
     23 its
     24 red, green, and blue components,
     25 and the 32-bit hexadecimal color value as defined in
     26 .MR allocimage (3) .
     27 If the
     28 .B -x
     29 option is specified, the components will also be listed in hexadecimal.
     30 .PP
     31 The
     32 .B -r
     33 option instead shows, in the same form, a grey-scale ramp.
     34 .PP
     35 A menu on mouse button 3 contains a single entry, to exit the program.
     36 .PP
     37 .I Cmapcube
     38 presents the same colors but in a 3-dimensional cube.
     39 Dragging with button 1 rotates the cube.
     40 Clicking on a color with button 2
     41 displays the map index for that color.
     42 Clicking button 3 exits.
     43 .PP
     44 The
     45 .B -n
     46 option disables drawing of the color squares.
     47 The
     48 .B -b
     49 and
     50 .B -w
     51 options set the background (default grey)
     52 to black or white.
     53 .SH SOURCE
     54 .B \*9/src/cmd/draw/colors.c
     55 .SH SEE ALSO
     56 .MR color (7)