color modify
This command allows you to modify an existing color by changing the red, blue and green components of the color.
Format:
color modify |
|---|
color_name = | an existing color |
new_color_name = | a new color |
red_component = | real |
green_component = | real |
blue_component = | real |
Example:
color modify & |
|---|
Color_name = | MY_COLOR & |
New_color_name = | MODIFIED_COLOR & |
Red_component = | 0.99 & |
Green_component = | 0.89 & |
Blue_component = | 0.56 |
Description:
Parameter | Value Type | Description |
|---|
color_name | An Existing Color | Specifies an existing color |
new_color_name | A New Color | Changes the name of the existing color |
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. The new_color_name parameter allows the user to change the name of the existing color. For example, if you make an existing color, RED, lighter by reducing its red component, you could rename it as, say, LT_RED.
2. Red_componenet 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.
4. 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.