Sets the red, green and blue values of this RGB object, flags it as being
dirty and then invokes the onChangeCallback
, if set.
name | type | arguments | description |
---|---|---|---|
red | number | <optional> |
The red color value. A number between 0 and 1. |
green | number | <optional> |
The green color value. A number between 0 and 1. |
blue | number | <optional> |
The blue color value. A number between 0 and 1. |
This RGB instance.