Lines Matching refs:r
85 * @param float $r
91 public function rgb2hsl($r, $g, $b)
95 $min = min($r, $g, $b);
96 $max = max($r, $g, $b);
112 $rDiff = ((($max - $r) / 6) + ($diff / 2)) / $diff;
116 if ($r == $max) {
138 * Output is RGB in normal 255 255 255 format, held in $r, $g, $b
149 $r = $l * 255;
159 $r = round(255 * $this->hue2rgb($tmp2, $tmp, $h + (1 / 3)));
164 return [$r, $g, $b];