Searched refs:toLuma (Results 1 – 3 of 3) sorted by relevance
283 if (Color::toLuma($darkColor) > Color::toLuma($lightColor)) {290 if ((Color::toLuma($inputColor) * $inputColor_alpha) < $threshold) {
128 return ['number', round(Color::toLuma($color) * 100, 8), '%'];
53 public static function toLuma(array $color): float function in LesserPHP\\Utils\\Color