Same name in other branches
- 8.x-2.x src/ColorHSL.php \Drupal\color_field\ColorHSL::getHue()
Get the hue value.
Return value
int The hue value
1 call to ColorHSL::getHue()
- ColorHSL::toRgb dans src/
ColorHSL.php - Get the color as an RGB instance.
Fichier
-
src/
ColorHSL.php, line 72
Classe
- ColorHSL
- RGB represents the RGB color format.
Namespace
Drupal\color_fieldCode
public function getHue() : int {
return $this->hue;
}