ColorExtension extension
- on
Methods
-
toComplementary(
) → Color -
toHex(
{bool hashSing = true, bool alphaValue = false}) → String - hashSing:
-
toHSL(
) → HSLColor -
toHSV(
) → HSVColor -
withRelativeOpacity(
double opacity) → Color -
Returns a new color that matches this color with the alpha channel
replaced with the given
opacity
(which ranges from 0.0 to 1.0).