0-255 RGBA color.
static (hex: string | number)
=> Color Create color from hex string or literal.
Color.fromHex(0xfcef8d)
Color.fromHex("#5ba675")
Color.fromHex("d46eb3")
since v3000.0
(a: number)
=> Color Lighten the color (adds RGB by n).
(a: number)
=> Color Darkens the color (subtracts RGB by n).
(dest: Color, t: number)
=> Color Linear interpolate to a destination color.
()
=> [number, number, number] Convert color into HSL format.
()
=> string Return the hex string of color.
()
=> Array<number> Return the color converted to an array.