Lines Matching refs:rgb
29 $rgb = $this->cmyk2rgb($c);
30 return $this->rgb2gray($rgb);
72 $rgb = [];
74 $rgb[0] = (int) ($colors * (255 - ($c[1] * 2.55)) / 255);
75 $rgb[1] = (int) ($colors * (255 - ($c[2] * 2.55)) / 255);
76 $rgb[2] = (int) ($colors * (255 - ($c[3] * 2.55)) / 255);
78 return [5, $rgb[0], $rgb[1], $rgb[2], $c[5]];
81 return [3, $rgb[0], $rgb[1], $rgb[2]];