Hex extension

on

Methods

hcGetBrightness() double
Returns Brightness of give Color
hcGetLuminance() double
Returns Luminance of give Color
hcIsDark() bool
Return true if given Color is dark
hcIsLight() bool
Return true if given Color is light
hcToHex({bool leadingHashSign = true, bool includeAlpha = false}) String
return hex String