Lines Matching refs:red
30 'red',
174 'red' => '#FF0000',
239 private $red;
309 public static function createFromRgbChannels(int $red, int $green, int $blue): ColorRgb
312 ->setRgbChannels([$red, $green, $blue]);
366 if ($this->red === null) {
369 $red = $this->red / 255;
373 $max = max($red, $green, $blue);
374 $min = min($red, $green, $blue);
386 case $red:
394 $hue = 60 * (($blue - $red) / $d + 2);
399 $hue = 60 * (($red - $green) / $d + 4);
456 throw new ExceptionCompile("This is not possible, the red value ({$color2->getBlue()}) with the percentage $weight could not be unmixed. They were not calculated with color mixing.");
606 return $this->red;
796 [$this->red, $this->green, $this->blue, $this->transparency] = $this->hex2rgb($color);
821 [$this->red, $this->green, $this->blue] = $colorValue;