<static> getRed(color) → {number}
Given a native color value (in the format 0xAARRGGBB) this will return the Red component, as a value between 0 and 255.
Parameters
Name | Type | Description |
---|---|---|
color | number | In the format 0xAARRGGBB. |
Returns
number -
The Red component of the color, will be between 0 and 255 (0 being no color, 255 full Red).
- Source code: utils/Color.js (Line 954)
Please login to continue.