ColorX extension

on

Properties

fullAlpha Color
no setter
fullBlue Color
no setter
fullGreen Color
no setter
fullRed Color
no setter
hex String
Returns the color in hexadecimal format without alpha channel.
no setter
hexWithAlpha String
Returns the color in hexidecimal format with alpha
no setter
isLight bool
Returns if the color is light or dark.
no setter
zeroAlpha Color
no setter
zeroBlue Color
no setter
zeroGreen Color
no setter
zeroRed Color
no setter

Static Methods

fromHex(String hex, {int alpha = 255}) Color?
Returns a Color with a given alpha and a given hexidecimal string.