@arolariu/components / adjustHexColorLightness
Function: adjustHexColorLightness()
adjustHexColorLightness(
hexColor,lightnessAdjustment):string
Defined in: lib/color-conversion-utilities.ts:127
Adjusts the lightness of a hexadecimal color by a specified amount.
Parameters
hexColor
string
Hex color code
lightnessAdjustment
number
Amount to adjust lightness (-100 to 100)
Returns
string
Adjusted hex color code