Searched refs:lum2 (Results 1 – 1 of 1) sorted by relevance
1256 float lum2 = color2.luminance(); in checkContrastRatio() local1258 if (lum1 >= lum2) { in checkContrastRatio()1259 cr = (lum1 + 0.05) / (lum2 + 0.05); in checkContrastRatio()1261 cr = (lum2 + 0.05) / (lum1 + 0.05); in checkContrastRatio()