Searched refs:wcag20Contrast (Results 1 – 1 of 1) sorted by relevance
376 qreal wcag20Contrast(const QColor &c1, const QColor &c2) in wcag20Contrast() function397 const auto contrast1 = wcag20Contrast(fg, blend1), contrast2 = wcag20Contrast(fg, blend2); in calculateBackgroundColor()398 …const auto contrastBG1 = wcag20Contrast(blend1, initialBG), contrastBG2 = wcag20Contrast(blend2, i… in calculateBackgroundColor()