Return the component parts of a color as an Object with the properties alpha, red, green, blue.
Alpha will only be set if it exists in the given color (0xAARRGGBB)
name | type | description |
---|---|---|
input | number |
The color value to convert into a Color object. |
An object with the red, green and blue values set in the r, g and b properties.