Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:col}

Name

col — Set or change color

...

red | gre | blu | yel | tur | pin | whi | bla | bro

The color is set to the specified name and used in the next display operation.

next [init startcolorcycle]

Get the next color in the color cycle of 10 colors. init will initiate the color cycle. Default 0 unless startcolorcycle is set between 0 and 10.
Using col next enables the user to apply the same colors in different script code.

cycle [init startcolorcycle]

The same as next. Introduced for convenience in menus.

r g b

Enter RGB values between 0.0 and 1.0 for r g b.

ran

Calculate a random color to be used in the next display operation.

sel color_number

Select color by its color_number from the color table.

nobgc

No background color change. Default is that a white color will change to black if the background is white or close to white.

tab

Will display the default color table used in the color cycle. The color table is formed as a stair.

tab ctb

Will display the default color table used in mapping.

tab [ctb] poi

Will display the color number on the color in the color table.

See also

pol - Polygon type display, psc col, spe bgc