Create a color from a hex string RRGGBB
with alpha=255.
Create a color from its name, as defined by the following schemes:
x:A:R:G:B
, where x
is any text not containing a colon,
and ARGB are integers between 0 and 255.x:name
, where x
is as above and name
is lowercased
and re-evaluated by this function.#RRGGBB
. Alpha is 255.AARRGGBB
, with no hash mark.Create a color from a hex string AARRGGBB
.
This function is the same as Color.fromName.
Generated using TypeDoc
Create a new color from individual ARGB components, each in the range 0-255.