<static> getColor(r, g, b) → {number}
Given 3 color values this will return an integer representation of it.
Parameters
Name | Type | Description |
---|---|---|
r | number | The red color component, in the range 0 - 255. |
g | number | The green color component, in the range 0 - 255. |
b | number | The blue color component, in the range 0 - 255. |
Returns
number -
A native color value integer (format: 0xRRGGBB).
- Source code: utils/Color.js (Line 500)
Please login to continue.