clrSetRgb(color,red,green,blue)¶
Definition¶
String clrSetRgb(String color, Number red, Number green, Number blue)
Description¶
Sets the red, green or blue of the supplied color. Creates a new color if all three are supplied. Returns the resulting color in rrggbb format, or null if not a valid color.
Parameter Definition¶
Name | Type | Description |
---|---|---|
color | String | Default Color to update |
red | Number | Red componenet (0-255) or null to leave default |
green | Number | Green componenet (0-255) or null to leave default |
blue | Number | Blue componenet (0-255) or null to leave default |