Self ng.Color.set_hex (String value) vs. 1.1.0 Full+Lite

Sets the color using a Hexadecimal value.

Parameters

String value Required vs. 1.1.0 Full+Lite
A hexadecimal color value (e.g. FFFFFF for white). The # sign is optional. Since version 1.1.4, the alpha value can be passed as the last two characters in the string in hexadecimal value (FF for 100% and 00 for 0%).

Return

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

Examples

Using ng.Color.set_hex(value)
Demo: