You are here

public function ColorItemInterface::getHexadecimal in Color API 8

Retrieve the hexadecimal color string representation of the color.

Return value

string The hexadecimal string representation of the color.

1 method overrides ColorItemInterface::getHexadecimal()
ColorItem::getHexadecimal in src/Plugin/Field/FieldType/ColorItem.php
Retrieve the hexadecimal color string representation of the color.

File

src/Plugin/Field/FieldType/ColorItemInterface.php, line 83

Class

ColorItemInterface
Interface for Field API Color items.

Namespace

Drupal\colorapi\Plugin\Field\FieldType

Code

public function getHexadecimal();