You are here

public function ColorHSL::getHue in Color Field 8.2

Get the hue value.

Return value

int The hue value

1 call to ColorHSL::getHue()
ColorHSL::toRgb in src/ColorHSL.php
Get the color as a RGB instance.

File

src/ColorHSL.php, line 71

Class

ColorHSL
RGB represents the RGB color format.

Namespace

Drupal\color_field

Code

public function getHue() {
  return $this->hue;
}