APIfunctionsgetHSLfromHEX()On this pagegetHSLfromHEX() function getHSLfromHEX(hex): HSL Converts a hex color to an HSL color Parameters ParameterTypeDescriptionhex`#${string}`The hex color to convert Returns HSL The HSL color Example const hsl = getHSLfromHEX('#FF0000');// Returns [0, 100, 50] Defined in hsl/hsl.ts:14