Home
last modified time | relevance | path

Searched refs:lightness (Results 1 – 1 of 1) sorted by relevance

/webtrees/app/
H A DColorGenerator.php33 private int $lightness; variable in Fisharebest\\Webtrees\\ColorGenerator
46 * @param int $lightness
50 public function __construct(int $hue, int $saturation, int $lightness, float $alpha, int $range) argument
55 $this->lightness = $lightness;
56 $this->baselightness = $lightness;
75 $lightness = $this->lightness + $lightnessStep;
78 if ($lightness >= 100) {
79 $lightness = $this->baselightness;
90 $this->lightness = $lightness;
92 …intf('hsla(%d, %d%%, %d%%, %0.2f)', $this->hue, $this->saturation, $this->lightness, $this->alpha);