-
I spent time studying all the documentation and various discussions. I have below some questions on different topics. I apologize if I should have separated them into multiple threads, I preferred to avoid spam. My doubts and questions refer to the version APCA-W3.
1.1 The default background value is 1.2 About comment on alpha:
We assume that the alpha component is also expected. What happens when click to swap like your demo inverting foreground with background? Now the background value has the alpha component and obviously you don't know the real background. 1.3 About comment on gamma:
Should a gamma value be used based on the profile used?
2.1 sRGB and sRGB-linear.
This divides the values by 255 2.2 About ProPhoto you wrote:
I'm totally agree! 2.3 Function for Rec.2020 e XYZ today are missing or like ProPhoto do you think they are not to be taken into consideration?
You wrote (on Times New Roman - serif):
As The temperature is the same What sources are used for
🚫 is clear. Thanks in advance for your time! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi Giovanni @gmcusaro
One thread is good, everything is related.
If both colors are not present it probably should be a failure, possibly the best default would be
Well the online tool currently doesn't support alpha at all. It's an open question as to how a tool maker might want to handle this, my position is always so long as the inputs and the results are clear, in other words so that the user knows that the tool is using Alpha in the calculation.
No, what is meant is, as in the CSS version of alpha blend, there is no linearization of the colors before the blending occurs. And importantly don't take the listed gamma values in the sRGBtoY as canonical as they are only for the purpose of the overall math of emulating real world monitor conditions as viewed by a human, and should not be utilized for any other form of signal processing.
No, sRGBtoY assumes the standard sRGB TRC ("gamma") encoded values ONLY. sRGB-linear is just rec709/sRGB primaries with a 1.0 gamma, it is not a normal monitor setting. More on real world monitors in a moment.
In the future, the values are 0.0-255.0 per CSS level 4 (last I checked) this is being doen for backwards compatibility as I understand it. Things like range checking are a part of colorParsley(), which uses extensive regex for not just range but type checking.
👍 I think of the web as a delivery pipeline, and therefore the intrinsically supported spaces should be delivery spaces, meaning spaces that can be realized in actual reality.
So here, Rec2020 defines a realizable monitor, and is definitely in the pipeline, as is rec2100 and other HDR types, though these pose new issues. XYZ is not a realizable colorspace, BUT it is the "hub" of color spaces if you will, but by itself lacks the information needed to predict human perceptual contrast. There's lot I could write about the nuances of matrix-in & matrix-out of XYZ, and the effect of intended system gamma gain on actual system performance. The upshot is, we should be calculating contrast only for the specific space that is being used by the viewer.
I'm sorry I don't understand your question? Also, just FYI, I'm moving toward making the "base" x-height 0.5.
Wikipedia's all over the place... the values I used are the canonical from CIE 15:2004 3rd Edition ISBN 3 901 906 33 9 At various times you may be seeing some variation of the ASTM values, or earlier CIE values, or ... something. I may very well revert to CSS level 4 values, and make up the differences elsewhere....
I don't think so, APCA is all about readability contrast, reading occurs in the central foveal area and so that's where contrast calculations are focused right now. I do have other technologies that are developed not released that address things like Central field loss and blue light interference for those that have to read in the periphery. Those will not be a part of any W3 release of APCA, as the editors of WCAG 3 told me that they don't want any "new" science incorporated into any standards.
See above. Also, for calculations, I will eventually be folding them into my SeeLab project, but you can find the needed math at Bruce Lindbloom's: http://brucelindbloom.com
An early version is described in detail here, but currently status in terms of the total WCAG 3 is unknown. ALSO this page has not been updated to the new math.
Hmmm... the "meaning" is that your browser is not downloading the required fonts correctly. Can you send be your concole log for the page please? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the answers I took some time to read everything carefully and do some calculations.
I refer in detail to the
Sorry my English is bad... I know! 😅 Is the difference between serif and sans-serif an element to keep in consideration for the contrast calc? Like different font weights, can make sense the difference between these two font categories?
Yeah! Wikipedia is not always reliable. I hope I have used the right document, but I have not been able to find all the illuminants and often values with a few decimals.
About math at Bruce Lindbloom's, is this the formula Is this your source of Here you can find a table (see even my screenshot). Working spaces highlighted in yellow needed adaptation. For completeness I computed the normalized primary matrix and its inverse directly at full machine precision from Regardless of the values, even the calculation of the inverse matrix alone often doesn't seem completely correct.
I used Safari 15.2 on macOS Montery 12.1 (21C52). On Google Chrome 98.0.4758.80 it looks ok. Thanks again for your time! 🙏 |
Beta Was this translation helpful? Give feedback.
-
Hi @Myndex ,
I was referring to the formula for calculating
You are right! The values must stay with the white point D65.
Ok, for About If I use a color like To calculate the
It is confirmed only with Safari! |
Beta Was this translation helpful? Give feedback.
Hi Giovanni @gmcusaro
One thread is good, everything is related.
alphaBlend
is just the standard CSS alpha function.