color create

Allows you to create a new color by specifying the red, blue and green components of the color.

Format:

 
color create
color_name =
a new color
red_component =
real
green_component =
real
blue_component =
real

Example:

 
color create &
Color_name =
MY_COLOR &
Red_component =
0.98 &
Green_component =
0.89 &
Blue_component =
0.66

Description:

 
Parameter
Value Type
Description
color_name
A New Color
Specifies the name of the new color to be created
red_component
Real
Specifies the amount of red in a color
green_component
Real
Specifies the amount of green in a color
blue_component
Real
Specifies the amount of blue in a color

Extended Definition:

1. Color_name should be different from the names of any of the existing colors present. If you need to modify the hue of an existing color, then use the modify keyword within the command color.
2. Red_component can be a real value greater than or equal to zero and less than or equal to one. You can use any combination of red, green, or blue to define a color.
3. Green_component can be a real value greater than or equal to zero and less than or equal to one. You can use any combination of red, green, or blue to define a color.
Blue_component can be a real value greater than or equal to zero and less than or equal to one. You can use any combination of red, green, or blue to define a color.