Lines Matching defs:b
87 * @param float $b
91 public function rgb2hsl($r, $g, $b)
95 $min = min($r, $g, $b);
96 $max = max($r, $g, $b);
114 $bDiff = ((($max - $b) / 6) + ($diff / 2)) / $diff;
120 } elseif ($b == $max) {
138 * Output is RGB in normal 255 255 255 format, held in $r, $g, $b
151 $b = $l * 255;
161 $b = round(255 * $this->hue2rgb($tmp2, $tmp, $h - (1 / 3)));
164 return [$r, $g, $b];