Myndex / SAPC-APCA

APCA (Accessible Perceptual Contrast Algorithm) is a new method for predicting contrast for use in emerging web standards (WCAG 3) for determining readability contrast. APCA is derived form the SAPC (S-LUV Advanced Predictive Color) which is an accessibility-oriented color appearance model designed for self-illuminated displays.
https://git.apcacontrast.com/documentation/APCAeasyIntro
Other
443 stars 14 forks source link

Can't set "00" for green or blue values #5

Closed mfishma closed 4 years ago

mfishma commented 4 years ago

If I enter 980000 in either field, the resulting color is wrong. Generating a unique URL shows me that it's actually showing 989898 color.

It seems that the R value is duplicated when G and B are 0

Myndex commented 4 years ago

If I enter 980000 in either field, the resulting color is wrong. Generating a unique URL shows me that it's actually showing 989898 color.

It seems that the R value is duplicated when G and B are 0

Hi Mitch @mfishma

AH NUTS!

I thought I was being clever so entering "F3" only would give "F3F3F3" but it should not have applied to F30000.

OOOps my bad.

😳

FIXED

Thank you VERY much for bringing this to my attention !!!!

Andy