Searched refs:lightness (Results 1 – 3 of 3) sorted by relevance
/template/strap/ComboStrap/ |
D | ColorHsl.php | 24 private $lightness; variable in ComboStrap\\ColorHsl 30 * @param float|int $lightness 32 public function __construct($hue, $saturation, $lightness) argument 36 $this->lightness = $lightness; 40 …public static function createFromChannels(float $hue, float $saturation, float $lightness): ColorH… argument 42 return new ColorHsl($hue, $saturation, $lightness); 47 return $this->lightness; 68 $this->lightness = $int; 83 $lightness = $this->lightness / 100; 87 $chroma = (1 - abs(2 * $lightness - 1)) * $saturation; [all …]
|
D | ColorRgb.php | 377 $lightness = ($max + $min) / 2; 383 $saturation = $d / (1 - abs(2 * $lightness - 1)); 409 return ColorHsl::createFromChannels($hue, $saturation * 100, $lightness * 100);
|
/template/templar/less/ |
D | mixins.less | 399 background-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha); 402 border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
|