ThePacielloGroup / CCAe

The Colour Contrast Analyser (CCA) helps you determine the legibility of text and the contrast of visual elements, such as graphical controls and visual indicators.
http://www.paciellogroup.com/resources/contrastanalyser/
GNU General Public License v3.0
475 stars 106 forks source link

CCA 3.2.0 - Specific colour value not giving correct ratio #269

Closed Aircl0wn closed 1 year ago

Aircl0wn commented 1 year ago

Describe the bug Contrast value not updating for specific colour, others working correcly

Desktop (please complete the following information):

To Reproduce I Have screen recording premissions set correctly Pick two colours using the picker, get proper ratio results. Pick white (#FFFFFF) as a background Pick / set #009FDF as second colour. Values doesn't update.

Repeat with 3.1.4 : works as expected

Expected behaviour Repeat with 3.1.4 : works as expected as CCA gives the correct contrast ratio

Screenshots Screenshot with incorrect ratio value, can used as picker sample

image
ferllings commented 1 year ago

Confimed.

I need to fully investigate, but strangely this particular color doesn't seems to update the contrast ratio.