public function ColorHSL::getLum in Color Field 8.2
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 91
Class
- ColorHSL
- RGB represents the RGB color format.
Namespace
Drupal\color_fieldCode
public function getLum() {
return $this->lum;
}