Skip to content

Commit e659622

Browse files
committed
[css-color-hdr] Added component keywords for relative ictcp, jzazbz, and jzczhz #11713
1 parent efcac1a commit e659622

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

css-color-hdr-1/Overview.bs

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,20 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
782782
</pre>
783783
</div>
784784

785+
Within a [=relative color=] syntax ''ictcp()'' function,
786+
the allowed [=component keywords=] are:
787+
788+
* <dfn value for="ictcp()">i</dfn> is a <<number>>
789+
that corresponds to the [=origin color's=] ictcp Lightness
790+
after <a href="#required-conversion">conversion, if required</a>, to ictcp.
791+
1.0 is equivalent to 100%.
792+
* <dfn value for="ictcp()">ct</dfn> and <dfn value for="ictcp()">cp</dfn> are <<number>>s
793+
that correspond to the [=origin color's=] ictcp ct and cp axes
794+
after <a href="#required-conversion">conversion, if required</a>, to ictcp.
795+
0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.
796+
* <dfn value for="ictcp()">alpha</dfn> is a <<number>> that corresponds to the
797+
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
798+
785799
<dfn export>Jzazbz</dfn> {#Jzazbz}
786800
-----------------
787801

@@ -836,6 +850,20 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
836850
No, it is due to incomplete adaptation. See
837851
https://github.com/color-js/color.js/issues/613#issuecomment-2666872133
838852
-->
853+
854+
Within a [=relative color=] syntax ''jzazbz()'' function,
855+
the allowed [=component keywords=] are:
856+
857+
* <dfn value for="jzazbz()">j</dfn> is a <<number>>
858+
that corresponds to the [=origin color's=] jzazbz Jz Lightness
859+
after <a href="#required-conversion">conversion, if required</a>, to jzazbz.
860+
1.0 is equivalent to 100%.
861+
* <dfn value for="jzazbz()">a</dfn> and <dfn value for="jzazbz()">b</dfn> are <<number>>s
862+
that correspond to the [=origin color's=] jzazbz az and bz axes
863+
after <a href="#required-conversion">conversion, if required</a>, to jzazbz.
864+
0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.
865+
* <dfn value for="jzazbz()">alpha</dfn> is a <<number>> that corresponds to the
866+
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
839867

840868
<dfn export>JzCzhz</dfn> {#JzCzhz}
841869
-----------------
@@ -879,6 +907,24 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
879907
<span class="swatch" style="--color: lime"></span> jzczhz(0.17542 0.1614 132.50)
880908
</pre>
881909
</div>
910+
911+
Within a [=relative color=] syntax ''jzczhz()'' function,
912+
the allowed [=component keywords=] are:
913+
914+
* <dfn value for="jzczhz()">j</dfn> is a <<number>>
915+
that corresponds to the [=origin color's=] Jz (Lightness)
916+
after <a href="#required-conversion">conversion, if required</a>, to CIE jzczhz.
917+
100 is equivalent to 100%.
918+
* <dfn value for="jzczhz()">c</dfn> is a <<number>>
919+
that corresponds to the [=origin color's=] Cz (chroma)
920+
after <a href="#required-conversion">conversion, if required</a>, to CIE jzczhz.
921+
0.26 is equivalent to 100%.
922+
* <dfn value for="jzczhz()">h</dfn> is a <<number>>
923+
that corresponds to the [=origin color's=] hz (hue), in degrees,
924+
after <a href="#required-conversion">conversion, if required</a>, to CIE jzczhz,
925+
normalized to a [0, 360] range. 90 is equivalent to 90deg.
926+
* <dfn value for="jzczhz()">alpha</dfn> is a <<number>> that corresponds to the
927+
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
882928

883929
<h4 id='Jzazbz-to-JzCzHz'>
884930
Converting ''Jzazbz'' colors to ''JzCzhz'' colors</h4>

0 commit comments

Comments
 (0)