public function ColorHSL::getSat in Color Field 8.2
Get the sat value.
Return value
int The sat value
1 call to ColorHSL::getSat()
- ColorHSL::toRgb in src/
ColorHSL.php - Get the color as a RGB instance.
File
- src/
ColorHSL.php, line 81
Class
- ColorHSL
- RGB represents the RGB color format.
Namespace
Drupal\color_fieldCode
public function getSat() {
return $this->sat;
}