Lines Matching refs:Color
24 0 => new Color(188, 224, 46),
25 1 => new Color(224, 100, 46),
26 2 => new Color(224, 214, 46),
27 3 => new Color(46, 151, 224),
28 4 => new Color(176, 46, 224),
29 5 => new Color(224, 46, 117),
30 6 => new Color(92, 224, 46),
31 7 => new Color(224, 176, 46)
41 * @param Color $color1 start color
42 * @param Color $color2 end color
46 static public function colorGradientPalette(Color $color1, Color $color2, $shades) {
54 $palette->colors[$i] = new Color($color1->getR() + $RFactor * $i,
84 $palette->setColor($idx, new Color($values[0], $values[1], $values[2]));
87 $palette->setColor($idx, new Color($values[0]));
97 * @param Color $color
99 public function setColor($id, Color $color) {
107 * @return Color
113 $this->colors[$id] = Color::random($id);