> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# IsHSL

> Check if the string is an HSL (hue, saturation, lightness, optional alpha) color based on CSS Colors Level 4 specification. Comma-separated format supported. Space-separated format supported with the exception of a few edge cases (ex: hsl(200grad+.1%62%/1)). If given value is not a string, then it returns false.

> **IsHSL**(`validationOptions?`): `PropertyDecorator`

Defined in: node\_modules/.pnpm/class-validator\@0.14.4/node\_modules/class-validator/types/decorator/string/IsHSL.d.ts:14

Check if the string is an HSL (hue, saturation, lightness, optional alpha) color based on CSS Colors Level 4 specification.
Comma-separated format supported. Space-separated format supported with the exception of a few edge cases (ex: hsl(200grad+.1%62%/1)).
If given value is not a string, then it returns false.

## Parameters

### validationOptions?

`ValidationOptions`

## Returns

`PropertyDecorator`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.