Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. Name

*col* --- Set or change color

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#ffffaa}

*col* \[*red | gre | blu | yel | tur | pin | whi | bla | bro | next*] | \[r g b] | \[*ran*] | \[*sel* color_number] \[*nobgc*] | \[*tab* \[*ctb*] \[*poi*]]

{panel}

h2. Description

Sets the color for the next command to display in single color mode.

h2. Arguments

No argument or *next*. The color is set to the next color in the color cycle. 

*red* | *gre* | *blu* | *yel* | *tur* | *pin* | *whi* | *bla* | *bro*
{indent} The color is set to the specified name and used in the next display operation. 
{indent}

r g b
{indent} Enter RGB values between 0.0 and 1.0 for _r g b_. 
{indent}

*ran*
{indent} Calculate a random color to be used in the next display operation. 
{indent}

*sel* color_number
{indent} Select color by its color_number from the color table. 
{indent}

*nobgc*
{indent} No background color change. Default is that a white color will change to black if the background is white or close to white. 
{indent}

*tab*
{indent} Will display the default color table used in the color cycle. The color table is formed as a stair. 
{indent}

*tab ctb*
{indent} Will display the default color table used in mapping. 
{indent}

*tab* \[*ctb*\] *poi*
{indent} Will display the color number on the color in the color table. 
{indent}

h2. See also

[pol], [psc col|psc], [spe bgc|spe]