SilverScreen Solid Modeler

COLORS        

COLORS        

Previous topic Next topic  

COLORS        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

COLORS

 

Structure

A data type used to store useful color values by name

 

   

 struct COLORS

    {

    RGB black;

    RGB red;

    RGB green;

    RGB blue;

    RGB yellow;

    RGB magenta;

    RGB cyan;

    RGB white;

    RGB brown;

    RGB violet;

    RGB light_gray;

    RGB gray;

    RGB light_blue;

    RGB light_green;

    RGB light_cyan;

    RGB light_red;

    };

 

 

 

Members

Member

RGB Value

black

0,0,0

red

168,0,0

green

0,168,0

blue

0,0,168

yellow

255,255,0

magenta

168,0,168

cyan

0,168,168

white

255,255,255

brown

168,84,0

violet

255,0,255

light_gray

168,168,168

gray

84,84,84

light_blue

0,0,255

light_green

0,255,0

light_cyan

0,255,255

light_red

255,0,0

 

 

Remarks

Access to this structure is primarily through the variable SILVER_COLORS, for instance SILVER_COLORS.light_red can be used wherever an RGB value is needed.

 

Header

ssdef.h