Same name and namespace in other branches
  1. 8.x-2.x src/ColorHSL.php \Drupal\color_field\ColorHSL::getSat() 1 comment

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 an RGB instance.

File

src/ColorHSL.php, line 82

Class

ColorHSL
RGB represents the RGB color format.

Namespace

Drupal\color_field

Code

public function getSat() : int {
    return $this->sat;
}