Array ng.Color.get_rgb ([Boolean alpha = false]) vs. 1.1.0 Full+Lite

Gets the RGB values as an array [RED, GREEN, BLUE], e.g. [255, 0, 0] for red.

Parameters

Boolean alpha (Optional - Default: false) vs. 1.1.4 Full+Lite
If true, the returned array will contain the alpha value in the 4th index.

Return

Array Required vs. 1.1.0 Full+Lite
An array that represents the red, green and blue values.

Examples

Using ng.Color.get_rgb()
Demo: