Searched refs:fgB (Results 1 – 2 of 2) sorted by relevance
46 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors() local49 fgB = (fgB < 0.03928f) ? fgB / 12.92f : (float) Math.pow((fgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()50 float fgL = 0.2126f * fgR + 0.7152f * fgG + 0.0722f * fgB; in computeContrastBetweenColors()
323 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors() local326 fgB = (fgB < 0.03928f) ? fgB / 12.92f : (float) Math.pow((fgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()327 float fgL = 0.2126f * fgR + 0.7152f * fgG + 0.0722f * fgB; in computeContrastBetweenColors()