Get the color as an HSL instance.

Return value

\Drupal\color_field\ColorHSL The color as an HSL instance.

Overrides ColorInterface::toHsl

Fichier

src/ColorHSL.php, line 184

Classe

ColorHSL
RGB represents the RGB color format.

Namespace

Drupal\color_field

Code

public function toHsl() : ColorHSL {
    return $this;
}