Overrides ColorInterface::toHex
File
-
src/
ColorCMYK.php, line 116
Class
- ColorCMYK
- ColorCMYK represents the CMYK color format.
Namespace
Drupal\color_fieldCode
public function toHex() {
return $this->toRgb()
->toHex();
}