We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f87ed commit 6a26fbfCopy full SHA for 6a26fbf
css-color-4/Overview.bs
@@ -3747,7 +3747,7 @@ The Predefined sRGB Color Space: the ''sRGB'' keyword</h3>
3747
let sign = c < 0? -1 : 1;
3748
let abs = Math.abs(c);
3749
3750
- if (abs < 0.04045) {
+ if (abs <= 0.04045) {
3751
cl = c / 12.92;
3752
}
3753
else {
css-color-4/conversions.js
@@ -20,7 +20,7 @@ function lin_sRGB(RGB) {
20
let sign = val < 0? -1 : 1;
21
let abs = Math.abs(val);
22
23
24
return val / 12.92;
25
26
0 commit comments