You are here

public function ColorInterface::getBlue in Color API 8

Same name in this branch
  1. 8 src/Entity/ColorInterface.php \Drupal\colorapi\Entity\ColorInterface::getBlue()
  2. 8 src/Plugin/DataType/ColorInterface.php \Drupal\colorapi\Plugin\DataType\ColorInterface::getBlue()

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.

1 method overrides ColorInterface::getBlue()
ColorData::getBlue in src/Plugin/DataType/ColorData.php
Retrieve 'Blue' value of the Color data object RGB property.

File

src/Plugin/DataType/ColorInterface.php, line 118

Class

ColorInterface
Interface for the Typed Data Color Complex Data type.

Namespace

Drupal\colorapi\Plugin\DataType

Code

public function getBlue();