Same name and namespace in other branches
- 3.0.x src/ColorHSL.php \Drupal\color_field\ColorHSL::toHsl()
Get the color as a HSL instance.
Valeur de retour
\Drupal\color_field\ColorHSL The color as a HSL instance.
Overrides ColorInterface::toHsl
Fichier
-
src/
ColorHSL.php, line 182
Classe
- ColorHSL
- RGB represents the RGB color format.
Namespace
Drupal\color_fieldCode
public function toHsl() {
return $this;
}