Closed TaigaYamada closed 2 years ago
Hello @TaigaYamada
Yes, to both colors. It is unlikely that you'll have both so low, and the result would likely be zero in that case. But it was changed to all input colors in anticipation of additional features for some versions.
You'll see in the actual code that both are processed.
Thank you!
Andy
I am attempting to write a custom implementation of APCA contrast calculation.
I was reading the plain English steps in the README.md, and came across the following description for the step of soft-clamping the color.
"colors"(plural) implies that this operation should be done on both colors being compared
Here, the direction sounds like the clamping is only supposed to be done for darker of the 2 colors.
Should the soft-clamping be performed on both colors, or just the darker of the 2?
Thank you in advance.