Update this color's value. If this color is bound to a UI element, the canvas re-renders automatically.
A hex color string (e.g. "#FF0000") or another HSColor object
StatichexCreate a color from a hex string
Hex string (e.g. "#FF0000" or "FF0000")
An HSColor object
StaticnamedCreate a color from a named system color
Name of the system color (e.g. "red", "blue", "systemBlue")
An HSColor object
StaticrgbCreate a color from RGB values
Red component (0.0-1.0)
Green component (0.0-1.0)
Blue component (0.0-1.0)
Alpha component (0.0-1.0)
An HSColor object
Bridge type for working with colors in JavaScript