You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To compensate for this, formulae to predict the visual difference between two colors (delta E) have been made more accurate over time (but also, much more complex to compute). The current industry standard formula, delta E 2000, works well to mitigate some of the Lab and LCH problems. A sample implementation is given in § 18.1 ΔE2000.
6703
+
To compensate for this, formulae to predict the visual difference between two colors (delta E) have been made more accurate over time (but also, much more complex to compute). The current industry standard formula, delta E 2000, works well to mitigate some of the Lab and LCH problems. A sample implementation is given in § 19.1 ΔE2000.
6703
6704
</p>
6704
6705
6705
6706
<p>
@@ -6844,7 +6845,7 @@ <h3 title="Oklab and OKLCh">9.2. ~Oklabと~OKLCh</h3>
6844
6845
`§ ~DeltaE~OK@#color-difference-OK$
6845
6846
にて与えられる。
6846
6847
◎
6847
-
Because Oklab is more perceptually uniform than CIE Lab, the color difference is a straightforward distance in 3D space (root sum of squares). Although trivial, a sample implementation is give in § 18.2 ΔEOK.
6848
+
Because Oklab is more perceptually uniform than CIE Lab, the color difference is a straightforward distance in 3D space (root sum of squares). Although trivial, a sample implementation is give in § 19.2 ΔEOK.
6848
6849
</p>
6849
6850
6850
6851
</section>
@@ -8643,7 +8644,7 @@ <h3 title="Converting Predefined Color Spaces to Lab or Oklab">10.9. 定義済
8643
8644
<p>
8644
8645
`§ 色~変換~codeの見本$に,この変換~用の見本~JS~codeがある。
8645
8646
◎
8646
-
There is sample JavaScript code for these conversions in § 17 Sample code for Color Conversions.
8647
+
There is sample JavaScript code for these conversions in § 18 Sample code for Color Conversions.
8647
8648
</p>
8648
8649
8649
8650
</section>
@@ -8723,7 +8724,7 @@ <h3 title="Converting Lab or Oklab to Predefined RGB Color Spaces">10.10. ~Lab
8723
8724
<p>
8724
8725
`§ 色~変換~codeの見本$に,この変換~用の見本~JS~codeがある。
8725
8726
◎
8726
-
There is sample JavaScript code for these conversions in § 17 Sample code for Color Conversions.
8727
+
There is sample JavaScript code for these conversions in § 18 Sample code for Color Conversions.
8727
8728
</p>
8728
8729
8729
8730
<p>
@@ -8782,7 +8783,7 @@ <h3 title="Converting Between Predefined RGB Color Spaces">10.11. 定義済み~R
There is sample JavaScript code for this conversion for the predefined RGB color spaces, in § 17 Sample code for Color Conversions.
8786
+
There is sample JavaScript code for this conversion for the predefined RGB color spaces, in § 18 Sample code for Color Conversions.
8786
8787
</p>
8787
8788
8788
8789
</section>
@@ -9767,7 +9768,7 @@ <h3 title="Interpolating with Alpha">12.3. ~alphaを伴う色の補間-法</h3>
9767
9768
]用の見本~JS~codeがある
9768
9769
— `円柱な極-座標$用にも, `矩形な直交-座標$用にも。
9769
9770
◎
9770
-
There is sample JavaScript code for alpha premultiplication and un-premultiplication, for both polar and rectangular color spaces, in § 17 Sample code for Color Conversions.
9771
+
There is sample JavaScript code for alpha premultiplication and un-premultiplication, for both polar and rectangular color spaces, in § 18 Sample code for Color Conversions.
The specified given opacity value is serialized as a <number>, not a <percentage>.
12792
+
◎
12793
+
This <number> value is expressed in base ten, with the "." character as decimal separator. The leading zero must not be omitted. Trailing zeroes must be omitted.
12794
+
</p>
12795
+
12796
+
<p>
12797
+
範囲 [0,1] の外側にある不透明度~値は、
12798
+
直列化された指定d値においても,切詰めることなく保全される。
12799
+
◎
12800
+
Opacity values outside the range [0,1] are preserved, without clamping, in the serialized specified value.
12801
+
</p>
12802
+
12803
+
<p>
12804
+
不透明度~値と伴に維持される精度
12805
+
— したがって、
12806
+
直列化した結果における小数部の桁数 —
12807
+
は,この仕様では定義されないが、
12808
+
少なくとも[
12809
+
整数をとる百分率~値が往復する
12810
+
]に足るようにするモノトスル。
12811
+
したがって,結果における小数部は、
12812
+
尾部を成す 0 たちが省略された場合を除き,
12813
+
2 桁以上になる。
12814
+
値は、
12815
+
切捨てるのではなく,`丸める$モノトスル。
12816
+
◎
12817
+
The precision with which opacity values are retained, and thus the number of decimal places in the serialized value, is not defined in this specification, but must at least be sufficient to round-trip integer percentage values. Thus, the serialized value must contain at least two decimal places (unless trailing zeroes have been removed). Values must be rounded towards +∞, not truncated.
0 commit comments