Searched refs:lum2 (Results 1 – 1 of 1) sorted by relevance
1263 float lum2 = color2.luminance(); in checkContrastRatio() local1265 if (lum1 >= lum2) { in checkContrastRatio()1266 cr = (lum1 + 0.05) / (lum2 + 0.05); in checkContrastRatio()1268 cr = (lum2 + 0.05) / (lum1 + 0.05); in checkContrastRatio()