Lines Matching refs:color2
436 $color2 = ColorRgb::createFromString($color);
437 $targetRed = self::round(Math::lerp($color2->getRed(), $this->getRed(), $weight));
438 $targetGreen = self::round(Math::lerp($color2->getGreen(), $this->getGreen(), $weight));
439 $targetBlue = self::round(Math::lerp($color2->getBlue(), $this->getBlue(), $weight));
453 $color2 = ColorRgb::createFromString($color);
454 $targetRed = self::round(Math::unlerp($color2->getRed(), $this->getRed(), $weight));
456 …throw new ExceptionCompile("This is not possible, the red value ({$color2->getBlue()}) with the pe…
458 $targetGreen = self::round(Math::unlerp($color2->getGreen(), $this->getGreen(), $weight));
460 …throw new ExceptionCompile("This is not possible, the green value ({$color2->getGreen()}) with the…
462 $targetBlue = self::round(Math::unlerp($color2->getBlue(), $this->getBlue(), $weight));
464 …throw new ExceptionCompile("This is not possible, the blue value ({$color2->getBlue()}) with the p…