Lines Matching refs:hue
27 private int $hue; variable in Fisharebest\\Webtrees\\ColorGenerator
44 * @param int $hue 0Deg = Red, 120Deg = green, 240Deg = blue)
50 public function __construct(int $hue, int $saturation, int $lightness, float $alpha, int $range) argument
52 $this->hue = $hue;
53 $this->basehue = $hue;
76 $hue = $this->hue;
81 $hue += $hueStep;
83 $hue -= $hueStep;
85 if (($hue - $this->basehue) * ($hue - ($this->basehue + $this->range)) >= 0) {
86 $hue = $this->basehue;
88 $this->hue = $hue;
92 …return sprintf('hsla(%d, %d%%, %d%%, %0.2f)', $this->hue, $this->saturation, $this->lightness, $th…