You are here

public function ColorCMY::getMagenta in Color Field 8.2

Get the amount of Magenta.

Return value

int The amount of magenta.

File

src/ColorCMY.php, line 66

Class

ColorCMY
ColorCMY represents the CMY color format.

Namespace

Drupal\color_field

Code

public function getMagenta() {
  return $this->magenta;
}