@arolariu/components / adjustLightness
Variable: adjustLightness()
constadjustLightness: (hexColor,lightnessAdjustment) =>string=adjustHexColorLightness
Defined in: lib/color-conversion-utilities.ts:163
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
Deprecated
Use adjustHexColorLightness instead