Prints the HEX string version of the color.
an HEX color string.
Prints the RGB string version of the color.
an RGB color string.
Prints the RGBA string version of the color.
an RGBA color string.
Creates a Color instance from an HEX color string.
HEX string.
a Color instance from HEX string.
Creates a Color instance from an RGB(A) color string.
RGB(A) string.
a Color instance from RGB(A) string.
Generated using TypeDoc
Represents a color instance. It can be read in different formats. It manages transparency. Exposes static methods to create an instance of Color from an existing string (hex, rgb, rgba)