@@ -498,6 +498,44 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
498498 </pre>
499499 </div>
500500
501+ <!-- Big Text: <color>
502+
503+ █▌ ███▌ ███▌ █▌ ███▌ ████▌ █▌
504+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
505+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
506+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ████▌ █▌
507+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌
508+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌
509+ █▌ ███▌ ███▌ █████ ███▌ █▌ █▌ █▌
510+ -->
511+
512+ <h2 id="color-syntax">The <<color>> syntax</h2>
513+
514+ This module extends the <<color-function>> type:
515+
516+ <pre class='prod'>
517+ <dfn><color-function></dfn> = <<rgb()>> | <<rgba()>> |
518+ <<hsl()>> | <<hsla()>> | <<hwb()>> |
519+ <<lab()>> | <<lch()>> | <<oklab()>> | <<oklch()>> |
520+ <<ictcp()>> | <<jzazbz()>> | <<jzczhz()>> |
521+ <<color()>>
522+ <dfn>ictcp()</dfn> = ictcp([from <<color>> ]?
523+ [<<percentage>> | <<number>> | none]
524+ [<<percentage>> | <<number>> | none]
525+ [<<percentage>> | <<number>> | none]
526+ [ / [<<alpha-value>> | none] ]? )
527+ <dfn>jzazbz()</dfn> = jzazbz([from <<color>> ]?
528+ [<<percentage>> | <<number>> | none]
529+ [<<percentage>> | <<number>> | none]
530+ [<<percentage>> | <<number>> | none]
531+ [ / [<<alpha-value>> | none] ]? )
532+ <dfn>jzczhz()</dfn> = jzczhz([from <<color>> ]?
533+ [<<percentage>> | <<number>> | none]
534+ [<<percentage>> | <<number>> | none]
535+ [<<hue>> | none]
536+ [ / [<<alpha-value>> | none] ]? )
537+ </pre>
538+
501539<!-- Big Text: hdr-color()
502540
503541█▌ █▌ ████▌ ████▌ ███▌ ███▌ █▌ ███▌ ████▌ ██ ██
@@ -799,7 +837,7 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
799837 https://github.com/color-js/color.js/issues/613#issuecomment-2666872133
800838 -->
801839
802- <dfn export>JzCzhz</dfn> {#JzCzHz }
840+ <dfn export>JzCzhz</dfn> {#JzCzhz }
803841-----------------
804842
805843 Similar to LCH, which is the polar representation of Lab,
@@ -873,13 +911,13 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
873911
874912<!-- Big Text: color()
875913
876- ███▌ ███▌ █▌ ███▌ ████▌ ██ ██
877- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
878- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
879- █▌ █▌ █▌ █▌ █▌ █▌ ████▌ █▌ ▐█
880- █▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌ ▐█
881- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ ▐█
882- ███▌ ███▌ █████ ███▌ █▌ █▌ ██ ██
914+ ███▌ ███▌ █▌ ███▌ ████▌ ██ ██
915+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
916+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
917+ █▌ █▌ █▌ █▌ █▌ █▌ ████▌ █▌ ▐█
918+ █▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌ ▐█
919+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ ▐█
920+ ███▌ ███▌ █████ ███▌ █▌ █▌ ██ ██
883921-->
884922
885923<h2 id="color-function">
0 commit comments