Hex extension
- on
Methods
-
getBrightness(
) → double - Returns Brightness of give Color
-
getLuminance(
) → double - Returns Luminance of give Color
-
isDark(
) → bool - Return true if given Color is dark
-
isLight(
) → bool - Return true if given Color is light
-
toHex(
{bool leadingHashSign = true, bool includeAlpha = false}) → String - return hex String