Const
the input hex color #RRGGBB
How much to brighten the color
Optional
fallbackHexColor: stringOptional fallback color if the hexColor argument is invalid
The brightened color or undefined if invalid hexColor
If the status is 'unknown' or not passed, it will return with '--unknown' css color variable value. Otherwise it will generate a hexa color in string based on the passed status.
The status which a color string will be generated
Color string in hexa format
Returns the specified #hex color to RGB. RR (red), GG (green) and BB (blue) are hexadecimal integers between 00 and FF specifying the intensity of the color.
The hex color on the format #RRGGBB
Optional
fallbackRgbColor: RgbOptional fallback color if the hex argument is invalid
The color in RGB format. Returns the fallbackHexColor of invalid hex, which defaults to undefined
String value from which the color will be generated
Color in hexa format, like: #FF1266
Generated using TypeDoc
Calculates a brighter hex color by the specified brighter percentage.