Lines Matching defs:green
33 'green',
108 'green' => '#008000',
243 private $green;
309 public static function createFromRgbChannels(int $red, int $green, int $blue): ColorRgb
312 ->setRgbChannels([$red, $green, $blue]);
370 $green = $this->green / 255;
373 $max = max($red, $green, $blue);
374 $min = min($red, $green, $blue);
387 $hue = 60 * fmod((($green - $blue) / $d), 6);
388 if ($blue > $green) {
393 case $green:
399 $hue = 60 * (($red - $green) / $d + 4);
460 throw new ExceptionCompile("This is not possible, the green value ({$color2->getGreen()}) with the percentage $weight could not be unmixed. They were not calculated with color mixing.");
612 return $this->green;
796 [$this->red, $this->green, $this->blue, $this->transparency] = $this->hex2rgb($color);
821 [$this->red, $this->green, $this->blue] = $colorValue;