Self ng.Color.set_rgb (Array value) vs. 1.1.0 Full+Lite

Sets the color value using an RGB array.

Parameters

Array value Required vs. 1.1.0 Full+Lite
An array that holds the red, green and blue values [RED, GREEN, BLUE], e.g. [255, 0, 0] for red. Since version 1.1.4, the alpha value can be passed as the 4th index of the array.

Return

Self Required vs. 1.1.0 Full+Lite
The color object.

Examples

Using ng.Color.set_rgb(value)
Demo: