@@ -498,6 +498,44 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
498
498
</pre>
499
499
</div>
500
500
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
+
501
539
<!-- Big Text: hdr-color()
502
540
503
541
█▌ █▌ ████▌ ████▌ ███▌ ███▌ █▌ ███▌ ████▌ ██ ██
@@ -799,7 +837,7 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
799
837
https://github.com/color-js/color.js/issues/613#issuecomment-2666872133
800
838
-->
801
839
802
- <dfn export>JzCzhz</dfn> {#JzCzHz }
840
+ <dfn export>JzCzhz</dfn> {#JzCzhz }
803
841
-----------------
804
842
805
843
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
873
911
874
912
<!-- Big Text: color()
875
913
876
- ███▌ ███▌ █▌ ███▌ ████▌ ██ ██
877
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
878
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
879
- █▌ █▌ █▌ █▌ █▌ █▌ ████▌ █▌ ▐█
880
- █▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌ ▐█
881
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ ▐█
882
- ███▌ ███▌ █████ ███▌ █▌ █▌ ██ ██
914
+ ███▌ ███▌ █▌ ███▌ ████▌ ██ ██
915
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
916
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
917
+ █▌ █▌ █▌ █▌ █▌ █▌ ████▌ █▌ ▐█
918
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌ ▐█
919
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ ▐█
920
+ ███▌ ███▌ █████ ███▌ █▌ █▌ ██ ██
883
921
-->
884
922
885
923
<h2 id="color-function">
0 commit comments