Same name and namespace in other branches
- 3.0.x src/ColorHSL.php \Drupal\color_field\ColorHSL::getLum()
Get the lum value.
Return value
int The lum value
1 call to ColorHSL::getLum()
- ColorHSL::toRgb in src/
ColorHSL.php - Get the color as a RGB instance.
File
-
src/
ColorHSL.php, line 89
Class
- ColorHSL
- RGB represents the RGB color format.
Namespace
Drupal\color_fieldCode
public function getLum() {
return $this->lum;
}