public function ColorData::getBlue in Color API 8
Retrieve 'Blue' value of the Color data object RGB property.
Return value
array The value for the RGB "red". An integer between 0 and 255.
Overrides ColorInterface::getBlue
File
- src/
Plugin/ DataType/ ColorData.php, line 108
Class
- ColorData
- Provides the Color Typed Data type.
Namespace
Drupal\colorapi\Plugin\DataTypeCode
public function getBlue() {
return $this
->get('rgb')
->getBlue();
}