# hslColor (@salmonui/inputs/color-picker)

> The hslColor function of @salmonui/inputs/color-picker: A color from HSL (hue 0-360, saturation and lightness 0-100) and alpha.

Canonical: https://salmonui.dev/docs/reference/inputs/color-picker/hslColor

```ts
import { hslColor } from '@salmonui/inputs/color-picker';
```

Entry index: https://salmonui.dev/docs/reference/inputs/color-picker (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/color-picker.md).

## Reference

Kind: function

```ts
function hslColor(h: number, s: number, l: number, a?: number): Color;
```

A color from HSL (hue 0-360, saturation and lightness 0-100) and alpha.
