new Color(r, g, b) → {Color}
Defines an RGB color.
Parameters:
| Name | Type | Description |
|---|---|---|
r |
Number | A normalized value for red. |
g |
Number | A normalized value for green. |
b |
Number | A normalized value for blue. |
Returns:
- Type
- Color