Table of Contents

**@arolariu/components**


@arolariu/components / convertHslToHexString

Function: convertHslToHexString()

convertHslToHexString(hue, saturation, lightness): string

Defined in: lib/color-conversion-utilities.ts:60

Converts HSL color values to a hexadecimal color string.

Parameters

hue

number

Hue value (0-360)

saturation

number

Saturation percentage (0-100)

lightness

number

Lightness percentage (0-100)

Returns

string

Hex color code (e.g., "#06b6d4")