diff --git a/packages/css-color-parser/CHANGELOG.md b/packages/css-color-parser/CHANGELOG.md index c69d57184e..88f25af4b7 100644 --- a/packages/css-color-parser/CHANGELOG.md +++ b/packages/css-color-parser/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to CSS Color Parser +### Unreleased (patch) + +- Fix handling of `none` in some edge cases + ### 4.1.9 _June 25, 2026_ diff --git a/packages/css-color-parser/dist/index.mjs b/packages/css-color-parser/dist/index.mjs index 9172d682c3..ce99edb51e 100644 --- a/packages/css-color-parser/dist/index.mjs +++ b/packages/css-color-parser/dist/index.mjs @@ -1 +1 @@ -import{TokenType as e,NumberType as a,isTokenIdent as n,isTokenPercentage as r,isTokenNumber as o,isTokenDelim as t,isTokenNumeric as l,isTokenComma as s,isTokenDimension as c,isTokenHash as u}from"@csstools/css-tokenizer";import{XYZ_D65_to_XYZ_D65 as i,XYZ_D50_to_XYZ_D50 as h,XYZ_D65_to_OKLab as m,XYZ_D65_to_OKLCH as N,XYZ_D50_to_LCH as p,XYZ_D50_to_Lab as b,XYZ_D65_to_HWB as v,XYZ_D65_to_HSL as f,XYZ_D65_to_a98_RGB as g,XYZ_D50_to_ProPhoto as d,XYZ_D65_to_rec_2020 as y,XYZ_D65_to_lin_P3 as _,XYZ_D65_to_P3 as C,XYZ_D65_to_lin_sRGB as w,XYZ_D65_to_sRGB as x,XYZ_D50_to_XYZ_D65 as D,OKLCH_to_XYZ_D65 as L,LCH_to_XYZ_D65 as Z,OKLab_to_XYZ_D65 as H,Lab_to_XYZ_D65 as P,HWB_to_XYZ_D65 as k,HSL_to_XYZ_D65 as S,ProPhoto_RGB_to_XYZ_D65 as M,a98_RGB_to_XYZ_D65 as F,rec_2020_to_XYZ_D65 as z,lin_P3_to_XYZ_D65 as R,P3_to_XYZ_D65 as T,lin_sRGB_to_XYZ_D65 as X,sRGB_to_XYZ_D65 as B,XYZ_D65_to_XYZ_D50 as Y,OKLCH_to_XYZ_D50 as G,LCH_to_XYZ_D50 as V,OKLab_to_XYZ_D50 as A,Lab_to_XYZ_D50 as K,HWB_to_XYZ_D50 as I,HSL_to_XYZ_D50 as O,ProPhoto_RGB_to_XYZ_D50 as W,a98_RGB_to_XYZ_D50 as E,rec_2020_to_XYZ_D50 as U,lin_P3_to_XYZ_D50 as $,P3_to_XYZ_D50 as j,lin_sRGB_to_XYZ_D50 as q,sRGB_to_XYZ_D50 as J,namedColors as Q,inGamut as ee,clip as ae,gam_sRGB as ne,mapGamutRayTrace as re,OKLCH_to_OKLab as oe,OKLab_to_XYZ as te,XYZ_to_lin_sRGB as le,lin_sRGB_to_XYZ as se,XYZ_to_OKLab as ce,OKLab_to_OKLCH as ue,contrast_ratio_wcag_2_1 as ie,gam_P3 as he,XYZ_to_lin_P3 as me,lin_P3_to_XYZ as Ne}from"@csstools/color-helpers";import{isWhitespaceNode as pe,isCommentNode as be,isTokenNode as ve,isFunctionNode as fe,TokenNode as ge,isWhiteSpaceOrCommentNode as de,replaceComponentValues as ye,FunctionNode as _e,WhitespaceNode as Ce}from"@csstools/css-parser-algorithms";import{mathFunctionNames as we,calcFromComponentValues as xe}from"@csstools/css-calc";var De,Le;function convertNaNToZero(e){return[Number.isNaN(e[0])?0:e[0],Number.isNaN(e[1])?0:e[1],Number.isNaN(e[2])?0:e[2]]}function colorData_to_XYZ_D50(e){switch(e.colorNotation){case De.HEX:case De.RGB:case De.sRGB:return{...e,colorNotation:De.XYZ_D50,channels:J(convertNaNToZero(e.channels))};case De.Linear_sRGB:return{...e,colorNotation:De.XYZ_D50,channels:q(convertNaNToZero(e.channels))};case De.Display_P3:return{...e,colorNotation:De.XYZ_D50,channels:j(convertNaNToZero(e.channels))};case De.Linear_Display_P3:return{...e,colorNotation:De.XYZ_D50,channels:$(convertNaNToZero(e.channels))};case De.Rec2020:return{...e,colorNotation:De.XYZ_D50,channels:U(convertNaNToZero(e.channels))};case De.A98_RGB:return{...e,colorNotation:De.XYZ_D50,channels:E(convertNaNToZero(e.channels))};case De.ProPhoto_RGB:return{...e,colorNotation:De.XYZ_D50,channels:W(convertNaNToZero(e.channels))};case De.HSL:return{...e,colorNotation:De.XYZ_D50,channels:O(convertNaNToZero(e.channels))};case De.HWB:return{...e,colorNotation:De.XYZ_D50,channels:I(convertNaNToZero(e.channels))};case De.Lab:return{...e,colorNotation:De.XYZ_D50,channels:K(convertNaNToZero(e.channels))};case De.OKLab:return{...e,colorNotation:De.XYZ_D50,channels:A(convertNaNToZero(e.channels))};case De.LCH:return{...e,colorNotation:De.XYZ_D50,channels:V(convertNaNToZero(e.channels))};case De.OKLCH:return{...e,colorNotation:De.XYZ_D50,channels:G(convertNaNToZero(e.channels))};case De.XYZ_D50:return{...e,colorNotation:De.XYZ_D50,channels:h(convertNaNToZero(e.channels))};case De.XYZ_D65:return{...e,colorNotation:De.XYZ_D50,channels:Y(convertNaNToZero(e.channels))};default:throw new Error("Unsupported color notation")}}function colorData_to_XYZ_D65(e){switch(e.colorNotation){case De.HEX:case De.RGB:case De.sRGB:return{...e,colorNotation:De.XYZ_D65,channels:B(convertNaNToZero(e.channels))};case De.Linear_sRGB:return{...e,colorNotation:De.XYZ_D65,channels:X(convertNaNToZero(e.channels))};case De.Display_P3:return{...e,colorNotation:De.XYZ_D65,channels:T(convertNaNToZero(e.channels))};case De.Linear_Display_P3:return{...e,colorNotation:De.XYZ_D65,channels:R(convertNaNToZero(e.channels))};case De.Rec2020:return{...e,colorNotation:De.XYZ_D65,channels:z(convertNaNToZero(e.channels))};case De.A98_RGB:return{...e,colorNotation:De.XYZ_D65,channels:F(convertNaNToZero(e.channels))};case De.ProPhoto_RGB:return{...e,colorNotation:De.XYZ_D65,channels:M(convertNaNToZero(e.channels))};case De.HSL:return{...e,colorNotation:De.XYZ_D65,channels:S(convertNaNToZero(e.channels))};case De.HWB:return{...e,colorNotation:De.XYZ_D65,channels:k(convertNaNToZero(e.channels))};case De.Lab:return{...e,colorNotation:De.XYZ_D65,channels:P(convertNaNToZero(e.channels))};case De.OKLab:return{...e,colorNotation:De.XYZ_D65,channels:H(convertNaNToZero(e.channels))};case De.LCH:return{...e,colorNotation:De.XYZ_D65,channels:Z(convertNaNToZero(e.channels))};case De.OKLCH:return{...e,colorNotation:De.XYZ_D65,channels:L(convertNaNToZero(e.channels))};case De.XYZ_D50:return{...e,colorNotation:De.XYZ_D65,channels:D(convertNaNToZero(e.channels))};case De.XYZ_D65:return{...e,colorNotation:De.XYZ_D65,channels:i(convertNaNToZero(e.channels))};default:throw new Error("Unsupported color notation")}}!function(e){e.A98_RGB="a98-rgb",e.Display_P3="display-p3",e.Linear_Display_P3="display-p3-linear",e.HEX="hex",e.HSL="hsl",e.HWB="hwb",e.LCH="lch",e.Lab="lab",e.Linear_sRGB="srgb-linear",e.OKLCH="oklch",e.OKLab="oklab",e.ProPhoto_RGB="prophoto-rgb",e.RGB="rgb",e.sRGB="srgb",e.Rec2020="rec2020",e.XYZ_D50="xyz-d50",e.XYZ_D65="xyz-d65"}(De||(De={})),function(e){e.ColorKeyword="color-keyword",e.HasAlpha="has-alpha",e.HasDimensionValues="has-dimension-values",e.HasNoneKeywords="has-none-keywords",e.HasNumberValues="has-number-values",e.HasPercentageAlpha="has-percentage-alpha",e.HasPercentageValues="has-percentage-values",e.HasVariableAlpha="has-variable-alpha",e.Hex="hex",e.LegacyHSL="legacy-hsl",e.LegacyRGB="legacy-rgb",e.NamedColor="named-color",e.RelativeColorSyntax="relative-color-syntax",e.ColorMix="color-mix",e.ColorMixVariadic="color-mix-variadic",e.ContrastColor="contrast-color",e.RelativeAlphaSyntax="relative-alpha-syntax",e.Experimental="experimental"}(Le||(Le={}));const Ze=new Set([De.A98_RGB,De.Display_P3,De.Linear_Display_P3,De.HEX,De.Linear_sRGB,De.ProPhoto_RGB,De.RGB,De.sRGB,De.Rec2020,De.XYZ_D50,De.XYZ_D65]);function colorDataTo(e,a){(e={...e}).channels=convertPowerlessComponentsToMissingComponents(e.channels,e.colorNotation);const n={...e};if(e.colorNotation!==a)switch(a){case De.HEX:case De.RGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.RGB,n.channels=x(e.channels),n.channels=n.channels.map(e=>reducePrecisionOrNaN(e,8));break}case De.sRGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.sRGB,n.channels=x(e.channels);break}case De.Linear_sRGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Linear_sRGB,n.channels=w(e.channels);break}case De.Display_P3:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Display_P3,n.channels=C(e.channels);break}case De.Linear_Display_P3:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Linear_Display_P3,n.channels=_(e.channels);break}case De.Rec2020:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Rec2020,n.channels=y(e.channels);break}case De.ProPhoto_RGB:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.ProPhoto_RGB,n.channels=d(e.channels);break}case De.A98_RGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.A98_RGB,n.channels=g(e.channels);break}case De.HSL:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.HSL,n.channels=f(e.channels),n.channels=n.channels.map(e=>reducePrecisionOrNaN(e,8));break}case De.HWB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.HWB,n.channels=v(e.channels),n.channels=n.channels.map(e=>reducePrecisionOrNaN(e,8));break}case De.Lab:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.Lab,n.channels=b(e.channels);break}case De.LCH:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.LCH,n.channels=p(e.channels);break}case De.OKLCH:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.OKLCH,n.channels=N(e.channels);break}case De.OKLab:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.OKLab,n.channels=m(e.channels);break}case De.XYZ_D50:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.XYZ_D50,n.channels=h(e.channels);break}case De.XYZ_D65:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.XYZ_D65,n.channels=i(e.channels);break}default:throw new Error("Unsupported color notation")}else n.channels=convertNaNToZero(e.channels);if(a===e.colorNotation)n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);else if(Ze.has(a)&&Ze.has(e.colorNotation))n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);else switch(a){case De.HSL:switch(e.colorNotation){case De.HWB:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;case De.Lab:case De.OKLab:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[2],[0,1]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[2,1,0],[]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;case De.HWB:switch(e.colorNotation){case De.HSL:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[2],[0,1],n.channels,[0],[1,2]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;case De.Lab:case De.OKLab:switch(e.colorNotation){case De.HSL:n.channels=carryForwardMissingComponents(e.channels,[2],[0,1],n.channels,[0],[1,2]);break;case De.Lab:case De.OKLab:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;case De.LCH:case De.OKLCH:switch(e.colorNotation){case De.HSL:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[2,1,0],[]);break;case De.HWB:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[2],[0,1]);break;case De.Lab:case De.OKLab:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}return n.channels=convertPowerlessComponentsToMissingComponents(n.channels,a),n}function convertPowerlessComponentsToMissingComponents(e,a){const n=[...e];switch(a){case De.HSL:!Number.isNaN(n[1])&&n[1]<=.001&&(n[0]=Number.NaN);break;case De.HWB:!Number.isNaN(n[1])&&!Number.isNaN(n[2])&&Math.max(0,n[1])+Math.max(0,n[2])>=99.999&&(n[0]=Number.NaN);break;case De.LCH:!Number.isNaN(n[1])&&n[1]<=.0015&&(n[2]=Number.NaN);break;case De.OKLCH:!Number.isNaN(n[1])&&n[1]<=4e-6&&(n[2]=Number.NaN)}return n}function convertPowerlessComponentsToZeroValuesForDisplay(e,a){const n=[...e];switch(a){case De.HSL:(reducePrecision(n[2])<=0||reducePrecision(n[2])>=100)&&(n[0]=Number.NaN,n[1]=Number.NaN),!Number.isNaN(n[1])&&n[1]<=.001&&(n[0]=Number.NaN);break;case De.HWB:!Number.isNaN(n[1])&&!Number.isNaN(n[2])&&Math.max(0,n[1])+Math.max(0,n[2])>=99.999&&(n[0]=Number.NaN);break;case De.Lab:(reducePrecision(n[0])<=0||reducePrecision(n[0])>=100)&&(n[1]=Number.NaN,n[2]=Number.NaN);break;case De.LCH:!Number.isNaN(n[1])&&n[1]<=.0015&&(n[2]=Number.NaN),(reducePrecision(n[0])<=0||reducePrecision(n[0])>=100)&&(n[1]=Number.NaN,n[2]=Number.NaN);break;case De.OKLab:(reducePrecision(n[0])<=0||reducePrecision(n[0])>=1)&&(n[1]=Number.NaN,n[2]=Number.NaN);break;case De.OKLCH:!Number.isNaN(n[1])&&n[1]<=4e-6&&(n[2]=Number.NaN),(reducePrecision(n[0])<=0||reducePrecision(n[0])>=1)&&(n[1]=Number.NaN,n[2]=Number.NaN)}return n}function carryForwardMissingComponents(e,a,n,r,o,t){if(a.length<3&&e.every(Number.isNaN))return[Number.NaN,Number.NaN,Number.NaN];const l=[...r];for(let n=0;nNumber.isNaN(e[a])))for(let e=0;ee<-1e-5||e>1.00001)}function colorDataFitsDisplayP3_Gamut(e){const a={...e,channels:[...e.channels]};a.channels=convertPowerlessComponentsToZeroValuesForDisplay(a.channels,a.colorNotation);return!colorDataTo(a,De.Display_P3).channels.find(e=>e<-1e-5||e>1.00001)}function normalize(e,a,n,r){return Math.min(Math.max(e/a,n),r)}const He=/[A-Z]/g;function toLowerCaseAZ(e){return e.replace(He,e=>String.fromCharCode(e.charCodeAt(0)+32))}function normalize_Color_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}const Pe=new Set(["srgb","srgb-linear","display-p3","display-p3-linear","a98-rgb","prophoto-rgb","rec2020","xyz","xyz-d50","xyz-d65"]);function color$1(e,a){const r=[],s=[],c=[],u=[];let i,h,m=!1,N=!1;const p={colorNotation:De.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])};let b=r;for(let o=0;o=0){t=u.value[4].value;continue}}return!1}if(!o)return!1;n.push({color:o,percentage:t}),o=!1,t=!1}}return!!o&&(n.push({color:o,percentage:t}),n)}function colorMixRectangular(e,a){if(!a||!a.length)return!1;for(const e of a)if(e.percentage&&(e.percentage<0||e.percentage>100))return!1;const{items:n,leftover:r}=normalizeMixPercentages(a,!0),o=1-r/100;let t;switch(e){case"srgb":t=De.RGB;break;case"srgb-linear":t=De.Linear_sRGB;break;case"display-p3":t=De.Display_P3;break;case"display-p3-linear":t=De.Linear_Display_P3;break;case"a98-rgb":t=De.A98_RGB;break;case"prophoto-rgb":t=De.ProPhoto_RGB;break;case"rec2020":t=De.Rec2020;break;case"lab":t=De.Lab;break;case"oklab":t=De.OKLab;break;case"xyz-d50":t=De.XYZ_D50;break;case"xyz":case"xyz-d65":t=De.XYZ_D65;break;default:return!1}if(1===n.length){const e=colorDataTo(n[0].color,t);return e.colorNotation=t,e.syntaxFlags.add(Le.ColorMixVariadic),e.syntaxFlags.add(Le.ColorMix),"number"!=typeof e.alpha?!1:(e.alpha=e.alpha*o,e)}for(n.reverse();n.length>=2;){const e=n.pop(),a=n.pop();if(!e||!a)return!1;const r=e.percentage+a.percentage,o=r>0?a.percentage/r:.5,l=colorMixRectangularPair(t,e.color,a.color,o);if(!l)return!1;n.push({color:l,percentage:r})}const l=n[0]?.color;return!!l&&("number"==typeof l.alpha&&(l.alpha=l.alpha*o,a.some(e=>e.color.syntaxFlags.has(Le.Experimental))&&l.syntaxFlags.add(Le.Experimental),2!==a.length&&l.syntaxFlags.add(Le.ColorMixVariadic),l))}function colorMixRectangularPair(e,a,n,r){let o=a.alpha;if("number"!=typeof o)return!1;let t=n.alpha;if("number"!=typeof t)return!1;o=Number.isNaN(o)?t:o,t=Number.isNaN(t)?o:t;const l=colorDataTo(a,e).channels,s=colorDataTo(n,e).channels;l[0]=fillInMissingComponent(l[0],s[0]),s[0]=fillInMissingComponent(s[0],l[0]),l[1]=fillInMissingComponent(l[1],s[1]),s[1]=fillInMissingComponent(s[1],l[1]),l[2]=fillInMissingComponent(l[2],s[2]),s[2]=fillInMissingComponent(s[2],l[2]),l[0]=premultiply(l[0],o),l[1]=premultiply(l[1],o),l[2]=premultiply(l[2],o),s[0]=premultiply(s[0],t),s[1]=premultiply(s[1],t),s[2]=premultiply(s[2],t);const c=interpolate(o,t,r);return{colorNotation:e,channels:[un_premultiply(interpolate(l[0],s[0],r),c),un_premultiply(interpolate(l[1],s[1],r),c),un_premultiply(interpolate(l[2],s[2],r),c)],alpha:c,syntaxFlags:new Set([Le.ColorMix])}}function colorMixPolar(e,a,n){if(!n||!n.length)return!1;for(const e of n)if(e.percentage&&(e.percentage<0||e.percentage>100))return!1;const{items:r,leftover:o}=normalizeMixPercentages(n,!0),t=1-o/100;let l;switch(e){case"hsl":l=De.HSL;break;case"hwb":l=De.HWB;break;case"lch":l=De.LCH;break;case"oklch":l=De.OKLCH;break;default:return!1}if(1===r.length){const e=colorDataTo(r[0].color,l);return e.colorNotation=l,e.syntaxFlags.add(Le.ColorMixVariadic),e.syntaxFlags.add(Le.ColorMix),"number"!=typeof e.alpha?!1:(e.alpha=e.alpha*t,e)}for(r.reverse();r.length>=2;){const e=r.pop(),n=r.pop();if(!e||!n)return!1;const o=e.percentage+n.percentage,t=o>0?n.percentage/o:.5,s=colorMixPolarPair(l,a,e.color,n.color,t);if(!s)return!1;r.push({color:s,percentage:o})}const s=r[0]?.color;return!!s&&("number"==typeof s.alpha&&(s.alpha=s.alpha*t,n.some(e=>e.color.syntaxFlags.has(Le.Experimental))&&s.syntaxFlags.add(Le.Experimental),2!==n.length&&s.syntaxFlags.add(Le.ColorMixVariadic),s))}function colorMixPolarPair(e,a,n,r,o){let t=0,l=0,s=0,c=0,u=0,i=0,h=n.alpha;if("number"!=typeof h)return!1;let m=r.alpha;if("number"!=typeof m)return!1;h=Number.isNaN(h)?m:h,m=Number.isNaN(m)?h:m;const N=colorDataTo(n,e).channels,p=colorDataTo(r,e).channels;switch(e){case De.HSL:case De.HWB:t=N[0],l=p[0],s=N[1],c=p[1],u=N[2],i=p[2];break;case De.LCH:case De.OKLCH:s=N[0],c=p[0],u=N[1],i=p[1],t=N[2],l=p[2]}if(s=fillInMissingComponent(s,c),c=fillInMissingComponent(c,s),u=fillInMissingComponent(u,i),i=fillInMissingComponent(i,u),t=fillInMissingComponent(t,l),l=fillInMissingComponent(l,t),Number.isNaN(t)&&Number.isNaN(l));else{Number.isNaN(t)?t=0:Number.isNaN(l)&&(l=0);const e=l-t;switch(a){case"shorter":e>180?t+=360:e<-180&&(l+=360);break;case"longer":-1800?t+=360:l+=360);break;case"increasing":e<0&&(l+=360);break;case"decreasing":e>0&&(t+=360);break;default:throw new Error("Unknown hue interpolation method")}}s=premultiply(s,h),u=premultiply(u,h),c=premultiply(c,m),i=premultiply(i,m);let b=[0,0,0];const v=interpolate(h,m,o);switch(e){case De.HSL:case De.HWB:b=[interpolate(t,l,o),un_premultiply(interpolate(s,c,o),v),un_premultiply(interpolate(u,i,o),v)];break;case De.LCH:case De.OKLCH:b=[un_premultiply(interpolate(s,c,o),v),un_premultiply(interpolate(u,i,o),v),interpolate(t,l,o)]}return{colorNotation:e,channels:b,alpha:v,syntaxFlags:new Set([Le.ColorMix])}}function fillInMissingComponent(e,a){return Number.isNaN(e)?a:e}function interpolate(e,a,n){return e*(1-n)+a*n}function premultiply(e,a){return Number.isNaN(a)?e:Number.isNaN(e)?Number.NaN:e*a}function un_premultiply(e,a){return 0===a||Number.isNaN(a)?e:Number.isNaN(e)?Number.NaN:e/a}function normalizeMixPercentages(e,a=!1){let n=0,r=0;for(const a of e)a.percentage&&(n+=a.percentage),!1===a.percentage&&r++;n=Math.min(100,n);for(const a of e)!1===a.percentage&&(a.percentage=(100-n)/r);const o=e.slice();let t=0;for(const e of o)t+=e.percentage;if(t>100||t>0&&a)for(const e of o)e.percentage=e.percentage*(100/t);let l=0;return t<100&&(l=100-t),{items:o,leftover:l}}function hex(e){const a=toLowerCaseAZ(e[4].value);if(a.match(/[^a-f0-9]/))return!1;const n={colorNotation:De.HEX,channels:[0,0,0],alpha:1,syntaxFlags:new Set([Le.Hex])},r=a.length;if(3===r){const e=a[0],r=a[1],o=a[2];return n.channels=[parseInt(e+e,16)/255,parseInt(r+r,16)/255,parseInt(o+o,16)/255],n}if(6===r){const e=a[0]+a[1],r=a[2]+a[3],o=a[4]+a[5];return n.channels=[parseInt(e,16)/255,parseInt(r,16)/255,parseInt(o,16)/255],n}if(4===r){const e=a[0],r=a[1],o=a[2],t=a[3];return n.channels=[parseInt(e+e,16)/255,parseInt(r+r,16)/255,parseInt(o+o,16)/255],n.alpha=parseInt(t+t,16)/255,n.syntaxFlags.add(Le.HasAlpha),n}if(8===r){const e=a[0]+a[1],r=a[2]+a[3],o=a[4]+a[5],t=a[6]+a[7];return n.channels=[parseInt(e,16)/255,parseInt(r,16)/255,parseInt(o,16)/255],n.alpha=parseInt(t,16)/255,n.syntaxFlags.add(Le.HasAlpha),n}return!1}function normalizeHue(n){if(o(n))return Number.isNaN(n[4].value)||Number.isFinite(n[4].value)||(n[4].value=0),n[4].value=n[4].value%360,n[4].value<0&&(n[4].value+=360),n[1]=n[4].value.toString(),n;if(c(n)){let r=n[4].value;switch(toLowerCaseAZ(n[4].unit)){case"deg":break;case"rad":r=180*n[4].value/Math.PI;break;case"grad":r=.9*n[4].value;break;case"turn":r=360*n[4].value;break;default:return!1}return Number.isNaN(n[4].value)||Number.isFinite(n[4].value)||(n[4].value=0),r%=360,r<0&&(r+=360),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}return!1}function normalize_legacy_HSL_ChannelValues(n,t,l){if(0===t){const e=normalizeHue(n);return!1!==e&&(c(n)&&l.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(n)){3===t?l.syntaxFlags.add(Le.HasPercentageAlpha):l.syntaxFlags.add(Le.HasPercentageValues);let r=normalize(n[4].value,1,0,100);return 3===t&&(r=normalize(n[4].value,100,0,1)),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}if(o(n)){if(3!==t)return!1;let r=normalize(n[4].value,1,0,100);return 3===t&&(r=normalize(n[4].value,1,0,1)),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}return!1}function normalize_modern_HSL_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(0===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3===l?s.syntaxFlags.add(Le.HasPercentageAlpha):s.syntaxFlags.add(Le.HasPercentageValues);let n=t[4].value;return 3===l?n=normalize(t[4].value,100,0,1):1===l&&(n=normalize(t[4].value,1,0,2147483647)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=t[4].value;return 3===l?n=normalize(t[4].value,1,0,1):1===l&&(n=normalize(t[4].value,1,0,2147483647)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function threeChannelLegacySyntax(e,a,n,r){const t=[],c=[],u=[],i=[],h={colorNotation:n,channels:[0,0,0],alpha:1,syntaxFlags:new Set(r)};let m=t;for(let a=0;ave(e)&&s(e.value))){const a=hslCommaSeparated(e);if(!1!==a)return a}{const n=hslSpaceSeparated(e,a);if(!1!==n)return n}return!1}function hslCommaSeparated(e){return threeChannelLegacySyntax(e,normalize_legacy_HSL_ChannelValues,De.HSL,[Le.LegacyHSL])}function hslSpaceSeparated(e,a){return threeChannelSpaceSeparated(e,normalize_modern_HSL_ChannelValues,De.HSL,[],a)}function normalize_HWB_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(0===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3===l?s.syntaxFlags.add(Le.HasPercentageAlpha):s.syntaxFlags.add(Le.HasPercentageValues);let n=t[4].value;return 3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=t[4].value;return 3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function normalize_Lab_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,1,0,100);return 1===l||2===l?n=normalize(t[4].value,.8,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,100);return 1===l||2===l?n=normalize(t[4].value,1,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function lab(e,a){return threeChannelSpaceSeparated(e,normalize_Lab_ChannelValues,De.Lab,[],a)}function normalize_LCH_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(2===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,1,0,100);return 1===l?n=normalize(t[4].value,100/150,0,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,100);return 1===l?n=normalize(t[4].value,1,0,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function lch(e,a){return threeChannelSpaceSeparated(e,normalize_LCH_ChannelValues,De.LCH,[],a)}const Fe=new Map;for(const[e,a]of Object.entries(Q))Fe.set(e,a);function namedColor(e){const a=Fe.get(toLowerCaseAZ(e));return!!a&&{colorNotation:De.RGB,channels:[a[0]/255,a[1]/255,a[2]/255],alpha:1,syntaxFlags:new Set([Le.ColorKeyword,Le.NamedColor])}}function normalize_OKLab_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,0,1);return 1===l||2===l?n=normalize(t[4].value,250,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,1);return 1===l||2===l?n=normalize(t[4].value,1,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function oklab(e,a){return threeChannelSpaceSeparated(e,normalize_OKLab_ChannelValues,De.OKLab,[],a)}function normalize_OKLCH_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(2===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,0,1);return 1===l?n=normalize(t[4].value,250,0,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,1);return 1===l?n=normalize(t[4].value,1,0,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function oklch(e,a){return threeChannelSpaceSeparated(e,normalize_OKLCH_ChannelValues,De.OKLCH,[],a)}function normalize_legacy_sRGB_ChannelValues(n,t,l){if(r(n)){3===t?l.syntaxFlags.add(Le.HasPercentageAlpha):l.syntaxFlags.add(Le.HasPercentageValues);const r=normalize(n[4].value,100,0,1);return[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}if(o(n)){3!==t&&l.syntaxFlags.add(Le.HasNumberValues);let r=normalize(n[4].value,255,0,1);return 3===t&&(r=normalize(n[4].value,1,0,1)),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}return!1}function normalize_modern_sRGB_ChannelValues(t,l,s){if(n(t)&&"none"===t[4].value.toLowerCase())return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,255,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function rgb(e,a){if(e.value.some(e=>ve(e)&&s(e.value))){const a=rgbCommaSeparated(e);if(!1!==a)return(!a.syntaxFlags.has(Le.HasNumberValues)||!a.syntaxFlags.has(Le.HasPercentageValues))&&a}else{const n=rgbSpaceSeparated(e,a);if(!1!==n)return n}return!1}function rgbCommaSeparated(e){return threeChannelLegacySyntax(e,normalize_legacy_sRGB_ChannelValues,De.RGB,[Le.LegacyRGB])}function rgbSpaceSeparated(e,a){return threeChannelSpaceSeparated(e,normalize_modern_sRGB_ChannelValues,De.RGB,[],a)}function XYZ_D65_to_sRGB_Gamut(e){const a=x(e);if(ee(a))return ae(a);let n=e;return n=N(n),n[0]<1e-6&&(n=[0,0,0]),n[0]>.999999&&(n=[1,0,0]),ne(re(n,oklch_to_lin_srgb,lin_srgb_to_oklch))}function oklch_to_lin_srgb(e){return e=oe(e),e=te(e),le(e)}function lin_srgb_to_oklch(e){return e=se(e),e=ce(e),ue(e)}function contrastColor(e,a){let n=!1;for(let r=0;rt?[1,1,1]:[0,0,0],r}function alpha(e,a){let r,s,c=!1,u=!1,i=!1;const h={colorNotation:De.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])};for(let m=0;m{if(ve(e)&&n(e.value)&&"alpha"===toLowerCaseAZ(e.value[4].value)&&r&&r.has("alpha"))return new ge(r.get("alpha"))});h.alpha=e[0][0],u=!0;continue}return!1}if(i)return!1;for(;pe(e.value[m+1])||be(e.value[m+1]);)m++;if(m++,N=e.value[m],i=a(N),!1===i)return!1;r=normalizeRelativeColorDataChannels(i),s=noneToZeroInRelativeColorDataChannels(r),h.syntaxFlags=new Set(i.syntaxFlags),h.syntaxFlags.add(Le.RelativeAlphaSyntax),h.channels=[...i.channels],h.colorNotation=i.colorNotation,h.alpha=i.alpha}}return!!r&&h}function XYZ_D65_to_P3_Gamut(e){const a=C(e);if(ee(a))return ae(a);let n=e;return n=N(n),n[0]<1e-6&&(n=[0,0,0]),n[0]>.999999&&(n=[1,0,0]),he(re(n,oklch_to_lin_p3,lin_p3_to_oklch))}function oklch_to_lin_p3(e){return e=oe(e),e=te(e),me(e)}function lin_p3_to_oklch(e){return e=Ne(e),e=ce(e),ue(e)}function toPrecision(e,a=7){e=+e,a=+a;const n=(Math.floor(Math.abs(e))+"").length;if(a>n)return+e.toFixed(a-n);{const r=10**(n-a);return Math.round(e/r)*r}}function serializeWithAlpha(n,r,o,t){const l=[e.CloseParen,")",-1,-1,void 0];if("number"==typeof n.alpha){const s=Math.min(1,Math.max(0,toPrecision(Number.isNaN(n.alpha)?0:n.alpha)));return 1===toPrecision(s,4)?new _e(r,l,t):new _e(r,l,[...t,new Ce([o]),new ge([e.Delim,"/",-1,-1,{value:"/"}]),new Ce([o]),new ge([e.Number,toPrecision(s,4).toString(),-1,-1,{value:n.alpha,type:a.Integer}])])}return new _e(r,l,[...t,new Ce([o]),new ge([e.Delim,"/",-1,-1,{value:"/"}]),new Ce([o]),n.alpha])}function serializeP3(n,r=!0){n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation);let o=n.channels.map(e=>Number.isNaN(e)?0:e);r?o=XYZ_D65_to_P3_Gamut(colorData_to_XYZ_D65(n).channels):n.colorNotation!==De.Display_P3&&(o=C(colorData_to_XYZ_D65(n).channels));const t=r?Math.min(1,Math.max(0,toPrecision(o[0],6))):toPrecision(o[0],6),l=r?Math.min(1,Math.max(0,toPrecision(o[1],6))):toPrecision(o[1],6),s=r?Math.min(1,Math.max(0,toPrecision(o[2],6))):toPrecision(o[2],6),c=[e.Function,"color(",-1,-1,{value:"color"}],u=[e.Whitespace," ",-1,-1,void 0];return serializeWithAlpha(n,c,u,[new ge([e.Ident,"display-p3",-1,-1,{value:"display-p3"}]),new Ce([u]),new ge([e.Number,t.toString(),-1,-1,{value:o[0],type:a.Number}]),new Ce([u]),new ge([e.Number,l.toString(),-1,-1,{value:o[1],type:a.Number}]),new Ce([u]),new ge([e.Number,s.toString(),-1,-1,{value:o[2],type:a.Number}])])}function serializeRGB(n,r=!0){let o;n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation),o=r?XYZ_D65_to_sRGB_Gamut(colorData_to_XYZ_D65(n).channels):x(colorData_to_XYZ_D65(n).channels);const t=Math.min(255,Math.max(0,Math.round(255*toPrecision(o[0])))),l=Math.min(255,Math.max(0,Math.round(255*toPrecision(o[1])))),s=Math.min(255,Math.max(0,Math.round(255*toPrecision(o[2])))),c=[e.CloseParen,")",-1,-1,void 0],u=[e.Whitespace," ",-1,-1,void 0],i=[e.Comma,",",-1,-1,void 0],h=[new ge([e.Number,t.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,o[0])),type:a.Integer}]),new ge(i),new Ce([u]),new ge([e.Number,l.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,o[1])),type:a.Integer}]),new ge(i),new Ce([u]),new ge([e.Number,s.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,o[2])),type:a.Integer}])];if("number"==typeof n.alpha){const r=Math.min(1,Math.max(0,toPrecision(Number.isNaN(n.alpha)?0:n.alpha)));return 1===toPrecision(r,4)?new _e([e.Function,"rgb(",-1,-1,{value:"rgb"}],c,h):new _e([e.Function,"rgba(",-1,-1,{value:"rgba"}],c,[...h,new ge(i),new Ce([u]),new ge([e.Number,toPrecision(r,4).toString(),-1,-1,{value:n.alpha,type:a.Number}])])}return new _e([e.Function,"rgba(",-1,-1,{value:"rgba"}],c,[...h,new ge(i),new Ce([u]),n.alpha])}function serializeHSL(n,r=!0){let o;n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation),o=f(r?B(XYZ_D65_to_sRGB_Gamut(colorData_to_XYZ_D65(n).channels)):colorData_to_XYZ_D65(n).channels),o=o.map(e=>Number.isNaN(e)?0:e);const t=Math.min(360,Math.max(0,Math.round(toPrecision(o[0]))))%360,l=Math.min(100,Math.max(0,Math.round(toPrecision(o[1])))),s=Math.min(100,Math.max(0,Math.round(toPrecision(o[2])))),c=[e.CloseParen,")",-1,-1,void 0],u=[e.Whitespace," ",-1,-1,void 0],i=[e.Comma,",",-1,-1,void 0],h=[new ge([e.Number,t.toString(),-1,-1,{value:o[0],type:a.Integer}]),new ge(i),new Ce([u]),new ge([e.Percentage,l.toString()+"%",-1,-1,{value:o[1]}]),new ge(i),new Ce([u]),new ge([e.Percentage,s.toString()+"%",-1,-1,{value:o[2]}])];if("number"==typeof n.alpha){const r=Math.min(1,Math.max(0,toPrecision(Number.isNaN(n.alpha)?0:n.alpha)));return 1===toPrecision(r,4)?new _e([e.Function,"hsl(",-1,-1,{value:"hsl"}],c,h):new _e([e.Function,"hsla(",-1,-1,{value:"hsla"}],c,[...h,new ge(i),new Ce([u]),new ge([e.Number,toPrecision(r,4).toString(),-1,-1,{value:n.alpha,type:a.Number}])])}return new _e([e.Function,"hsla(",-1,-1,{value:"hsla"}],c,[...h,new ge(i),new Ce([u]),n.alpha])}function serializeOKLCH(n){n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation);let r=n.channels.map(e=>Number.isNaN(e)?0:e);n.colorNotation!==De.OKLCH&&(r=N(colorData_to_XYZ_D65(n).channels));const o=toPrecision(r[0],6),t=toPrecision(r[1],6),l=toPrecision(r[2],6),s=[e.Function,"oklch(",-1,-1,{value:"oklch"}],c=[e.Whitespace," ",-1,-1,void 0];return serializeWithAlpha(n,s,c,[new ge([e.Number,o.toString(),-1,-1,{value:r[0],type:a.Number}]),new Ce([c]),new ge([e.Number,t.toString(),-1,-1,{value:r[1],type:a.Number}]),new Ce([c]),new ge([e.Number,l.toString(),-1,-1,{value:r[2],type:a.Number}])])}function color(e){if(fe(e)){switch(toLowerCaseAZ(e.getName())){case"rgb":case"rgba":return rgb(e,color);case"hsl":case"hsla":return hsl(e,color);case"hwb":return a=color,threeChannelSpaceSeparated(e,normalize_HWB_ChannelValues,De.HWB,[],a);case"lab":return lab(e,color);case"lch":return lch(e,color);case"oklab":return oklab(e,color);case"oklch":return oklch(e,color);case"color":return color$1(e,color);case"color-mix":return colorMix(e,color);case"contrast-color":return contrastColor(e,color);case"alpha":return alpha(e,color)}}var a;if(ve(e)){if(u(e.value))return hex(e.value);if(n(e.value)){const a=namedColor(e.value[4].value);return!1!==a?a:"transparent"===toLowerCaseAZ(e.value[4].value)&&{colorNotation:De.RGB,channels:[0,0,0],alpha:0,syntaxFlags:new Set([Le.ColorKeyword])}}}return!1}export{De as ColorNotation,Le as SyntaxFlag,color,colorDataFitsDisplayP3_Gamut,colorDataFitsRGB_Gamut,serializeHSL,serializeOKLCH,serializeP3,serializeRGB}; +import{TokenType as e,NumberType as a,isTokenIdent as n,isTokenPercentage as r,isTokenNumber as o,isTokenDelim as t,isTokenNumeric as l,isTokenComma as s,isTokenDimension as c,isTokenHash as u}from"@csstools/css-tokenizer";import{XYZ_D65_to_XYZ_D65 as i,XYZ_D50_to_XYZ_D50 as h,XYZ_D65_to_OKLab as m,XYZ_D65_to_OKLCH as N,XYZ_D50_to_LCH as p,XYZ_D50_to_Lab as b,XYZ_D65_to_HWB as v,XYZ_D65_to_HSL as f,XYZ_D65_to_a98_RGB as g,XYZ_D50_to_ProPhoto as d,XYZ_D65_to_rec_2020 as y,XYZ_D65_to_lin_P3 as _,XYZ_D65_to_P3 as C,XYZ_D65_to_lin_sRGB as w,XYZ_D65_to_sRGB as x,XYZ_D50_to_XYZ_D65 as D,OKLCH_to_XYZ_D65 as L,LCH_to_XYZ_D65 as Z,OKLab_to_XYZ_D65 as H,Lab_to_XYZ_D65 as P,HWB_to_XYZ_D65 as k,HSL_to_XYZ_D65 as S,ProPhoto_RGB_to_XYZ_D65 as M,a98_RGB_to_XYZ_D65 as F,rec_2020_to_XYZ_D65 as z,lin_P3_to_XYZ_D65 as R,P3_to_XYZ_D65 as T,lin_sRGB_to_XYZ_D65 as X,sRGB_to_XYZ_D65 as B,XYZ_D65_to_XYZ_D50 as Y,OKLCH_to_XYZ_D50 as G,LCH_to_XYZ_D50 as V,OKLab_to_XYZ_D50 as A,Lab_to_XYZ_D50 as K,HWB_to_XYZ_D50 as I,HSL_to_XYZ_D50 as O,ProPhoto_RGB_to_XYZ_D50 as W,a98_RGB_to_XYZ_D50 as E,rec_2020_to_XYZ_D50 as U,lin_P3_to_XYZ_D50 as $,P3_to_XYZ_D50 as j,lin_sRGB_to_XYZ_D50 as q,sRGB_to_XYZ_D50 as J,namedColors as Q,inGamut as ee,clip as ae,gam_sRGB as ne,mapGamutRayTrace as re,OKLCH_to_OKLab as oe,OKLab_to_XYZ as te,XYZ_to_lin_sRGB as le,lin_sRGB_to_XYZ as se,XYZ_to_OKLab as ce,OKLab_to_OKLCH as ue,contrast_ratio_wcag_2_1 as ie,gam_P3 as he,XYZ_to_lin_P3 as me,lin_P3_to_XYZ as Ne}from"@csstools/color-helpers";import{isWhitespaceNode as pe,isCommentNode as be,isTokenNode as ve,isFunctionNode as fe,TokenNode as ge,isWhiteSpaceOrCommentNode as de,replaceComponentValues as ye,FunctionNode as _e,WhitespaceNode as Ce}from"@csstools/css-parser-algorithms";import{mathFunctionNames as we,calcFromComponentValues as xe}from"@csstools/css-calc";var De,Le;function convertNaNToZero(e){return[Number.isNaN(e[0])?0:e[0],Number.isNaN(e[1])?0:e[1],Number.isNaN(e[2])?0:e[2]]}function colorData_to_XYZ_D50(e){switch(e.colorNotation){case De.HEX:case De.RGB:case De.sRGB:return{...e,colorNotation:De.XYZ_D50,channels:J(convertNaNToZero(e.channels))};case De.Linear_sRGB:return{...e,colorNotation:De.XYZ_D50,channels:q(convertNaNToZero(e.channels))};case De.Display_P3:return{...e,colorNotation:De.XYZ_D50,channels:j(convertNaNToZero(e.channels))};case De.Linear_Display_P3:return{...e,colorNotation:De.XYZ_D50,channels:$(convertNaNToZero(e.channels))};case De.Rec2020:return{...e,colorNotation:De.XYZ_D50,channels:U(convertNaNToZero(e.channels))};case De.A98_RGB:return{...e,colorNotation:De.XYZ_D50,channels:E(convertNaNToZero(e.channels))};case De.ProPhoto_RGB:return{...e,colorNotation:De.XYZ_D50,channels:W(convertNaNToZero(e.channels))};case De.HSL:return{...e,colorNotation:De.XYZ_D50,channels:O(convertNaNToZero(e.channels))};case De.HWB:return{...e,colorNotation:De.XYZ_D50,channels:I(convertNaNToZero(e.channels))};case De.Lab:return{...e,colorNotation:De.XYZ_D50,channels:K(convertNaNToZero(e.channels))};case De.OKLab:return{...e,colorNotation:De.XYZ_D50,channels:A(convertNaNToZero(e.channels))};case De.LCH:return{...e,colorNotation:De.XYZ_D50,channels:V(convertNaNToZero(e.channels))};case De.OKLCH:return{...e,colorNotation:De.XYZ_D50,channels:G(convertNaNToZero(e.channels))};case De.XYZ_D50:return{...e,colorNotation:De.XYZ_D50,channels:h(convertNaNToZero(e.channels))};case De.XYZ_D65:return{...e,colorNotation:De.XYZ_D50,channels:Y(convertNaNToZero(e.channels))};default:throw new Error("Unsupported color notation")}}function colorData_to_XYZ_D65(e){switch(e.colorNotation){case De.HEX:case De.RGB:case De.sRGB:return{...e,colorNotation:De.XYZ_D65,channels:B(convertNaNToZero(e.channels))};case De.Linear_sRGB:return{...e,colorNotation:De.XYZ_D65,channels:X(convertNaNToZero(e.channels))};case De.Display_P3:return{...e,colorNotation:De.XYZ_D65,channels:T(convertNaNToZero(e.channels))};case De.Linear_Display_P3:return{...e,colorNotation:De.XYZ_D65,channels:R(convertNaNToZero(e.channels))};case De.Rec2020:return{...e,colorNotation:De.XYZ_D65,channels:z(convertNaNToZero(e.channels))};case De.A98_RGB:return{...e,colorNotation:De.XYZ_D65,channels:F(convertNaNToZero(e.channels))};case De.ProPhoto_RGB:return{...e,colorNotation:De.XYZ_D65,channels:M(convertNaNToZero(e.channels))};case De.HSL:return{...e,colorNotation:De.XYZ_D65,channels:S(convertNaNToZero(e.channels))};case De.HWB:return{...e,colorNotation:De.XYZ_D65,channels:k(convertNaNToZero(e.channels))};case De.Lab:return{...e,colorNotation:De.XYZ_D65,channels:P(convertNaNToZero(e.channels))};case De.OKLab:return{...e,colorNotation:De.XYZ_D65,channels:H(convertNaNToZero(e.channels))};case De.LCH:return{...e,colorNotation:De.XYZ_D65,channels:Z(convertNaNToZero(e.channels))};case De.OKLCH:return{...e,colorNotation:De.XYZ_D65,channels:L(convertNaNToZero(e.channels))};case De.XYZ_D50:return{...e,colorNotation:De.XYZ_D65,channels:D(convertNaNToZero(e.channels))};case De.XYZ_D65:return{...e,colorNotation:De.XYZ_D65,channels:i(convertNaNToZero(e.channels))};default:throw new Error("Unsupported color notation")}}!function(e){e.A98_RGB="a98-rgb",e.Display_P3="display-p3",e.Linear_Display_P3="display-p3-linear",e.HEX="hex",e.HSL="hsl",e.HWB="hwb",e.LCH="lch",e.Lab="lab",e.Linear_sRGB="srgb-linear",e.OKLCH="oklch",e.OKLab="oklab",e.ProPhoto_RGB="prophoto-rgb",e.RGB="rgb",e.sRGB="srgb",e.Rec2020="rec2020",e.XYZ_D50="xyz-d50",e.XYZ_D65="xyz-d65"}(De||(De={})),function(e){e.ColorKeyword="color-keyword",e.HasAlpha="has-alpha",e.HasDimensionValues="has-dimension-values",e.HasNoneKeywords="has-none-keywords",e.HasNumberValues="has-number-values",e.HasPercentageAlpha="has-percentage-alpha",e.HasPercentageValues="has-percentage-values",e.HasVariableAlpha="has-variable-alpha",e.Hex="hex",e.LegacyHSL="legacy-hsl",e.LegacyRGB="legacy-rgb",e.NamedColor="named-color",e.RelativeColorSyntax="relative-color-syntax",e.ColorMix="color-mix",e.ColorMixVariadic="color-mix-variadic",e.ContrastColor="contrast-color",e.RelativeAlphaSyntax="relative-alpha-syntax",e.Experimental="experimental"}(Le||(Le={}));const Ze=new Set([De.A98_RGB,De.Display_P3,De.Linear_Display_P3,De.HEX,De.Linear_sRGB,De.ProPhoto_RGB,De.RGB,De.sRGB,De.Rec2020,De.XYZ_D50,De.XYZ_D65]);function colorDataTo(e,a){(e={...e}).channels=convertPowerlessComponentsToMissingComponents(e.channels,e.colorNotation);const n={...e};if(e.colorNotation!==a)switch(a){case De.HEX:case De.RGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.RGB,n.channels=x(e.channels),n.channels=n.channels.map(e=>reducePrecisionOrNaN(e,8));break}case De.sRGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.sRGB,n.channels=x(e.channels);break}case De.Linear_sRGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Linear_sRGB,n.channels=w(e.channels);break}case De.Display_P3:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Display_P3,n.channels=C(e.channels);break}case De.Linear_Display_P3:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Linear_Display_P3,n.channels=_(e.channels);break}case De.Rec2020:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.Rec2020,n.channels=y(e.channels);break}case De.ProPhoto_RGB:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.ProPhoto_RGB,n.channels=d(e.channels);break}case De.A98_RGB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.A98_RGB,n.channels=g(e.channels);break}case De.HSL:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.HSL,n.channels=f(e.channels),n.channels=n.channels.map(e=>reducePrecisionOrNaN(e,8));break}case De.HWB:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.HWB,n.channels=v(e.channels),n.channels=n.channels.map(e=>reducePrecisionOrNaN(e,8));break}case De.Lab:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.Lab,n.channels=b(e.channels);break}case De.LCH:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.LCH,n.channels=p(e.channels);break}case De.OKLCH:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.OKLCH,n.channels=N(e.channels);break}case De.OKLab:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.OKLab,n.channels=m(e.channels);break}case De.XYZ_D50:{const e=colorData_to_XYZ_D50(n);n.colorNotation=De.XYZ_D50,n.channels=h(e.channels);break}case De.XYZ_D65:{const e=colorData_to_XYZ_D65(n);n.colorNotation=De.XYZ_D65,n.channels=i(e.channels);break}default:throw new Error("Unsupported color notation")}else n.channels=convertNaNToZero(e.channels);if(a===e.colorNotation)n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);else if(Ze.has(a)&&Ze.has(e.colorNotation))n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);else switch(a){case De.HSL:switch(e.colorNotation){case De.HWB:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;case De.Lab:case De.OKLab:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[2],[0,1]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[2,1,0],[]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;case De.HWB:switch(e.colorNotation){case De.HSL:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[2],[0,1],n.channels,[0],[1,2]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;case De.Lab:case De.OKLab:switch(e.colorNotation){case De.HSL:n.channels=carryForwardMissingComponents(e.channels,[2],[0,1],n.channels,[0],[1,2]);break;case De.Lab:case De.OKLab:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;case De.LCH:case De.OKLCH:switch(e.colorNotation){case De.HSL:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[2,1,0],[]);break;case De.HWB:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[2],[0,1]);break;case De.Lab:case De.OKLab:n.channels=carryForwardMissingComponents(e.channels,[0],[1,2],n.channels,[0],[1,2]);break;case De.LCH:case De.OKLCH:n.channels=carryForwardMissingComponents(e.channels,[0,1,2],[],n.channels,[0,1,2],[]);break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}break;default:n.channels=carryForwardMissingComponents(e.channels,[],[],n.channels,[],[])}return n.channels=convertPowerlessComponentsToMissingComponents(n.channels,a),n}function convertPowerlessComponentsToMissingComponents(e,a){const n=[...e];switch(a){case De.HSL:(Number.isNaN(n[1])?0:n[1])<=.001&&(n[0]=Number.NaN);break;case De.HWB:Math.max(0,Number.isNaN(n[1])?0:n[1])+Math.max(0,Number.isNaN(n[2])?0:n[2])>=99.999&&(n[0]=Number.NaN);break;case De.LCH:(Number.isNaN(n[1])?0:n[1])<=.0015&&(n[2]=Number.NaN);break;case De.OKLCH:(Number.isNaN(n[1])?0:n[1])<=4e-6&&(n[2]=Number.NaN)}return n}function convertPowerlessComponentsToZeroValuesForDisplay(e,a){const n=[...e];switch(a){case De.HSL:(Number.isNaN(n[1])?0:n[1])<=.001&&(n[0]=Number.NaN),(reducePrecision(n[2])<=0||reducePrecision(n[2])>=100)&&(n[0]=Number.NaN,n[1]=Number.NaN);break;case De.HWB:Math.max(0,Number.isNaN(n[1])?0:n[1])+Math.max(0,Number.isNaN(n[2])?0:n[2])>=99.999&&(n[0]=Number.NaN);break;case De.Lab:(reducePrecision(n[0])<=0||reducePrecision(n[0])>=100)&&(n[1]=Number.NaN,n[2]=Number.NaN);break;case De.LCH:(Number.isNaN(n[1])?0:n[1])<=.0015&&(n[2]=Number.NaN),(reducePrecision(n[0])<=0||reducePrecision(n[0])>=100)&&(n[1]=Number.NaN,n[2]=Number.NaN);break;case De.OKLab:(reducePrecision(n[0])<=0||reducePrecision(n[0])>=1)&&(n[1]=Number.NaN,n[2]=Number.NaN);break;case De.OKLCH:(Number.isNaN(n[1])?0:n[1])<=4e-6&&(n[2]=Number.NaN),(reducePrecision(n[0])<=0||reducePrecision(n[0])>=1)&&(n[1]=Number.NaN,n[2]=Number.NaN)}return n}function carryForwardMissingComponents(e,a,n,r,o,t){if(a.length<3&&e.every(Number.isNaN))return[Number.NaN,Number.NaN,Number.NaN];const l=[...r];for(let n=0;nNumber.isNaN(e[a])))for(let e=0;ee<-1e-5||e>1.00001)}function colorDataFitsDisplayP3_Gamut(e){const a={...e,channels:[...e.channels]};a.channels=convertPowerlessComponentsToZeroValuesForDisplay(a.channels,a.colorNotation);return!colorDataTo(a,De.Display_P3).channels.find(e=>e<-1e-5||e>1.00001)}function normalize(e,a,n,r){return Math.min(Math.max(e/a,n),r)}const He=/[A-Z]/g;function toLowerCaseAZ(e){return e.replace(He,e=>String.fromCharCode(e.charCodeAt(0)+32))}function normalize_Color_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}const Pe=new Set(["srgb","srgb-linear","display-p3","display-p3-linear","a98-rgb","prophoto-rgb","rec2020","xyz","xyz-d50","xyz-d65"]);function color$1(e,a){const r=[],s=[],c=[],u=[];let i,h,m=!1,N=!1;const p={colorNotation:De.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])};let b=r;for(let o=0;o=0){t=u.value[4].value;continue}}return!1}if(!o)return!1;n.push({color:o,percentage:t}),o=!1,t=!1}}return!!o&&(n.push({color:o,percentage:t}),n)}function colorMixRectangular(e,a){if(!a||!a.length)return!1;for(const e of a)if(e.percentage&&(e.percentage<0||e.percentage>100))return!1;const{items:n,leftover:r}=normalizeMixPercentages(a,!0),o=1-r/100;let t;switch(e){case"srgb":t=De.RGB;break;case"srgb-linear":t=De.Linear_sRGB;break;case"display-p3":t=De.Display_P3;break;case"display-p3-linear":t=De.Linear_Display_P3;break;case"a98-rgb":t=De.A98_RGB;break;case"prophoto-rgb":t=De.ProPhoto_RGB;break;case"rec2020":t=De.Rec2020;break;case"lab":t=De.Lab;break;case"oklab":t=De.OKLab;break;case"xyz-d50":t=De.XYZ_D50;break;case"xyz":case"xyz-d65":t=De.XYZ_D65;break;default:return!1}if(1===n.length){const e=colorDataTo(n[0].color,t);return e.colorNotation=t,e.syntaxFlags.add(Le.ColorMixVariadic),e.syntaxFlags.add(Le.ColorMix),"number"!=typeof e.alpha?!1:(e.alpha=e.alpha*o,e)}for(n.reverse();n.length>=2;){const e=n.pop(),a=n.pop();if(!e||!a)return!1;const r=e.percentage+a.percentage,o=r>0?a.percentage/r:.5,l=colorMixRectangularPair(t,e.color,a.color,o);if(!l)return!1;n.push({color:l,percentage:r})}const l=n[0]?.color;return!!l&&("number"==typeof l.alpha&&(l.alpha=l.alpha*o,a.some(e=>e.color.syntaxFlags.has(Le.Experimental))&&l.syntaxFlags.add(Le.Experimental),2!==a.length&&l.syntaxFlags.add(Le.ColorMixVariadic),l))}function colorMixRectangularPair(e,a,n,r){let o=a.alpha;if("number"!=typeof o)return!1;let t=n.alpha;if("number"!=typeof t)return!1;o=Number.isNaN(o)?t:o,t=Number.isNaN(t)?o:t;const l=colorDataTo(a,e).channels,s=colorDataTo(n,e).channels;l[0]=fillInMissingComponent(l[0],s[0]),s[0]=fillInMissingComponent(s[0],l[0]),l[1]=fillInMissingComponent(l[1],s[1]),s[1]=fillInMissingComponent(s[1],l[1]),l[2]=fillInMissingComponent(l[2],s[2]),s[2]=fillInMissingComponent(s[2],l[2]),l[0]=premultiply(l[0],o),l[1]=premultiply(l[1],o),l[2]=premultiply(l[2],o),s[0]=premultiply(s[0],t),s[1]=premultiply(s[1],t),s[2]=premultiply(s[2],t);const c=interpolate(o,t,r);return{colorNotation:e,channels:[un_premultiply(interpolate(l[0],s[0],r),c),un_premultiply(interpolate(l[1],s[1],r),c),un_premultiply(interpolate(l[2],s[2],r),c)],alpha:c,syntaxFlags:new Set([Le.ColorMix])}}function colorMixPolar(e,a,n){if(!n||!n.length)return!1;for(const e of n)if(e.percentage&&(e.percentage<0||e.percentage>100))return!1;const{items:r,leftover:o}=normalizeMixPercentages(n,!0),t=1-o/100;let l;switch(e){case"hsl":l=De.HSL;break;case"hwb":l=De.HWB;break;case"lch":l=De.LCH;break;case"oklch":l=De.OKLCH;break;default:return!1}if(1===r.length){const e=colorDataTo(r[0].color,l);return e.colorNotation=l,e.syntaxFlags.add(Le.ColorMixVariadic),e.syntaxFlags.add(Le.ColorMix),"number"!=typeof e.alpha?!1:(e.alpha=e.alpha*t,e)}for(r.reverse();r.length>=2;){const e=r.pop(),n=r.pop();if(!e||!n)return!1;const o=e.percentage+n.percentage,t=o>0?n.percentage/o:.5,s=colorMixPolarPair(l,a,e.color,n.color,t);if(!s)return!1;r.push({color:s,percentage:o})}const s=r[0]?.color;return!!s&&("number"==typeof s.alpha&&(s.alpha=s.alpha*t,n.some(e=>e.color.syntaxFlags.has(Le.Experimental))&&s.syntaxFlags.add(Le.Experimental),2!==n.length&&s.syntaxFlags.add(Le.ColorMixVariadic),s))}function colorMixPolarPair(e,a,n,r,o){let t=0,l=0,s=0,c=0,u=0,i=0,h=n.alpha;if("number"!=typeof h)return!1;let m=r.alpha;if("number"!=typeof m)return!1;h=Number.isNaN(h)?m:h,m=Number.isNaN(m)?h:m;const N=colorDataTo(n,e).channels,p=colorDataTo(r,e).channels;switch(e){case De.HSL:case De.HWB:t=N[0],l=p[0],s=N[1],c=p[1],u=N[2],i=p[2];break;case De.LCH:case De.OKLCH:s=N[0],c=p[0],u=N[1],i=p[1],t=N[2],l=p[2]}if(s=fillInMissingComponent(s,c),c=fillInMissingComponent(c,s),u=fillInMissingComponent(u,i),i=fillInMissingComponent(i,u),t=fillInMissingComponent(t,l),l=fillInMissingComponent(l,t),Number.isNaN(t)&&Number.isNaN(l));else{Number.isNaN(t)?t=0:Number.isNaN(l)&&(l=0);const e=l-t;switch(a){case"shorter":e>180?t+=360:e<-180&&(l+=360);break;case"longer":-1800?t+=360:l+=360);break;case"increasing":e<0&&(l+=360);break;case"decreasing":e>0&&(t+=360);break;default:throw new Error("Unknown hue interpolation method")}}s=premultiply(s,h),u=premultiply(u,h),c=premultiply(c,m),i=premultiply(i,m);let b=[0,0,0];const v=interpolate(h,m,o);switch(e){case De.HSL:case De.HWB:b=[interpolate(t,l,o),un_premultiply(interpolate(s,c,o),v),un_premultiply(interpolate(u,i,o),v)];break;case De.LCH:case De.OKLCH:b=[un_premultiply(interpolate(s,c,o),v),un_premultiply(interpolate(u,i,o),v),interpolate(t,l,o)]}return{colorNotation:e,channels:b,alpha:v,syntaxFlags:new Set([Le.ColorMix])}}function fillInMissingComponent(e,a){return Number.isNaN(e)?a:e}function interpolate(e,a,n){return e*(1-n)+a*n}function premultiply(e,a){return Number.isNaN(a)?e:Number.isNaN(e)?Number.NaN:e*a}function un_premultiply(e,a){return 0===a||Number.isNaN(a)?e:Number.isNaN(e)?Number.NaN:e/a}function normalizeMixPercentages(e,a=!1){let n=0,r=0;for(const a of e)a.percentage&&(n+=a.percentage),!1===a.percentage&&r++;n=Math.min(100,n);for(const a of e)!1===a.percentage&&(a.percentage=(100-n)/r);const o=e.slice();let t=0;for(const e of o)t+=e.percentage;if(t>100||t>0&&a)for(const e of o)e.percentage=e.percentage*(100/t);let l=0;return t<100&&(l=100-t),{items:o,leftover:l}}function hex(e){const a=toLowerCaseAZ(e[4].value);if(a.match(/[^a-f0-9]/))return!1;const n={colorNotation:De.HEX,channels:[0,0,0],alpha:1,syntaxFlags:new Set([Le.Hex])},r=a.length;if(3===r){const e=a[0],r=a[1],o=a[2];return n.channels=[parseInt(e+e,16)/255,parseInt(r+r,16)/255,parseInt(o+o,16)/255],n}if(6===r){const e=a[0]+a[1],r=a[2]+a[3],o=a[4]+a[5];return n.channels=[parseInt(e,16)/255,parseInt(r,16)/255,parseInt(o,16)/255],n}if(4===r){const e=a[0],r=a[1],o=a[2],t=a[3];return n.channels=[parseInt(e+e,16)/255,parseInt(r+r,16)/255,parseInt(o+o,16)/255],n.alpha=parseInt(t+t,16)/255,n.syntaxFlags.add(Le.HasAlpha),n}if(8===r){const e=a[0]+a[1],r=a[2]+a[3],o=a[4]+a[5],t=a[6]+a[7];return n.channels=[parseInt(e,16)/255,parseInt(r,16)/255,parseInt(o,16)/255],n.alpha=parseInt(t,16)/255,n.syntaxFlags.add(Le.HasAlpha),n}return!1}function normalizeHue(n){if(o(n))return Number.isNaN(n[4].value)||Number.isFinite(n[4].value)||(n[4].value=0),n[4].value=n[4].value%360,n[4].value<0&&(n[4].value+=360),n[1]=n[4].value.toString(),n;if(c(n)){let r=n[4].value;switch(toLowerCaseAZ(n[4].unit)){case"deg":break;case"rad":r=180*n[4].value/Math.PI;break;case"grad":r=.9*n[4].value;break;case"turn":r=360*n[4].value;break;default:return!1}return Number.isNaN(n[4].value)||Number.isFinite(n[4].value)||(n[4].value=0),r%=360,r<0&&(r+=360),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}return!1}function normalize_legacy_HSL_ChannelValues(n,t,l){if(0===t){const e=normalizeHue(n);return!1!==e&&(c(n)&&l.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(n)){3===t?l.syntaxFlags.add(Le.HasPercentageAlpha):l.syntaxFlags.add(Le.HasPercentageValues);let r=normalize(n[4].value,1,0,100);return 3===t&&(r=normalize(n[4].value,100,0,1)),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}if(o(n)){if(3!==t)return!1;let r=normalize(n[4].value,1,0,100);return 3===t&&(r=normalize(n[4].value,1,0,1)),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}return!1}function normalize_modern_HSL_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(0===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3===l?s.syntaxFlags.add(Le.HasPercentageAlpha):s.syntaxFlags.add(Le.HasPercentageValues);let n=t[4].value;return 3===l?n=normalize(t[4].value,100,0,1):1===l&&(n=normalize(t[4].value,1,0,2147483647)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=t[4].value;return 3===l?n=normalize(t[4].value,1,0,1):1===l&&(n=normalize(t[4].value,1,0,2147483647)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function threeChannelLegacySyntax(e,a,n,r){const t=[],c=[],u=[],i=[],h={colorNotation:n,channels:[0,0,0],alpha:1,syntaxFlags:new Set(r)};let m=t;for(let a=0;ave(e)&&s(e.value))){const a=hslCommaSeparated(e);if(!1!==a)return a}{const n=hslSpaceSeparated(e,a);if(!1!==n)return n}return!1}function hslCommaSeparated(e){return threeChannelLegacySyntax(e,normalize_legacy_HSL_ChannelValues,De.HSL,[Le.LegacyHSL])}function hslSpaceSeparated(e,a){return threeChannelSpaceSeparated(e,normalize_modern_HSL_ChannelValues,De.HSL,[],a)}function normalize_HWB_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(0===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3===l?s.syntaxFlags.add(Le.HasPercentageAlpha):s.syntaxFlags.add(Le.HasPercentageValues);let n=t[4].value;return 3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=t[4].value;return 3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function normalize_Lab_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,1,0,100);return 1===l||2===l?n=normalize(t[4].value,.8,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,100);return 1===l||2===l?n=normalize(t[4].value,1,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function lab(e,a){return threeChannelSpaceSeparated(e,normalize_Lab_ChannelValues,De.Lab,[],a)}function normalize_LCH_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(2===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,1,0,100);return 1===l?n=normalize(t[4].value,100/150,0,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,100);return 1===l?n=normalize(t[4].value,1,0,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function lch(e,a){return threeChannelSpaceSeparated(e,normalize_LCH_ChannelValues,De.LCH,[],a)}const Fe=new Map;for(const[e,a]of Object.entries(Q))Fe.set(e,a);function namedColor(e){const a=Fe.get(toLowerCaseAZ(e));return!!a&&{colorNotation:De.RGB,channels:[a[0]/255,a[1]/255,a[2]/255],alpha:1,syntaxFlags:new Set([Le.ColorKeyword,Le.NamedColor])}}function normalize_OKLab_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,0,1);return 1===l||2===l?n=normalize(t[4].value,250,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,1);return 1===l||2===l?n=normalize(t[4].value,1,-2147483647,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function oklab(e,a){return threeChannelSpaceSeparated(e,normalize_OKLab_ChannelValues,De.OKLab,[],a)}function normalize_OKLCH_ChannelValues(t,l,s){if(n(t)&&"none"===toLowerCaseAZ(t[4].value))return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(2===l){const e=normalizeHue(t);return!1!==e&&(c(t)&&s.syntaxFlags.add(Le.HasDimensionValues),e)}if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,0,1);return 1===l?n=normalize(t[4].value,250,0,2147483647):3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,1,0,1);return 1===l?n=normalize(t[4].value,1,0,2147483647):3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function oklch(e,a){return threeChannelSpaceSeparated(e,normalize_OKLCH_ChannelValues,De.OKLCH,[],a)}function normalize_legacy_sRGB_ChannelValues(n,t,l){if(r(n)){3===t?l.syntaxFlags.add(Le.HasPercentageAlpha):l.syntaxFlags.add(Le.HasPercentageValues);const r=normalize(n[4].value,100,0,1);return[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}if(o(n)){3!==t&&l.syntaxFlags.add(Le.HasNumberValues);let r=normalize(n[4].value,255,0,1);return 3===t&&(r=normalize(n[4].value,1,0,1)),[e.Number,r.toString(),n[2],n[3],{value:r,type:a.Number}]}return!1}function normalize_modern_sRGB_ChannelValues(t,l,s){if(n(t)&&"none"===t[4].value.toLowerCase())return s.syntaxFlags.add(Le.HasNoneKeywords),[e.Number,"none",t[2],t[3],{value:Number.NaN,type:a.Number}];if(r(t)){3!==l&&s.syntaxFlags.add(Le.HasPercentageValues);let n=normalize(t[4].value,100,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,100,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}if(o(t)){3!==l&&s.syntaxFlags.add(Le.HasNumberValues);let n=normalize(t[4].value,255,-2147483647,2147483647);return 3===l&&(n=normalize(t[4].value,1,0,1)),[e.Number,n.toString(),t[2],t[3],{value:n,type:a.Number}]}return!1}function rgb(e,a){if(e.value.some(e=>ve(e)&&s(e.value))){const a=rgbCommaSeparated(e);if(!1!==a)return(!a.syntaxFlags.has(Le.HasNumberValues)||!a.syntaxFlags.has(Le.HasPercentageValues))&&a}else{const n=rgbSpaceSeparated(e,a);if(!1!==n)return n}return!1}function rgbCommaSeparated(e){return threeChannelLegacySyntax(e,normalize_legacy_sRGB_ChannelValues,De.RGB,[Le.LegacyRGB])}function rgbSpaceSeparated(e,a){return threeChannelSpaceSeparated(e,normalize_modern_sRGB_ChannelValues,De.RGB,[],a)}function XYZ_D65_to_sRGB_Gamut(e){const a=x(e);if(ee(a))return ae(a);let n=e;return n=N(n),n[0]<1e-6&&(n=[0,0,0]),n[0]>.999999&&(n=[1,0,0]),ne(re(n,oklch_to_lin_srgb,lin_srgb_to_oklch))}function oklch_to_lin_srgb(e){return e=oe(e),e=te(e),le(e)}function lin_srgb_to_oklch(e){return e=se(e),e=ce(e),ue(e)}function contrastColor(e,a){let n=!1;for(let r=0;rt?[1,1,1]:[0,0,0],r}function alpha(e,a){let r,s,c=!1,u=!1,i=!1;const h={colorNotation:De.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])};for(let m=0;m{if(ve(e)&&n(e.value)&&"alpha"===toLowerCaseAZ(e.value[4].value)&&r&&r.has("alpha"))return new ge(r.get("alpha"))});h.alpha=e[0][0],u=!0;continue}return!1}if(i)return!1;for(;pe(e.value[m+1])||be(e.value[m+1]);)m++;if(m++,N=e.value[m],i=a(N),!1===i)return!1;r=normalizeRelativeColorDataChannels(i),s=noneToZeroInRelativeColorDataChannels(r),h.syntaxFlags=new Set(i.syntaxFlags),h.syntaxFlags.add(Le.RelativeAlphaSyntax),h.channels=[...i.channels],h.colorNotation=i.colorNotation,h.alpha=i.alpha}}return!!r&&h}function XYZ_D65_to_P3_Gamut(e){const a=C(e);if(ee(a))return ae(a);let n=e;return n=N(n),n[0]<1e-6&&(n=[0,0,0]),n[0]>.999999&&(n=[1,0,0]),he(re(n,oklch_to_lin_p3,lin_p3_to_oklch))}function oklch_to_lin_p3(e){return e=oe(e),e=te(e),me(e)}function lin_p3_to_oklch(e){return e=Ne(e),e=ce(e),ue(e)}function toPrecision(e,a=7){e=+e,a=+a;const n=(Math.floor(Math.abs(e))+"").length;if(a>n)return+e.toFixed(a-n);{const r=10**(n-a);return Math.round(e/r)*r}}function serializeWithAlpha(n,r,o,t){const l=[e.CloseParen,")",-1,-1,void 0];if("number"==typeof n.alpha){const s=Math.min(1,Math.max(0,toPrecision(Number.isNaN(n.alpha)?0:n.alpha)));return 1===toPrecision(s,4)?new _e(r,l,t):new _e(r,l,[...t,new Ce([o]),new ge([e.Delim,"/",-1,-1,{value:"/"}]),new Ce([o]),new ge([e.Number,toPrecision(s,4).toString(),-1,-1,{value:n.alpha,type:a.Integer}])])}return new _e(r,l,[...t,new Ce([o]),new ge([e.Delim,"/",-1,-1,{value:"/"}]),new Ce([o]),n.alpha])}function serializeP3(n,r=!0){n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation);let o=n.channels.map(e=>Number.isNaN(e)?0:e);r?o=XYZ_D65_to_P3_Gamut(colorData_to_XYZ_D65(n).channels):n.colorNotation!==De.Display_P3&&(o=C(colorData_to_XYZ_D65(n).channels));const t=r?Math.min(1,Math.max(0,toPrecision(o[0],6))):toPrecision(o[0],6),l=r?Math.min(1,Math.max(0,toPrecision(o[1],6))):toPrecision(o[1],6),s=r?Math.min(1,Math.max(0,toPrecision(o[2],6))):toPrecision(o[2],6),c=[e.Function,"color(",-1,-1,{value:"color"}],u=[e.Whitespace," ",-1,-1,void 0];return serializeWithAlpha(n,c,u,[new ge([e.Ident,"display-p3",-1,-1,{value:"display-p3"}]),new Ce([u]),new ge([e.Number,t.toString(),-1,-1,{value:o[0],type:a.Number}]),new Ce([u]),new ge([e.Number,l.toString(),-1,-1,{value:o[1],type:a.Number}]),new Ce([u]),new ge([e.Number,s.toString(),-1,-1,{value:o[2],type:a.Number}])])}function serializeRGB(n,r=!0){let o;n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation),o=r?XYZ_D65_to_sRGB_Gamut(colorData_to_XYZ_D65(n).channels):x(colorData_to_XYZ_D65(n).channels);const t=Math.min(255,Math.max(0,Math.round(255*toPrecision(o[0])))),l=Math.min(255,Math.max(0,Math.round(255*toPrecision(o[1])))),s=Math.min(255,Math.max(0,Math.round(255*toPrecision(o[2])))),c=[e.CloseParen,")",-1,-1,void 0],u=[e.Whitespace," ",-1,-1,void 0],i=[e.Comma,",",-1,-1,void 0],h=[new ge([e.Number,t.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,o[0])),type:a.Integer}]),new ge(i),new Ce([u]),new ge([e.Number,l.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,o[1])),type:a.Integer}]),new ge(i),new Ce([u]),new ge([e.Number,s.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,o[2])),type:a.Integer}])];if("number"==typeof n.alpha){const r=Math.min(1,Math.max(0,toPrecision(Number.isNaN(n.alpha)?0:n.alpha)));return 1===toPrecision(r,4)?new _e([e.Function,"rgb(",-1,-1,{value:"rgb"}],c,h):new _e([e.Function,"rgba(",-1,-1,{value:"rgba"}],c,[...h,new ge(i),new Ce([u]),new ge([e.Number,toPrecision(r,4).toString(),-1,-1,{value:n.alpha,type:a.Number}])])}return new _e([e.Function,"rgba(",-1,-1,{value:"rgba"}],c,[...h,new ge(i),new Ce([u]),n.alpha])}function serializeHSL(n,r=!0){let o;n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation),o=f(r?B(XYZ_D65_to_sRGB_Gamut(colorData_to_XYZ_D65(n).channels)):colorData_to_XYZ_D65(n).channels),o=o.map(e=>Number.isNaN(e)?0:e);const t=Math.min(360,Math.max(0,Math.round(toPrecision(o[0]))))%360,l=Math.min(100,Math.max(0,Math.round(toPrecision(o[1])))),s=Math.min(100,Math.max(0,Math.round(toPrecision(o[2])))),c=[e.CloseParen,")",-1,-1,void 0],u=[e.Whitespace," ",-1,-1,void 0],i=[e.Comma,",",-1,-1,void 0],h=[new ge([e.Number,t.toString(),-1,-1,{value:o[0],type:a.Integer}]),new ge(i),new Ce([u]),new ge([e.Percentage,l.toString()+"%",-1,-1,{value:o[1]}]),new ge(i),new Ce([u]),new ge([e.Percentage,s.toString()+"%",-1,-1,{value:o[2]}])];if("number"==typeof n.alpha){const r=Math.min(1,Math.max(0,toPrecision(Number.isNaN(n.alpha)?0:n.alpha)));return 1===toPrecision(r,4)?new _e([e.Function,"hsl(",-1,-1,{value:"hsl"}],c,h):new _e([e.Function,"hsla(",-1,-1,{value:"hsla"}],c,[...h,new ge(i),new Ce([u]),new ge([e.Number,toPrecision(r,4).toString(),-1,-1,{value:n.alpha,type:a.Number}])])}return new _e([e.Function,"hsla(",-1,-1,{value:"hsla"}],c,[...h,new ge(i),new Ce([u]),n.alpha])}function serializeOKLCH(n){n.channels=convertPowerlessComponentsToZeroValuesForDisplay(n.channels,n.colorNotation);let r=n.channels.map(e=>Number.isNaN(e)?0:e);n.colorNotation!==De.OKLCH&&(r=N(colorData_to_XYZ_D65(n).channels));const o=toPrecision(r[0],6),t=toPrecision(r[1],6),l=toPrecision(r[2],6),s=[e.Function,"oklch(",-1,-1,{value:"oklch"}],c=[e.Whitespace," ",-1,-1,void 0];return serializeWithAlpha(n,s,c,[new ge([e.Number,o.toString(),-1,-1,{value:r[0],type:a.Number}]),new Ce([c]),new ge([e.Number,t.toString(),-1,-1,{value:r[1],type:a.Number}]),new Ce([c]),new ge([e.Number,l.toString(),-1,-1,{value:r[2],type:a.Number}])])}function color(e){if(fe(e)){switch(toLowerCaseAZ(e.getName())){case"rgb":case"rgba":return rgb(e,color);case"hsl":case"hsla":return hsl(e,color);case"hwb":return a=color,threeChannelSpaceSeparated(e,normalize_HWB_ChannelValues,De.HWB,[],a);case"lab":return lab(e,color);case"lch":return lch(e,color);case"oklab":return oklab(e,color);case"oklch":return oklch(e,color);case"color":return color$1(e,color);case"color-mix":return colorMix(e,color);case"contrast-color":return contrastColor(e,color);case"alpha":return alpha(e,color)}}var a;if(ve(e)){if(u(e.value))return hex(e.value);if(n(e.value)){const a=namedColor(e.value[4].value);return!1!==a?a:"transparent"===toLowerCaseAZ(e.value[4].value)&&{colorNotation:De.RGB,channels:[0,0,0],alpha:0,syntaxFlags:new Set([Le.ColorKeyword])}}}return!1}export{De as ColorNotation,Le as SyntaxFlag,color,colorDataFitsDisplayP3_Gamut,colorDataFitsRGB_Gamut,serializeHSL,serializeOKLCH,serializeP3,serializeRGB}; diff --git a/packages/css-color-parser/src/color-data.ts b/packages/css-color-parser/src/color-data.ts index e109cb25ba..848964343e 100644 --- a/packages/css-color-parser/src/color-data.ts +++ b/packages/css-color-parser/src/color-data.ts @@ -592,25 +592,25 @@ function convertPowerlessComponentsToMissingComponents(a: Color, colorNotation: switch (colorNotation) { case ColorNotation.HSL: - if (!Number.isNaN(out[1]) && out[1] <= 0.001) { + if ((Number.isNaN(out[1]) ? 0 : out[1]) <= 0.001) { out[0] = Number.NaN; } break; case ColorNotation.HWB: - if (!Number.isNaN(out[1]) && !Number.isNaN(out[2]) && (Math.max(0, out[1]) + Math.max(0, out[2])) >= 99.999) { + if ((Math.max(0, (Number.isNaN(out[1]) ? 0 : out[1])) + Math.max(0, (Number.isNaN(out[2]) ? 0 : out[2]))) >= 99.999) { out[0] = Number.NaN; } break; case ColorNotation.LCH: - if (!Number.isNaN(out[1]) && out[1] <= 0.0015) { + if ((Number.isNaN(out[1]) ? 0 : out[1]) <= 0.0015) { out[2] = Number.NaN; } break; case ColorNotation.OKLCH: - if (!Number.isNaN(out[1]) && out[1] <= 0.000004) { + if ((Number.isNaN(out[1]) ? 0 : out[1]) <= 0.000004) { out[2] = Number.NaN; } @@ -625,18 +625,18 @@ export function convertPowerlessComponentsToZeroValuesForDisplay(a: Color, color switch (colorNotation) { case ColorNotation.HSL: - if (reducePrecision(out[2]) <= 0 || reducePrecision(out[2]) >= 100) { + if ((Number.isNaN(out[1]) ? 0 : out[1]) <= 0.001) { out[0] = Number.NaN; - out[1] = Number.NaN; } - if (!Number.isNaN(out[1]) && out[1] <= 0.001) { + if (reducePrecision(out[2]) <= 0 || reducePrecision(out[2]) >= 100) { out[0] = Number.NaN; + out[1] = Number.NaN; } break; case ColorNotation.HWB: - if (!Number.isNaN(out[1]) && !Number.isNaN(out[2]) && (Math.max(0, out[1]) + Math.max(0, out[2])) >= 99.999) { + if ((Math.max(0, (Number.isNaN(out[1]) ? 0 : out[1])) + Math.max(0, (Number.isNaN(out[2]) ? 0 : out[2]))) >= 99.999) { out[0] = Number.NaN; } break; @@ -647,7 +647,7 @@ export function convertPowerlessComponentsToZeroValuesForDisplay(a: Color, color } break; case ColorNotation.LCH: - if (!Number.isNaN(out[1]) && out[1] <= 0.0015) { + if ((Number.isNaN(out[1]) ? 0 : out[1]) <= 0.0015) { out[2] = Number.NaN; } @@ -663,7 +663,7 @@ export function convertPowerlessComponentsToZeroValuesForDisplay(a: Color, color } break; case ColorNotation.OKLCH: - if (!Number.isNaN(out[1]) && out[1] <= 0.000004) { + if ((Number.isNaN(out[1]) ? 0 : out[1]) <= 0.000004) { out[2] = Number.NaN; } diff --git a/packages/css-color-parser/src/functions/color.ts b/packages/css-color-parser/src/functions/color.ts index d7371b1cfc..0514fb834d 100644 --- a/packages/css-color-parser/src/functions/color.ts +++ b/packages/css-color-parser/src/functions/color.ts @@ -106,10 +106,7 @@ export function color(colorFunctionNode: FunctionNode, colorParser: ColorParser) colorData.colorNotation = colorSpaceNameToColorNotation(colorSpace); if (relativeToColor) { - if (relativeToColor.colorNotation !== colorData.colorNotation) { - relativeToColor = colorDataTo(relativeToColor, colorData.colorNotation); - } - + relativeToColor = colorDataTo(relativeToColor, colorData.colorNotation); relativeColorChannels = normalizeRelativeColorDataChannels(relativeToColor); relativeColorChannelsWithoutNone = noneToZeroInRelativeColorDataChannels(relativeColorChannels); } diff --git a/packages/css-color-parser/src/functions/three-channel-space-separated.ts b/packages/css-color-parser/src/functions/three-channel-space-separated.ts index 00a773abeb..93742e6966 100644 --- a/packages/css-color-parser/src/functions/three-channel-space-separated.ts +++ b/packages/css-color-parser/src/functions/three-channel-space-separated.ts @@ -122,10 +122,7 @@ export function threeChannelSpaceSeparated( colorData.syntaxFlags.add(SyntaxFlag.RelativeColorSyntax); - if (relativeToColor.colorNotation !== colorNotation) { - relativeToColor = colorDataTo(relativeToColor, colorNotation); - } - + relativeToColor = colorDataTo(relativeToColor, colorNotation); relativeColorChannels = normalizeRelativeColorDataChannels(relativeToColor); relativeColorChannelsWithoutNone = noneToZeroInRelativeColorDataChannels(relativeColorChannels); diff --git a/packages/css-color-parser/test/basic/basic.mjs b/packages/css-color-parser/test/basic/basic.mjs index 6db8cc417e..ba43e81a78 100644 --- a/packages/css-color-parser/test/basic/basic.mjs +++ b/packages/css-color-parser/test/basic/basic.mjs @@ -259,7 +259,7 @@ assert.deepStrictEqual( color(parse('lch(from hwb(50deg none none) l c h)')), { colorNotation: 'lch', - channels: [NaN, NaN, 87.26522367839932], + channels: [NaN, NaN, NaN], alpha: 1, syntaxFlags: new Set(['relative-color-syntax', 'has-number-values']), }, diff --git a/packages/css-color-parser/test/basic/color-mix-function-oklch.mjs b/packages/css-color-parser/test/basic/color-mix-function-oklch.mjs index 3fd02f60ea..eba6cbebb6 100644 --- a/packages/css-color-parser/test/basic/color-mix-function-oklch.mjs +++ b/packages/css-color-parser/test/basic/color-mix-function-oklch.mjs @@ -8,11 +8,11 @@ const tests = [ ['color-mix(in oklch, rgb(255, 255, 255), rgb(180, 6, 95))', 'oklch(0.75031 0.10016 359.858)'], ['color-mix(in lch, oklch(75% 0% 60deg), oklch(75% 50% 0deg))', 'oklch(0.74979 0.09824 0.10588)'], ['color-mix(in oklch, oklch(100% 0% none), oklch(50% 50% 0deg))', 'oklch(0.75 0.1 0)'], - ['color-mix(in oklch, oklch(100% none 60deg), oklch(50% 50% 0deg))', 'oklch(0.75 0.2 30)'], + ['color-mix(in oklch, oklch(100% none 60deg), oklch(50% 50% 0deg))', 'oklch(0.75 0.2 0)'], // Analogous sets ['color-mix(in oklch, rgb(none none none), oklch(0.5 0.2 50))', 'oklch(0.5 0.2 50)'], - ['color-mix(in oklch, hwb(100deg none none), oklch(0.5 0.2 50deg))', 'oklch(0.5 0.2 94.8876)'], + ['color-mix(in oklch, hwb(100deg none none), oklch(0.5 0.2 50deg))', 'oklch(0.5 0.2 50)'], ['color-mix(in oklch, lab(100 none none), oklch(0.5 0.2 50deg))', 'oklch(0.75 0.2 50)'], ]; diff --git a/packages/css-color-parser/test/basic/color-mix-function.mjs b/packages/css-color-parser/test/basic/color-mix-function.mjs index 699f568a5c..b884175f1c 100644 --- a/packages/css-color-parser/test/basic/color-mix-function.mjs +++ b/packages/css-color-parser/test/basic/color-mix-function.mjs @@ -65,6 +65,18 @@ const tests = [ ['color-mix(in oklch, green 40%, oklch(0.747 0.196 322.2))', 'rgb(0, 148, 253)'], ['color-mix(in oklch, green 40%, hsl(292deg 85.71% 72.55%))', 'rgb(0, 148, 253)'], + ['color-mix(in display-p3-linear, green 40%, color(srgb 0.8978862558205767 0.4885001647805462 0.9594359763905097))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(srgb-linear 0.7832360124544266 0.2035510416163499 0.9101924728483531))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(a98-rgb 0.8035122804301492 0.484896415622613 0.9440692746539695))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(prophoto-rgb 0.7596595159204217 0.4934889951894072 0.8985832663171222))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(display-p3 0.843565234 0.509345345 0.9342344435))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(rec2020 0.807076644727751 0.5627572708703388 0.9326528689276063))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(xyz-d50 0.5501693084815327 0.37536346388820246 0.6806345611398199))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(xyz-d65 0.5600582450343325 0.37782875858447507 0.904570025128693))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, color(xyz 0.5600582450343325 0.37782875858447507 0.904570025128693))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, oklch(0.747 0.196 322.2))', 'rgb(182, 126, 195)'], + ['color-mix(in display-p3-linear, green 40%, hsl(292deg 85.71% 72.55%))', 'rgb(182, 126, 195)'], + ['color-mix(in srgb, color(xyz 1 none 0) 30%, rgb(none 255 128))', 'rgb(255, 255, 255)'], ['color-mix(in oklab, #09232c, white 50%)', 'rgb(123, 137, 142)'], @@ -104,7 +116,7 @@ const tests = [ ['color-mix(in hsl, color-mix(in hsl longer hue, hsl(50deg 0% 50%), hsl(50deg 0% 50%)), hsl(180deg 100% 50%))', canonicalize('hsl(180deg 50% 50%)')], - ['color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg none none / none))', canonicalize('hsl(90deg 40% 80% / 25%)')], + ['color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg none none / none))', canonicalize('hsl(30deg 40% 80% / 25%)')], ['color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(90deg none none / 0.5))', canonicalize('hwb(90deg 30% 40% / 0.5)')], ['color-mix(in hsl, hsl(from hsl(none 50% 50%) h s l), hsl(from hsl(120deg 50% 50%) h s l))', canonicalize('hsl(120deg 50% 50%)')], ['color-mix(in hsl, hsl(from hsl(0deg 50% 50%) none s l), hsl(from hsl(120deg 50% 50%) h s l))', canonicalize('hsl(120deg 50% 50%)')], diff --git a/packages/css-color-parser/test/basic/none-exhaustive.mjs b/packages/css-color-parser/test/basic/none-exhaustive.mjs new file mode 100644 index 0000000000..c4677d0a71 --- /dev/null +++ b/packages/css-color-parser/test/basic/none-exhaustive.mjs @@ -0,0 +1,294 @@ +import assert from 'node:assert'; +import { computedValue, reducePrecisionWholeValue } from '../util/serialize.mjs'; + +{ + const tests = [ + // https://github.com/w3c/csswg-drafts/issues/14095 + ['hsl(from hsl(180 none 50%) h s l)', 'hsl(none none 50%)'], + ['hsl(from hsl(180 0 50%) h s l)', 'hsl(none 0% 50%)'], + ['hsl(from lch(20 none 180) h s l)', 'hsl(none none 18.93757452%)'], + ['hsl(from lch(20 0 180) h s l)', 'hsl(none 0% 18.93757452%)'], + + // https://github.com/w3c/csswg-drafts/issues/14100 + ['lch(from orchid l 0 h)', 'lch(62.75256542 0 326.96909222)'], + ['lch(from lch(from orchid l 0 h) l c h)', 'lch(62.75256542 0 none)'], + ['color-mix(in lch, lch(from orchid l 0 h))', 'lch(62.75256542 0 none)'], + + // exhaustive tests + // HSL + ['hsl(from hsl(none 50% 50%) h s l)', 'hsl(none 50% 50%)'], + ['hsl(from hsl(180 none 50%) h s l)', 'hsl(none none 50%)'], + ['hsl(from hsl(180 50% none) h s l)', 'hsl(180 50% none)'], + ['hsl(from hsl(none none 50%) h s l)', 'hsl(none none 50%)'], + ['hsl(from hsl(180 none none) h s l)', 'hsl(none none none)'], + ['hsl(from hsl(none 50% none) h s l)', 'hsl(none 50% none)'], + ['hsl(from hsl(none none none) h s l)', 'hsl(none none none)'], + + ['hsl(from hwb(none 25% 25%) h s l)', 'hsl(none 50% 50%)'], + ['hsl(from hwb(180 none 25%) h s l)', 'color(srgb 0 0.75 0.75)'], + ['hsl(from hwb(180 25% none) h s l)', 'color(srgb 0.25 1 1)'], + ['hsl(from hwb(none none 25%) h s l)', 'hsl(none 100% 37.5%)'], + ['hsl(from hwb(180 none none) h s l)', 'hsl(none none none)'], + ['hsl(from hwb(none 25% none) h s l)', 'hsl(none 100% 62.5%)'], + ['hsl(from hwb(none none none) h s l)', 'hsl(none none none)'], + + ['hsl(from lch(none 20 180) h s l)', 'hsl(339.80326134 266.58541811% none)'], + ['hsl(from lch(20 none 180) h s l)', 'hsl(none none 18.93757452%)'], + ['hsl(from lch(20 20 none) h s l)', 'hsl(none 35.05613281% 21.64776943%)'], + ['hsl(from lch(none none 180) h s l)', 'hsl(none none none)'], + ['hsl(from lch(20 none none) h s l)', 'hsl(none none 18.93757452%)'], + ['hsl(from lch(none 20 none) h s l)', 'hsl(none 266.58541811% none)'], + ['hsl(from lch(none none none) h s l)', 'hsl(none none none)'], + + ['hsl(from oklch(none 0.2 180) h s l)', 'hsl(345.65323987 193.08743918% none)'], + ['hsl(from oklch(0.2 none 180) h s l)', 'hsl(none none 8.61042044%)'], + ['hsl(from oklch(0.2 0.2 none) h s l)', 'hsl(none 250.47260791% 8.44443686%)'], + ['hsl(from oklch(none none 180) h s l)', 'hsl(none none none)'], + ['hsl(from oklch(0.2 none none) h s l)', 'hsl(none none 8.61042044%)'], + ['hsl(from oklch(none 0.2 none) h s l)', 'hsl(none 193.08743918% none)'], + ['hsl(from oklch(none none none) h s l)', 'hsl(none none none)'], + + ['hsl(from lab(none 10 10) h s l)', 'hsl(15.41935071 846.24593338% none)'], + ['hsl(from lab(50 none 10) h s l)', 'color(srgb 0.48695869 0.46487838 0.39973421)'], + ['hsl(from lab(50 10 none) h s l)', 'color(srgb 0.53211144 0.44322485 0.46796893)'], + ['hsl(from lab(none none 10) h s l)', 'hsl(221.36868606 238.90028442% none)'], + ['hsl(from lab(50 none none) h s l)', 'hsl(none none 46.63266093%)'], + ['hsl(from lab(none 10 none) h s l)', 'hsl(342.55812287 218.14148709% none)'], + ['hsl(from lab(none none none) h s l)', 'hsl(none none none)'], + + ['hsl(from oklab(none 0.1 0.1) h s l)', 'hsl(243.07265774 131.85826046% none)'], + ['hsl(from oklab(0.5 none 0.1) h s l)', 'color(srgb 0.4759136 0.37572819 0.02451529)'], + ['hsl(from oklab(0.5 0.1 none) h s l)', 'color(srgb 0.56587447 0.28546849 0.37966669)'], + ['hsl(from oklab(none none 0.1) h s l)', 'hsl(256.18317397 149.40414617% none)'], + ['hsl(from oklab(0.5 none none) h s l)', 'hsl(none none 38.8572859%)'], + ['hsl(from oklab(none 0.1 none) h s l)', 'hsl(345.65323987 193.08743918% none)'], + ['hsl(from oklab(none none none) h s l)', 'hsl(none none none)'], + + ['hsl(from rgb(none none none) h s l)', 'hsl(none none none)'], + ['hsl(from color(display-p3 none none none) h s l)', 'hsl(none none none)'], + + // HWB + ['hwb(from hsl(none 50% 50%) h w b)', 'hwb(none 25% 25%)'], + ['hwb(from hsl(180 none 50%) h w b)', 'hwb(none 50% 50%)'], + ['hwb(from hsl(180 50% none) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from hsl(none none 50%) h w b)', 'hwb(none 50% 50%)'], + ['hwb(from hsl(180 none none) h w b)', 'hwb(none none none)'], + ['hwb(from hsl(none 50% none) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from hsl(none none none) h w b)', 'hwb(none none none)'], + + ['hwb(from hwb(none 25% 25%) h w b)', 'hwb(none 25% 25%)'], + ['hwb(from hwb(180 none 25%) h w b)', 'hwb(180 none 25%)'], + ['hwb(from hwb(180 25% none) h w b)', 'hwb(180 25% none)'], + ['hwb(from hwb(none none 25%) h w b)', 'hwb(none none 25%)'], + ['hwb(from hwb(180 none none) h w b)', 'hwb(180 none none)'], + ['hwb(from hwb(none 25% none) h w b)', 'hwb(none 25% none)'], + ['hwb(from hwb(none none none) h w b)', 'hwb(none none none)'], + + ['hwb(from lch(none 20 180) h w b)', 'color(srgb -0.13099833 0.05952886 -0.00460494)'], + ['hwb(from lch(20 none 180) h w b)', 'hwb(none 18.93757452% 81.06242548%)'], + ['hwb(from lch(20 20 none) h w b)', 'hwb(none 14.05889863% 70.76335977%)'], + ['hwb(from lch(none none 180) h w b)', 'hwb(none none none)'], + ['hwb(from lch(20 none none) h w b)', 'hwb(none 18.93757452% 81.06242548%)'], + ['hwb(from lch(none 20 none) h w b)', 'hwb(none -5.95288574% 86.90016729%)'], + ['hwb(from lch(none none none) h w b)', 'hwb(none none none)'], + + ['hwb(from oklch(none 0.2 180) h w b)', 'color(srgb -0.0266189 0.00845442 0.00006795)'], + ['hwb(from oklch(0.2 none 180) h w b)', 'hwb(none 8.61042044% 91.38957956%)'], + ['hwb(from oklch(0.2 0.2 none) h w b)', 'hwb(none -12.70656437% 70.40456191%)'], + ['hwb(from oklch(none none 180) h w b)', 'hwb(none none none)'], + ['hwb(from oklch(0.2 none none) h w b)', 'hwb(none 8.61042044% 91.38957956%)'], + ['hwb(from oklch(none 0.2 none) h w b)', 'hwb(none -0.84544246% 97.33810956%)'], + ['hwb(from oklch(none none none) h w b)', 'hwb(none none none)'], + + ['hwb(from lab(none 10 10) h w b)', 'color(srgb 0.10216252 -0.03360919 -0.08056929)'], + ['hwb(from lab(50 none 10) h w b)', 'color(srgb 0.48695869 0.46487838 0.39973421)'], + ['hwb(from lab(50 10 none) h w b)', 'color(srgb 0.53211144 0.44322485 0.46796893)'], + ['hwb(from lab(none none 10) h w b)', 'color(srgb 0.03358551 -0.00228914 -0.08194467)'], + ['hwb(from lab(50 none none) h w b)', 'hwb(none 46.63266093% 53.36733907%)'], + ['hwb(from lab(none 10 none) h w b)', 'color(srgb 0.0843413 -0.03132005 0.00230247)'], + ['hwb(from lab(none none none) h w b)', 'hwb(none none none)'], + + ['hwb(from oklab(none 0.1 0.1) h w b)', 'color(srgb 0.00443054 0.00769076 -0.05597186)'], + ['hwb(from oklab(0.5 none 0.1) h w b)', 'color(srgb 0.4759136 0.37572819 0.02451529)'], + ['hwb(from oklab(0.5 0.1 none) h w b)', 'color(srgb 0.56587447 0.28546849 0.37966669)'], + ['hwb(from oklab(none none 0.1) h w b)', 'color(srgb -0.00588767 0.00932583 -0.04707904)'], + ['hwb(from oklab(0.5 none none) h w b)', 'hwb(none 38.8572859% 61.1427141%)'], + ['hwb(from oklab(none 0.1 none) h w b)', 'color(srgb 0.00332736 -0.0010568 -0.00000849)'], + ['hwb(from oklab(none none none) h w b)', 'hwb(none none none)'], + + ['hwb(from rgb(none none none) h w b)', 'hwb(none none none)'], + ['hwb(from color(display-p3 none none none) h w b)', 'hwb(none none none)'], + + // LCH + ['lch(from hsl(none 50% 50%) l c h)', 'lch(46.42043661 59.74639249 none)'], + ['lch(from hsl(180 none 50%) l c h)', 'lch(53.38896474 none none)'], + ['lch(from hsl(180 50% none) l c h)', 'lch(none 0 none)'], + ['lch(from hsl(none none 50%) l c h)', 'lch(53.38896474 none none)'], + ['lch(from hsl(180 none none) l c h)', 'lch(none none none)'], + ['lch(from hsl(none 50% none) l c h)', 'lch(none 0 none)'], + ['lch(from hsl(none none none) l c h)', 'lch(none none none)'], + + ['lch(from hwb(none 25% 25%) l c h)', 'lch(46.42043661 59.74639249 none)'], + ['lch(from hwb(180 none 25%) l c h)', 'lch(69.91337803 42.54334477 196.45478916)'], + ['lch(from hwb(180 25% none) l c h)', 'lch(91.18116399 49.29673753 196.65803824)'], + ['lch(from hwb(none none 25%) l c h)', 'lch(40.61501478 86.05118759 none)'], + ['lch(from hwb(180 none none) l c h)', 'lch(none none none)'], + ['lch(from hwb(none 25% none) l c h)', 'lch(58.23109529 85.49243054 none)'], + ['lch(from hwb(none none none) l c h)', 'lch(none none none)'], + + ['lch(from lch(none 20 180) l c h)', 'lch(none 20 180)'], + ['lch(from lch(20 none 180) l c h)', 'lch(20 none none)'], + ['lch(from lch(20 20 none) l c h)', 'lch(20 20 none)'], + ['lch(from lch(none none 180) l c h)', 'lch(none none none)'], + ['lch(from lch(20 none none) l c h)', 'lch(20 none none)'], + ['lch(from lch(none 20 none) l c h)', 'lch(none 20 none)'], + ['lch(from lch(none none none) l c h)', 'lch(none none none)'], + + ['lch(from oklch(none 0.2 180) l c h)', 'lch(none 2.6503948 181.20369565)'], + ['lch(from oklch(0.2 none 180) l c h)', 'lch(7.22637037 none none)'], + ['lch(from oklch(0.2 0.2 none) l c h)', 'lch(5.10873217 59.48824051 none)'], + ['lch(from oklch(none none 180) l c h)', 'lch(none none none)'], + ['lch(from oklch(0.2 none none) l c h)', 'lch(7.22637037 none none)'], + ['lch(from oklch(none 0.2 none) l c h)', 'lch(none 2.6503948 none)'], + ['lch(from oklch(none none none) l c h)', 'lch(none none none)'], + + ['lch(from lab(none 10 10) l c h)', 'lch(none 14.14213562 45)'], + ['lch(from lab(50 none 10) l c h)', 'lch(50 10 90)'], + ['lch(from lab(50 10 none) l c h)', 'lch(50 10 0)'], + ['lch(from lab(none none 10) l c h)', 'lch(none 10 90)'], + ['lch(from lab(50 none none) l c h)', 'lch(50 none none)'], + ['lch(from lab(none 10 none) l c h)', 'lch(none 10 0)'], + ['lch(from lab(none none none) l c h)', 'lch(none none none)'], + + ['lch(from oklab(none 0.1 0.1) l c h)', 'lch(none 6.59869105 107.32334354)'], + ['lch(from oklab(0.5 none 0.1) l c h)', 'lch(42.22128134 47.63708012 84.22289046)'], + ['lch(from oklab(0.5 0.1 none) l c h)', 'lch(40.74235313 32.8495187 0.72132548)'], + ['lch(from oklab(none none 0.1) l c h)', 'lch(none 5.73918282 116.45307687)'], + ['lch(from oklab(0.5 none none) l c h)', 'lch(42 none none)'], + ['lch(from oklab(none 0.1 none) l c h)', 'lch(none 0.33129935 1.20369565)'], + ['lch(from oklab(none none none) l c h)', 'lch(none none none)'], + + ['lch(from rgb(none none none) l c h)', 'lch(none none none)'], + ['lch(from color(display-p3 none none none) l c h)', 'lch(none none none)'], + + // oklch + ['oklch(from hsl(none 50% 50%) l c h)', 'oklch(0.55233858 0.16366995 none)'], + ['oklch(from hsl(180 none 50%) l c h)', 'oklch(0.59818073 none none)'], + ['oklch(from hsl(180 50% none) l c h)', 'oklch(none 0 none)'], + ['oklch(from hsl(none none 50%) l c h)', 'oklch(0.59818073 none none)'], + ['oklch(from hsl(180 none none) l c h)', 'oklch(none none none)'], + ['oklch(from hsl(none 50% none) l c h)', 'oklch(none 0 none)'], + ['oklch(from hsl(none none none) l c h)', 'oklch(none none none)'], + + ['oklch(from hwb(none 25% 25%) l c h)', 'oklch(0.55233858 0.16366995 none)'], + ['oklch(from hwb(180 none 25%) l c h)', 'oklch(0.72924735 0.12448121 194.7689599)'], + ['oklch(from hwb(180 25% none) l c h)', 'oklch(0.91079253 0.14429702 194.91785641)'], + ['oklch(from hwb(none none 25%) l c h)', 'oklch(0.50578216 0.20754918 none)'], + ['oklch(from hwb(180 none none) l c h)', 'oklch(none none none)'], + ['oklch(from hwb(none 25% none) l c h)', 'oklch(0.65951623 0.22690049 none)'], + ['oklch(from hwb(none none none) l c h)', 'oklch(none none none)'], + + ['oklch(from lch(none 20 180) l c h)', 'oklch(none 0.26412556 175.27132911)'], + ['oklch(from lch(20 none 180) l c h)', 'oklch(0.31034483 none none)'], + ['oklch(from lch(20 20 none) l c h)', 'oklch(0.31697196 0.06085528 none)'], + ['oklch(from lch(none none 180) l c h)', 'oklch(none none none)'], + ['oklch(from lch(20 none none) l c h)', 'oklch(0.31034483 none none)'], + ['oklch(from lch(none 20 none) l c h)', 'oklch(none 0.26412556 none)'], + ['oklch(from lch(none none none) l c h)', 'oklch(none none none)'], + + ['oklch(from oklch(none 0.2 180) l c h)', 'oklch(none 0.2 180)'], + ['oklch(from oklch(0.2 none 180) l c h)', 'oklch(0.2 none none)'], + ['oklch(from oklch(0.2 0.2 none) l c h)', 'oklch(0.2 0.2 none)'], + ['oklch(from oklch(none none 180) l c h)', 'oklch(none none none)'], + ['oklch(from oklch(0.2 none none) l c h)', 'oklch(0.2 none none)'], + ['oklch(from oklch(none 0.2 none) l c h)', 'oklch(none 0.2 none)'], + ['oklch(from oklch(none none none) l c h)', 'oklch(none none none)'], + + ['oklch(from lab(none 10 10) l c h)', 'oklch(none 0.3755088 12.38482735)'], + ['oklch(from lab(50 none 10) l c h)', 'oklch(0.56788978 0.02565454 91.47921894)'], + ['oklch(from lab(50 10 none) l c h)', 'oklch(0.57220592 0.02980361 359.47844895)'], + ['oklch(from lab(none none 10) l c h)', 'oklch(none 0.27769178 16.66376148)'], + ['oklch(from lab(50 none none) l c h)', 'oklch(0.56896552 none none)'], + ['oklch(from lab(none 10 none) l c h)', 'oklch(none 0.2096366 355.27132911)'], + ['oklch(from lab(none none none) l c h)', 'oklch(none none none)'], + + ['oklch(from oklab(none 0.1 0.1) l c h)', 'oklch(none 0.14142136 45)'], + ['oklch(from oklab(0.5 none 0.1) l c h)', 'oklch(0.5 0.1 90)'], + ['oklch(from oklab(0.5 0.1 none) l c h)', 'oklch(0.5 0.1 0)'], + ['oklch(from oklab(none none 0.1) l c h)', 'oklch(none 0.1 90)'], + ['oklch(from oklab(0.5 none none) l c h)', 'oklch(0.5 none none)'], + ['oklch(from oklab(none 0.1 none) l c h)', 'oklch(none 0.1 0)'], + ['oklch(from oklab(none none none) l c h)', 'oklch(none none none)'], + + ['oklch(from rgb(none none none) l c h)', 'oklch(none none none)'], + ['oklch(from color(display-p3 none none none) l c h)', 'oklch(none none none)'], + + // rgb + ['rgb(from rgb(none 50 100) r g b)', 'color(srgb none 0.19607843 0.39215686)'], + ['rgb(from rgb(25 none 100) r g b)', 'color(srgb 0.09803922 none 0.39215686)'], + ['rgb(from rgb(25 50 none) r g b)', 'color(srgb 0.09803922 0.19607843 none)'], + ['rgb(from rgb(none none 100) r g b)', 'color(srgb none none 0.39215686)'], + ['rgb(from rgb(25 none none) r g b)', 'color(srgb 0.09803922 none none)'], + ['rgb(from rgb(none 50 none) r g b)', 'color(srgb none 0.19607843 none)'], + ['rgb(from rgb(none none none) r g b)', 'color(srgb none none none)'], + + ['rgb(from color(display-p3 none 0.5 1) r g b)', 'color(srgb none 0.50960895 1.03498498)'], + ['rgb(from color(display-p3 0.25 none 1) r g b)', 'color(srgb 0.27690544 none 1.0416057)'], + ['rgb(from color(display-p3 0.25 0.5 none) r g b)', 'color(srgb 0.12407597 0.50734577 none)'], + ['rgb(from color(display-p3 none none 1) r g b)', 'color(srgb none none 1.04202162)'], + ['rgb(from color(display-p3 0.25 none none) r g b)', 'color(srgb 0.27690544 none none)'], + ['rgb(from color(display-p3 none 0.5 none) r g b)', 'color(srgb none 0.50960895 none)'], + ['rgb(from color(display-p3 none none none) r g b)', 'color(srgb none none none)'], + + ['rgb(from color(xyz none 0.5 1) r g b)', 'color(srgb none 0.99095134 0.97994511)'], + ['rgb(from color(xyz 0.25 none 1) r g b)', 'color(srgb 0.59403754 none 1.03053617)'], + ['rgb(from color(xyz 0.25 0.5 none) r g b)', 'color(srgb 0.22532444 0.85195951 none)'], + ['rgb(from color(xyz none none 1) r g b)', 'color(srgb none none 1.02463965)'], + ['rgb(from color(xyz 0.25 none none) r g b)', 'color(srgb 0.91144108 none none)'], + ['rgb(from color(xyz none 0.5 none) r g b)', 'color(srgb none 0.97222877 none)'], + ['rgb(from color(xyz none none none) r g b)', 'color(srgb none none none)'], + + ['rgb(from color(xyz-d50 none 0.5 1) r g b)', 'color(srgb none 0.99628519 1.11843052)'], + ['rgb(from color(xyz-d50 0.25 none 1) r g b)', 'color(srgb 0.57746244 none 1.16718092)'], + ['rgb(from color(xyz-d50 0.25 0.5 none) r g b)', 'color(srgb -0.17244425 0.8615337 none)'], + ['rgb(from color(xyz-d50 none none 1) r g b)', 'color(srgb none none 1.16072115)'], + ['rgb(from color(xyz-d50 0.25 none none) r g b)', 'color(srgb 0.89803728 none none)'], + ['rgb(from color(xyz-d50 none 0.5 none) r g b)', 'color(srgb none 0.98136351 none)'], + ['rgb(from color(xyz-d50 none none none) r g b)', 'color(srgb none none none)'], + + ['rgb(from hwb(none none none) r g b)', 'color(srgb none none none)'], + ['rgb(from hsl(none none none) r g b)', 'color(srgb none none none)'], + ['rgb(from lab(none none none) r g b)', 'color(srgb none none none)'], + ['rgb(from oklab(none none none) r g b)', 'color(srgb none none none)'], + + // lab + ['lab(from lab(none 10 10) l a b)', 'lab(none 10 10)'], + ['lab(from lab(50 none 10) l a b)', 'lab(50 none 10)'], + ['lab(from lab(50 10 none) l a b)', 'lab(50 10 none)'], + ['lab(from lab(none none 10) l a b)', 'lab(none none 10)'], + ['lab(from lab(50 none none) l a b)', 'lab(50 none none)'], + ['lab(from lab(none 10 none) l a b)', 'lab(none 10 none)'], + ['lab(from lab(none none none) l a b)', 'lab(none none none)'], + + ['lab(from oklab(none 0.1 0.1) l a b)', 'lab(none -1.96485158 6.29937155)'], + ['lab(from oklab(0.5 none 0.1) l a b)', 'lab(42.22128134 none 47.39513153)'], + ['lab(from oklab(0.5 0.1 none) l a b)', 'lab(40.74235313 32.84691548 none)'], + ['lab(from oklab(none none 0.1) l a b)', 'lab(none none 5.1382874)'], + ['lab(from oklab(0.5 none none) l a b)', 'lab(42 none none)'], + ['lab(from oklab(none 0.1 none) l a b)', 'lab(none 0.33122624 none)'], + ['lab(from oklab(none none none) l a b)', 'lab(none none none)'], + + ['lab(from hwb(none none none) l a b)', 'lab(none none none)'], + ['lab(from hsl(none none none) l a b)', 'lab(none none none)'], + ['lab(from rgb(none none none) l a b)', 'lab(none none none)'], + ['lab(from color(display-p3 none none none) l a b)', 'lab(none none none)'], + ]; + + for (const test of tests) { + assert.deepStrictEqual( + reducePrecisionWholeValue(computedValue(test[0])), + test[1], + `"${test[0]}" : ${test[1]}`, + ); + } +} diff --git a/packages/css-color-parser/test/basic/powerless-exhaustive.mjs b/packages/css-color-parser/test/basic/powerless-exhaustive.mjs new file mode 100644 index 0000000000..b10cf950b9 --- /dev/null +++ b/packages/css-color-parser/test/basic/powerless-exhaustive.mjs @@ -0,0 +1,229 @@ +import assert from 'node:assert'; +import { computedValue, reducePrecisionWholeValue } from '../util/serialize.mjs'; + +{ + const tests = [ + // exhaustive tests + // HSL + ['hsl(from hsl(0 50% 50%) h s l)', 'color(srgb 0.75 0.25 0.25)'], + ['hsl(from hsl(180 0 50%) h s l)', 'hsl(none 0% 50%)'], + ['hsl(from hsl(180 50% 0) h s l)', 'color(srgb 0 0 0)'], + ['hsl(from hsl(0 0 50%) h s l)', 'hsl(none 0% 50%)'], + ['hsl(from hsl(180 0 0) h s l)', 'hsl(none 0% 0%)'], + ['hsl(from hsl(0 50% 0) h s l)', 'color(srgb 0 0 0)'], + ['hsl(from hsl(0 0 0) h s l)', 'hsl(none 0% 0%)'], + + ['hsl(from hwb(0 25% 25%) h s l)', 'color(srgb 0.75 0.25 0.25)'], + ['hsl(from hwb(180 100% 25%) h s l)', 'hsl(none 0% 80%)'], + ['hsl(from hwb(180 25% 100%) h s l)', 'hsl(none 0% 20%)'], + ['hsl(from hwb(0 100% 25%) h s l)', 'hsl(none 0% 80%)'], + ['hsl(from hwb(180 100% 100%) h s l)', 'hsl(none 0% 50%)'], + ['hsl(from hwb(0 25% 100%) h s l)', 'hsl(none 0% 20%)'], + ['hsl(from hwb(0 100% 100%) h s l)', 'hsl(none 0% 50%)'], + + ['hsl(from lch(0 20 180) h s l)', 'color(srgb -0.13099833 0.05952886 -0.00460494)'], + ['hsl(from lch(20 0 180) h s l)', 'hsl(none 0% 18.93757452%)'], + ['hsl(from lch(20 20 0) h s l)', 'color(srgb 0.2923664 0.14058899 0.19244775)'], + ['hsl(from lch(0 0 180) h s l)', 'hsl(none 0% 0%)'], + ['hsl(from lch(20 0 0) h s l)', 'hsl(none 0% 18.93757452%)'], + ['hsl(from lch(0 20 0) h s l)', 'color(srgb 0.13099833 -0.05952886 0.00460494)'], + ['hsl(from lch(0 0 0) h s l)', 'hsl(none 0% 0%)'], + + ['hsl(from oklch(0 0.2 180) h s l)', 'color(srgb -0.0266189 0.00845442 0.00006795)'], + ['hsl(from oklch(0.2 0 180) h s l)', 'hsl(none 0% 8.61042044%)'], + ['hsl(from oklch(0.2 0.2 0) h s l)', 'color(srgb 0.29595438 -0.12706564 0.07183401)'], + ['hsl(from oklch(0 0 180) h s l)', 'hsl(none 0% 0%)'], + ['hsl(from oklch(0.2 0 0) h s l)', 'hsl(none 0% 8.61042044%)'], + ['hsl(from oklch(0 0.2 0) h s l)', 'color(srgb 0.0266189 -0.00845442 -0.00006795)'], + ['hsl(from oklch(0 0 0) h s l)', 'hsl(none 0% 0%)'], + + ['hsl(from rgb(0 0 0) h s l)', 'hsl(none 0% 0%)'], + ['hsl(from color(display-p3 0 0 0) h s l)', 'hsl(none 0% 0%)'], + ['hsl(from lab(0 0 0) h s l)', 'hsl(none 0% 0%)'], + ['hsl(from oklab(0 0 0) h s l)', 'hsl(none 0% 0%)'], + + + // HWB + ['hwb(from hsl(0 50% 50%) h w b)', 'color(srgb 0.75 0.25 0.25)'], + ['hwb(from hsl(180 0 50%) h w b)', 'hwb(none 50% 50%)'], + ['hwb(from hsl(180 50% 0) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from hsl(0 0 50%) h w b)', 'hwb(none 50% 50%)'], + ['hwb(from hsl(180 0 0) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from hsl(0 50% 0) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from hsl(0 0 0) h w b)', 'hwb(none 0% 100%)'], + + ['hwb(from hwb(0 25% 25%) h w b)', 'color(srgb 0.75 0.25 0.25)'], + ['hwb(from hwb(180 100% 25%) h w b)', 'hwb(none 100% 25%)'], + ['hwb(from hwb(180 25% 100%) h w b)', 'hwb(none 25% 100%)'], + ['hwb(from hwb(0 100% 25%) h w b)', 'hwb(none 100% 25%)'], + ['hwb(from hwb(180 100% 100%) h w b)', 'hwb(none 100% 100%)'], + ['hwb(from hwb(0 25% 100%) h w b)', 'hwb(none 25% 100%)'], + ['hwb(from hwb(0 100% 100%) h w b)', 'hwb(none 100% 100%)'], + + ['hwb(from lch(0 20 180) h w b)', 'color(srgb -0.13099833 0.05952886 -0.00460494)'], + ['hwb(from lch(20 0 180) h w b)', 'hwb(none 18.93757452% 81.06242548%)'], + ['hwb(from lch(20 20 0) h w b)', 'color(srgb 0.2923664 0.14058899 0.19244775)'], + ['hwb(from lch(0 0 180) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from lch(20 0 0) h w b)', 'hwb(none 18.93757452% 81.06242548%)'], + ['hwb(from lch(0 20 0) h w b)', 'color(srgb 0.13099833 -0.05952886 0.00460494)'], + ['hwb(from lch(0 0 0) h w b)', 'hwb(none 0% 100%)'], + + ['hwb(from oklch(0 0.2 180) h w b)', 'color(srgb -0.0266189 0.00845442 0.00006795)'], + ['hwb(from oklch(0.2 0 180) h w b)', 'hwb(none 8.61042044% 91.38957956%)'], + ['hwb(from oklch(0.2 0.2 0) h w b)', 'color(srgb 0.29595438 -0.12706564 0.07183401)'], + ['hwb(from oklch(0 0 180) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from oklch(0.2 0 0) h w b)', 'hwb(none 8.61042044% 91.38957956%)'], + ['hwb(from oklch(0 0.2 0) h w b)', 'color(srgb 0.0266189 -0.00845442 -0.00006795)'], + ['hwb(from oklch(0 0 0) h w b)', 'hwb(none 0% 100%)'], + + ['hwb(from rgb(0 0 0) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from color(display-p3 0 0 0) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from lab(0 0 0) h w b)', 'hwb(none 0% 100%)'], + ['hwb(from oklab(0 0 0) h w b)', 'hwb(none 0% 100%)'], + + // LCH + ['lch(from hsl(0 50% 50%) l c h)', 'lch(46.42043661 59.74639249 29.95665674)'], + ['lch(from hsl(180 0 50%) l c h)', 'lch(53.38896474 0 none)'], + ['lch(from hsl(180 50% 0) l c h)', 'lch(0 0 none)'], + ['lch(from hsl(0 0 50%) l c h)', 'lch(53.38896474 0 none)'], + ['lch(from hsl(180 0 0) l c h)', 'lch(0 0 none)'], + ['lch(from hsl(0 50% 0) l c h)', 'lch(0 0 none)'], + ['lch(from hsl(0 0 0) l c h)', 'lch(0 0 none)'], + + ['lch(from hwb(0 25% 25%) l c h)', 'lch(46.42043661 59.74639249 29.95665674)'], + ['lch(from hwb(180 100% 25%) l c h)', 'lch(82.04578167 0 none)'], + ['lch(from hwb(180 25% 100%) l c h)', 'lch(21.24673129 0 none)'], + ['lch(from hwb(0 100% 25%) l c h)', 'lch(82.04578167 0 none)'], + ['lch(from hwb(180 100% 100%) l c h)', 'lch(53.38896474 0 none)'], + ['lch(from hwb(0 25% 100%) l c h)', 'lch(21.24673129 0 none)'], + ['lch(from hwb(0 100% 100%) l c h)', 'lch(53.38896474 0 none)'], + + ['lch(from lch(0 20 180) l c h)', 'lch(0 20 180)'], + ['lch(from lch(20 0 180) l c h)', 'lch(20 0 none)'], + ['lch(from lch(20 20 0) l c h)', 'lch(20 20 0)'], + ['lch(from lch(0 0 180) l c h)', 'lch(0 0 none)'], + ['lch(from lch(20 0 0) l c h)', 'lch(20 0 none)'], + ['lch(from lch(0 20 0) l c h)', 'lch(0 20 0)'], + ['lch(from lch(0 0 0) l c h)', 'lch(0 0 none)'], + + ['lch(from oklch(0 0.2 180) l c h)', 'lch(0.00996014 2.6503948 181.20369565)'], + ['lch(from oklch(0.2 0 180) l c h)', 'lch(7.22637037 0 none)'], + ['lch(from oklch(0.2 0.2 0) l c h)', 'lch(5.10873217 59.48824051 1.24207317)'], + ['lch(from oklch(0 0 180) l c h)', 'lch(0 0 none)'], + ['lch(from oklch(0.2 0 0) l c h)', 'lch(7.22637037 0 none)'], + ['lch(from oklch(0 0.2 0) l c h)', 'lch(0 2.6503948 1.20369565)'], + ['lch(from oklch(0 0 0) l c h)', 'lch(0 0 none)'], + + ['lch(from rgb(0 0 0) l c h)', 'lch(0 0 none)'], + ['lch(from color(display-p3 0 0 0) l c h)', 'lch(0 0 none)'], + ['lch(from lab(0 0 0) l c h)', 'lch(0 0 none)'], + ['lch(from oklab(0 0 0) l c h)', 'lch(0 0 none)'], + + // oklch + ['oklch(from hsl(0 50% 50%) l c h)', 'oklch(0.55233858 0.16366995 24.21253898)'], + ['oklch(from hsl(180 0 50%) l c h)', 'oklch(0.59818073 0 none)'], + ['oklch(from hsl(180 50% 0) l c h)', 'oklch(0 0 none)'], + ['oklch(from hsl(0 0 50%) l c h)', 'oklch(0.59818073 0 none)'], + ['oklch(from hsl(180 0 0) l c h)', 'oklch(0 0 none)'], + ['oklch(from hsl(0 50% 0) l c h)', 'oklch(0 0 none)'], + ['oklch(from hsl(0 0 0) l c h)', 'oklch(0 0 none)'], + + ['oklch(from hwb(0 25% 25%) l c h)', 'oklch(0.55233858 0.16366995 24.21253898)'], + ['oklch(from hwb(180 100% 25%) l c h)', 'oklch(0.84522226 0 none)'], + ['oklch(from hwb(180 25% 100%) l c h)', 'oklch(0.32109251 0 none)'], + ['oklch(from hwb(0 100% 25%) l c h)', 'oklch(0.84522226 0 none)'], + ['oklch(from hwb(180 100% 100%) l c h)', 'oklch(0.59818073 0 none)'], + ['oklch(from hwb(0 25% 100%) l c h)', 'oklch(0.32109251 0 none)'], + ['oklch(from hwb(0 100% 100%) l c h)', 'oklch(0.59818073 0 none)'], + + ['oklch(from lch(0 20 180) l c h)', 'oklch(0 0.26412556 175.27132911)'], + ['oklch(from lch(20 0 180) l c h)', 'oklch(0.31034483 0 none)'], + ['oklch(from lch(20 20 0) l c h)', 'oklch(0.31697196 0.06085528 359.39300302)'], + ['oklch(from lch(0 0 180) l c h)', 'oklch(0 0 none)'], + ['oklch(from lch(20 0 0) l c h)', 'oklch(0.31034483 0 none)'], + ['oklch(from lch(0 20 0) l c h)', 'oklch(0.05666101 0.26412556 355.27132911)'], + ['oklch(from lch(0 0 0) l c h)', 'oklch(0 0 none)'], + + ['oklch(from oklch(0 0.2 180) l c h)', 'oklch(0 0.2 180)'], + ['oklch(from oklch(0.2 0 180) l c h)', 'oklch(0.2 0 none)'], + ['oklch(from oklch(0.2 0.2 0) l c h)', 'oklch(0.2 0.2 0)'], + ['oklch(from oklch(0 0 180) l c h)', 'oklch(0 0 none)'], + ['oklch(from oklch(0.2 0 0) l c h)', 'oklch(0.2 0 none)'], + ['oklch(from oklch(0 0.2 0) l c h)', 'oklch(0 0.2 0)'], + ['oklch(from oklch(0 0 0) l c h)', 'oklch(0 0 none)'], + + ['oklch(from rgb(0 0 0) l c h)', 'oklch(0 0 none)'], + ['oklch(from color(display-p3 0 0 0) l c h)', 'oklch(0 0 none)'], + ['oklch(from lab(0 0 0) l c h)', 'oklch(0 0 none)'], + ['oklch(from oklab(0 0 0) l c h)', 'oklch(0 0 none)'], + + + // rgb + ['rgb(from rgb(0 50 100) r g b)', 'color(srgb 0 0.19607843 0.39215686)'], + ['rgb(from rgb(25 0 100) r g b)', 'color(srgb 0.09803922 0 0.39215686)'], + ['rgb(from rgb(25 50 0) r g b)', 'color(srgb 0.09803922 0.19607843 0)'], + ['rgb(from rgb(0 0 100) r g b)', 'color(srgb 0 0 0.39215686)'], + ['rgb(from rgb(25 0 0) r g b)', 'color(srgb 0.09803922 0 0)'], + ['rgb(from rgb(0 50 0) r g b)', 'color(srgb 0 0.19607843 0)'], + ['rgb(from rgb(0 0 0) r g b)', 'color(srgb 0 0 0)'], + + ['rgb(from color(display-p3 0 0.5 1) r g b)', 'color(srgb -0.24307182 0.50960895 1.03498498)'], + ['rgb(from color(display-p3 0.25 0 1) r g b)', 'color(srgb 0.27690544 -0.02764484 1.0416057)'], + ['rgb(from color(display-p3 0.25 0.5 0) r g b)', 'color(srgb 0.12407597 0.50734577 -0.14204703)'], + ['rgb(from color(display-p3 0 0 1) r g b)', 'color(srgb 0 0 1.04202162)'], + ['rgb(from color(display-p3 0.25 0 0) r g b)', 'color(srgb 0.27690544 -0.02764484 -0.01290814)'], + ['rgb(from color(display-p3 0 0.5 0) r g b)', 'color(srgb -0.24307182 0.50960895 -0.13736911)'], + ['rgb(from color(display-p3 0 0 0) r g b)', 'color(srgb 0 0 0)'], + + ['rgb(from color(xyz 0 0.5 1) r g b)', 'color(srgb -1.10944566 0.99095134 0.97994511)'], + ['rgb(from color(xyz 0.25 0 1) r g b)', 'color(srgb 0.59403754 -0.48537786 1.03053617)'], + ['rgb(from color(xyz 0.25 0.5 0) r g b)', 'color(srgb 0.22532444 0.85195951 -0.32837163)'], + ['rgb(from color(xyz 0 0 1) r g b)', 'color(srgb -0.73444124 0.22533613 1.02463965)'], + ['rgb(from color(xyz 0.25 0 0) r g b)', 'color(srgb 0.91144108 -0.5294417 0.12266689)'], + ['rgb(from color(xyz 0 0.5 0) r g b)', 'color(srgb -0.89047311 0.97222877 -0.35251984)'], + ['rgb(from color(xyz 0 0 0) r g b)', 'color(srgb 0 0 0)'], + + ['rgb(from color(xyz-d50 0 0.5 1) r g b)', 'color(srgb -1.12162774 0.99628519 1.11843052)'], + ['rgb(from color(xyz-d50 0.25 0 1) r g b)', 'color(srgb 0.57746244 -0.49697943 1.16718092)'], + ['rgb(from color(xyz-d50 0.25 0.5 0) r g b)', 'color(srgb -0.17244425 0.8615337 -0.34323366)'], + ['rgb(from color(xyz-d50 0 0 1) r g b)', 'color(srgb -0.729173 0.20108194 1.16072115)'], + ['rgb(from color(xyz-d50 0.25 0 0) r g b)', 'color(srgb 0.89803728 -0.53183469 0.1427746)'], + ['rgb(from color(xyz-d50 0 0.5 0) r g b)', 'color(srgb -0.91067057 0.98136351 -0.37263152)'], + ['rgb(from color(xyz-d50 0 0 0) r g b)', 'color(srgb 0 0 0)'], + + ['rgb(from hwb(0 100% 100%) r g b)', 'color(srgb 0.5 0.5 0.5)'], + ['rgb(from hsl(0 0 0) r g b)', 'color(srgb 0 0 0)'], + ['rgb(from lab(0 0 0) r g b)', 'color(srgb 0 0 0)'], + ['rgb(from oklab(0 0 0) r g b)', 'color(srgb 0 0 0)'], + + // lab + ['lab(from lab(0 10 10) l a b)', 'lab(0 10 10)'], + ['lab(from lab(50 0 10) l a b)', 'lab(50 0 10)'], + ['lab(from lab(50 10 0) l a b)', 'lab(50 10 0)'], + ['lab(from lab(0 0 10) l a b)', 'lab(0 0 10)'], + ['lab(from lab(50 0 0) l a b)', 'lab(50 0 0)'], + ['lab(from lab(0 10 0) l a b)', 'lab(0 10 0)'], + ['lab(from lab(0 0 0) l a b)', 'lab(0 0 0)'], + + ['lab(from oklab(0 0.1 0.1) l a b)', 'lab(0.20826503 -1.96485158 6.29937155)'], + ['lab(from oklab(0.5 0 0.1) l a b)', 'lab(42.22128134 4.79509229 47.39513153)'], + ['lab(from oklab(0.5 0.1 0) l a b)', 'lab(40.74235313 32.84691548 0.41354824)'], + ['lab(from oklab(0 0 0.1) l a b)', 'lab(0.17441999 -2.55660361 5.1382874)'], + ['lab(from oklab(0.5 0 0) l a b)', 'lab(42 0 0)'], + ['lab(from oklab(0 0.1 0) l a b)', 'lab(0 0.33122624 0.00695957)'], + ['lab(from oklab(0 0 0) l a b)', 'lab(0 0 0)'], + + ['lab(from hwb(0 100% 100%) l a b)', 'lab(53.38896474 0 0)'], + ['lab(from hsl(0 0 0) l a b)', 'lab(0 0 0)'], + ['lab(from rgb(0 0 0) l a b)', 'lab(0 0 0)'], + ['lab(from color(display-p3 0 0 0) l a b)', 'lab(0 0 0)'], + ]; + + for (const test of tests) { + assert.deepStrictEqual( + reducePrecisionWholeValue(computedValue(test[0])), + test[1], + `"${test[0]}" : ${test[1]}`, + ); + } +} diff --git a/packages/css-color-parser/test/fuzzer/001.mjs b/packages/css-color-parser/test/fuzzer/001.mjs index ad976a6c61..b0977394db 100644 --- a/packages/css-color-parser/test/fuzzer/001.mjs +++ b/packages/css-color-parser/test/fuzzer/001.mjs @@ -2,1006 +2,1006 @@ import { computedValue, reducePrecisionWholeValue } from '../util/serialize.mjs' import assert from 'node:assert'; const tests = [ - ['oklch( 1 min(0.122331, 0.008025) 133.259735 )', 'oklch(1 0.008025 133.259735)'], - ['lch( none calc(calc(2 * calc(0.624595 + -1.3333333333333333)) * exp(-26.981967)) 41.453414 )', 'lch(none 0 41.453414)'], - ['lab( 0 -124.455528 112.432815 )', 'lab(0 -124.455528 112.432815)'], - ['lch( 91.698128 114.328904 261.533704 )', 'lch(91.698128 114.328904 261.533704)'], - ['hwb( 212.982567 0 none )', 'hwb(212.982567 0 none)'], - ['oklab( 0 -0.4 none / 0 )', 'oklab(0 -0.4 none / 0)'], - ['lch( from color( a98-rgb 0 0 cos(186.050452deg) ) l calc(calc(120.248916 - calc(l / -1)) - sin(189.420772)) 360 / none )', 'lch(0 63.03911503 0 / none)'], - ['color( prophoto-rgb 0.864747 none 1 )', 'color(prophoto-rgb 0.864747 none 1)'], - ['lch( none 55.951302 128.357731 )', 'lch(none 55.951302 128.357731)'], - ['rgb( calc(502.189233 / 2.913831) 10.964303 none )', 'color(srgb 0.67586951 0.04299727 none)'], - ['lab( calc(calc(0) - sin(cos(-289.402795deg))) none -104.874751 )', 'lab(0 none -104.874751)'], - ['oklab( none 0.364241 0.053696 )', 'oklab(none 0.364241 0.053696)'], - ['oklch( 0 0.141989 28.45236 )', 'oklch(0 0.141989 28.45236)'], - ['hsl( from color( prophoto-rgb calc(1.46228 - 0.713403) 0.004243 1 ) alpha none none )', 'hsl(1 none none)'], - ['color-mix( in display-p3 , color( from color( xyz-d65 hypot(calc(e), 0.084184) none calc(pi) ) xyz-d50 y x z ) 12.339373%, color( prophoto-rgb 0.209745 sin(0.188664) none ) 6.167765% )', 'color(display-p3 0.31231895 1.40598837 1.54435268 / 0.18507138)'], - ['rgb( calc(76.24803 + 85.552322) calc(25.5 * 6.940428) 113.511356 )', 'rgb(162, 177, 114)'], - ['oklab( none -0.047308 0.4 )', 'oklab(none -0.047308 0.4)'], - ['oklch( from color( xyz-d65 0.130979 none none ) calc(0 * -2) none alpha )', 'oklch(0 none 1)'], - ['color-mix( in prophoto-rgb , color( prophoto-rgb 0.80955 0.003264 0.670889 ) 32.260248%, color( from color( from color( display-p3 calc(calc(-infinity) / calc(-infinity)) min(0.967292, 0.333333) 0.873283 ) display-p3 1 none r ) xyz-d65 none 0 0.284418 ) 86.416395% )', 'color(prophoto-rgb 0.80955 0.03856253 0.52628352)'], - ['hwb( from color( rec2020 0.62339 calc(0 - 1.252821) none ) none 0 calc(w + 6.7284) )', 'hwb(none 0 -128.18521839)'], - ['hsl( from color( a98-rgb 0 none 0.64594 ) none 60.554329 73.174876 )', 'hsl(none 60.554329 73.174876)'], - ['oklch( from color( rec2020 0.547504 none 0.2259 ) 0.172281 0.228521 106.347789 )', 'oklch(0.172281 0.228521 106.347789)'], - ['lch( none 50 none / calc(0.909769 - 0) )', 'lch(none 50 none / 0.909769)'], - ['oklch( 0.684003 0.4 91.810106 )', 'oklch(0.684003 0.4 91.810106)'], - ['oklab( 0.5 -0.077883 0.368414 )', 'oklab(0.5 -0.077883 0.368414)'], - ['oklab( 0.652949 calc(calc(0.4)) -0.4 )', 'oklab(0.652949 0.4 -0.4)'], - ['lch( 50 38.028361 110.965861 )', 'lch(50 38.028361 110.965861)'], - ['oklch( 1 0.376585 20.910007 )', 'oklch(1 0.376585 20.910007)'], - ['lab( 66.974982 max(125, 85.019227) -19.815222 )', 'lab(66.974982 125 -19.815222)'], - ['oklch( 0.050343 0 311.496089 )', 'oklch(0.050343 0 311.496089)'], - ['oklab( from color( srgb 0.844914 1 0.404927 ) b 0.185425 calc(-0.08 * calc(8.833877 / l)) / 0.375371 )', 'oklab(0.15349288 0.185425 -0.74933626 / 0.375371)'], - ['lab( 100 -90.047119 24.809797 / 0.622138 )', 'lab(100 -90.047119 24.809797 / 0.622138)'], - ['lch( 35.297568 56.718532 none )', 'lch(35.297568 56.718532 none)'], - ['rgb( from color( xyz-d50 0.918089 none 1 ) min(85, 208.496168) none b )', 'color(srgb 0.33333333 none 1.18421343)'], - ['hsl( 84.979506 62.289293 calc(70.613045 - exp(-77.215167)) / 0.490969 )', 'rgba(188, 227, 133, 0.490969)'], - ['lch( from color( rec2020 0.899093 0.946463 0 / 0.840381 ) 0 hypot(100, c) 0 )', 'lch(0 161.11401987 0 / 0.840381)'], - ['hsl( from color( from color( rec2020 none none cos(calc(-533.200606deg - -256.543737deg)) ) a98-rgb none 0.225672 none ) h 50 77.474772 / 0.608834 )', 'color(srgb 0.66212158 0.88737386 0.73280624 / 0.608834)'], - ['hwb( from color( srgb-linear 0 calc(-infinity) min(0.843774, 0.359999) ) 360 h 63.891157 )', 'color(srgb 0.82442009 0.82442009 0.82442009)'], - ['oklab( calc(calc(0.203375 + 0.106818) + 0.395295) -0.4 -0.2775 )', 'oklab(0.705488 -0.4 -0.2775)'], - ['hsl( calc(pi) 13.373966 calc(nan) )', 'rgb(0, 0, 0)'], - ['lab( cos(-61.786774deg) none hypot(sin(min(52.955461, 91.398137)), -19.333708) )', 'lab(0.47275419 none 19.33863299)'], - ['oklab( 0.745403 calc(e) calc(-0.252433 + 0.26666666666666666) )', 'oklab(0.745403 2.71828183 0.01423367)'], - ['oklab( from color( display-p3-linear sin(0.91379) calc(0 - 0.86646) exp(calc(cos(28.565304deg))) ) 0.586882 0.214967 -0.16115 )', 'oklab(0.586882 0.214967 -0.16115)'], - ['hsl( 0 38.149008 none / 0.163899 )', 'hsl(0 38.149008 none / 0.163899)'], - ['oklch( from color( xyz-d50 calc(e) 0.988587 cos(-175.421488deg) ) 0.245628 none none )', 'oklch(0.245628 none none)'], - ['hsl( sin(180) 74.790556 68.307416 / 0.271072 )', 'rgba(235, 114, 115, 0.271072)'], - ['oklch( calc(-infinity) 0.0288 none / 1 )', 'oklch(0 0.0288 none)'], - ['oklch( 0 0.11967 calc(159.263898 + 186.910882) )', 'oklch(0 0.11967 346.17478)'], - ['hsl( from color( srgb-linear abs(0.506844) 0.284267 0.727478 / 0.863951 ) l calc(infinity) 5.738257 )', 'color(srgb 742112.61530358 1232281.3643609 -1232281.24959576 / 0.863951)'], - ['rgb( 0 0 none )', 'color(srgb 0 0 none)'], - ['lab( 0 none -22.016941 )', 'lab(0 none -22.016941)'], - ['lab( from color( xyz-d65 1 none 0.860879 ) 0 l none )', 'lab(0 12.56306432 none)'], - ['hwb( from color( rec2020 hypot(0.976146, 0.997009) calc(calc(1)) exp(73.36198) ) none w 100 )', 'hwb(none -76066651806.54515 100)'], - ['lch( 1.268294 none 360 )', 'lch(1.268294 none 0)'], - ['oklch( 0.338825 calc(infinity) 360 )', 'oklch(0.338825 2147483647 0)'], - ['lab( from color( xyz-d65 0.805144 calc(-infinity) none / 0 ) calc(calc(nan)) max(calc(b + alpha), alpha) 57.295907 )', 'lab(0 0 57.295907 / 0)'], - ['color-mix( in srgb-linear , color( display-p3-linear calc(0.333333 + 0.6666666666666666) 0 0.934593 / 0.516708 ) 12.794798%, color( xyz-d50 0 0.763137 0.141565 / 0.82879 ) )', 'color(srgb-linear -1.0918267 1.34062156 0.10656035 / 0.78885974)'], - ['hsl( from color( xyz-d50 clamp(0.585449, calc(max(0.763496, 1.5) / -1), 0.21844) 0.762292 none ) 360 calc(infinity) alpha )', 'color(srgb 214748.3747 -214748.3547 -214748.3547)'], - ['hsl( 360 0 none )', 'hsl(0 0 none)'], - ['color( from color( xyz-d50 0.084462 0.491127 calc(0.100539 * 0.559504) / calc(-infinity) ) a98-rgb none none none )', 'color(a98-rgb none none none / 0)'], - ['lab( 18.9816 122.409255 49.118574 )', 'lab(18.9816 122.409255 49.118574)'], - ['hsl( from color( xyz-d50 0.624322 0.425413 calc(1) ) 360 none 46.834485 )', 'hsl(0 none 46.834485)'], - ['rgb( 255 none calc(58.016966 + 64.011946) )', 'color(srgb 1 none 0.47854475)'], - ['color( from color( display-p3 0.386 0.367838 0.101021 ) xyz-d65 0.45174 alpha 0.378298 )', 'color(xyz-d65 0.45174 1 0.378298)'], - ['oklab( 0.641813 -0.391457 0.12647 )', 'oklab(0.641813 -0.391457 0.12647)'], - ['lab( 0 125 none )', 'lab(0 125 none)'], - ['oklab( 1 -0.4 none / cos(min(calc(162.274683deg + -11.830739deg), -195.769735deg)) )', 'oklab(1 -0.4 none / 0)'], - ['hsl( none 43.400272 none )', 'hsl(none 43.400272 none)'], - ['color( from color( srgb 0.400325 calc(0.429017) min(max(clamp(0, 0, 0.88632), 0.5), 0.08154) ) xyz-d50 0 z exp(0) )', 'color(xyz-d50 0 0.02209472 1)'], - ['lch( 43.790087 116.654956 none / 17.105114% )', 'lch(43.790087 116.654956 none / 0.17105114)'], - ['lch( 3.078572 28.837272 349.072607 / 43.124157% )', 'lch(3.078572 28.837272 349.072607 / 0.43124157)'], - ['oklch( 0.089019 0.133333 none )', 'oklch(0.089019 0.133333 none)'], - ['oklch( from color( from color( xyz-d50 none none exp(74.879823) ) xyz none 0.5 none ) calc(0.316658 - alpha) clamp(h, c, 0.345289) 0.037373 )', 'oklch(0 158.57370195 0.037373)'], - ['hsl( from color( from color( from color( srgb-linear 1 none none ) xyz-d50 0.734363 0.505067 none ) display-p3-linear clamp(0.176569, 0.5, b) 0.86009 r ) none 50 33.333333 )', 'hsl(none 50 33.333333)'], - ['lch( none none min(294.149495, calc(274.781381)) / 0.858526 )', 'lch(none none 274.781381 / 0.858526)'], - ['lab( from color( from color( srgb-linear 0.525602 cos(314.997389deg) 0.616524 ) xyz none none calc(infinity) / calc(0 / z) ) calc(b / abs(min(2.747833, a))) alpha b )', 'lab(0 0 -2147483647 / 0)'], - ['hwb( min(clamp(21.08843, 134.077037, sin(243.045338)), min(280.703121, 356.393149)) 46.983753 none )', 'hwb(21.08843 46.983753 none)'], - ['color( a98-rgb min(0.615279, 0.42505) 0.957863 0.882431 )', 'color(a98-rgb 0.42505 0.957863 0.882431)'], - ['hsl( 360 46.620879 none )', 'hsl(0 46.620879 none)'], - ['rgb( none 255 252.57111 )', 'color(srgb none 1 0.99047494)'], - ['lab( cos(min(-78.979497deg, -38.439495deg)) -81.232231 35.164934 )', 'lab(0.19116025 -81.232231 35.164934)'], - ['oklab( from color( a98-rgb 0.202631 hypot(calc(0.500599), calc(0.288091 - max(calc(infinity), calc(e)))) calc(0.173228 * 6.627031) ) l 0.300858 b )', 'oklab(1 0.300858 1303123.79350412)'], - ['hsl( 302.619478 none none )', 'hsl(302.619478 none none)'], - ['oklch( 0.161964 0.4 calc(pi) )', 'oklch(0.161964 0.4 3.14159265)'], - ['lch( from color( from color( srgb-linear none none 0.111999 ) display-p3-linear 0.5 r 0.896945 ) c c 302.60238 )', 'lch(100 118.15652584 302.60238)'], - ['oklch( 0.217111 none none )', 'oklch(0.217111 none none)'], - ['color-mix( in xyz-d50 , color( rec2020 none 0.560264 0.874823 / 0.39821 ) , color( display-p3-linear 0.844652 0.325258 0.836391 ) 4.031873% )', 'color(xyz-d50 0.66152791 0.22826964 0.59361294 / 0.42247341)'], - ['oklch( from color( from color( display-p3-linear 0.361107 cos(-101.237278deg) 0.759927 / 80.085869% ) display-p3-linear none 0.301516 g / 0.789543 ) c 0.4 322.583029 )', 'oklch(0.9484996 0.4 322.583029 / 0.789543)'], - ['oklab( from color( display-p3-linear 1 0.124407 0 ) l -0.352185 cos(250.872784deg) )', 'oklab(0.70646517 -0.352185 -0.32766672)'], - ['color( xyz 0 0.393233 none / 1 )', 'color(xyz-d65 0 0.393233 none)'], - ['oklch( from color( xyz-d50 none calc(0 - 0.273892) none ) 1 none 138.518181 )', 'oklch(1 none 138.518181)'], - ['hwb( 70.173308 abs(54.647303) none )', 'hwb(70.173308 54.647303 none)'], - ['oklch( 0.333333 none calc(-infinity) )', 'oklch(0.333333 none 0)'], - ['lch( from color( from color( srgb-linear 1 calc(pi) 0.869599 / calc(max(28.222898%, 35.587931%) + 53.273153%) ) xyz none calc(-infinity) 0 / 0.5 ) alpha abs(max(calc(0 / alpha), calc(c + 50))) 0 )', 'lch(0.5 2147483647 0 / 0.5)'], - ['color-mix( in a98-rgb , color( xyz-d65 abs(0.553607) none 0.408699 ) , color( xyz-d65 0.170581 0.134095 0.45597 ) )', 'color(a98-rgb 0.68480471 0.35912833 0.68539708)'], - ['rgb( 249.944567 none hypot(98.18144, calc(109.555468 - calc(10.688835 + 127.5))) )', 'color(srgb 0.98017477 none 0.4010648)'], - ['oklab( 1 calc(-infinity) calc(infinity) )', 'oklab(1 -2147483647 2147483647)'], - ['color-mix( in a98-rgb , color( srgb 0.006328 none max(calc(abs(1.5) - 0.93121), 0) ) 39.026112%, color( display-p3 0.957598 0.333333 0.211892 ) 1.285636% )', 'color(a98-rgb 0.05471844 0.27084246 0.54031296 / 0.40311748)'], - ['oklch( 0.259736 0.08389 149.308388 )', 'oklch(0.259736 0.08389 149.308388)'], - ['hwb( 4.928698 calc(e) calc(0) / exp(100) )', 'rgb(255, 27, 7)'], - ['rgb( calc(189.584836 / abs(calc(e))) 246.30951 0 )', 'rgb(70, 246, 0)'], - ['hsl( 278.151912 0 calc(pi) )', 'rgb(8, 8, 8)'], - ['hwb( from color( from color( xyz-d50 0.162326 0.915904 0.413724 ) xyz-d65 x 0.614619 0.182965 ) none none hypot(50, calc(13.118463 + h)) )', 'hwb(none none 176.50454818)'], - ['color( xyz-d65 0.478517 none none )', 'color(xyz-d65 0.478517 none none)'], - ['hwb( 242.533316 8.057434 33.333333 / 0 )', 'rgba(27, 21, 170, 0)'], - ['color-mix( in oklab , color( xyz-d65 calc(min(0.315269, 0.222222) + 0.070156) 0.910785 hypot(0.190231, min(calc(0.6666666666666666 + 0.107486), 0)) / 83.305226% ) , color( xyz-d65 0.374521 calc(pi) 0.770668 ) )', 'oklab(1.16601391 -0.60948831 0.22597502 / 0.91652613)'], - ['hwb( from color( from color( srgb-linear exp(49.860045) calc(0.017573) 0.644892 ) xyz-d65 clamp(x, 0, alpha) z 0.5 ) calc(-infinity) 0 clamp(32.515689, hypot(cos(-146.334517deg), calc(pi)), 0) / none )', 'hwb(0 0 32.515689 / none)'], - ['hsl( from color( xyz 0 0.067447 0 / 55.167006% ) l 27.021761 none )', 'hsl(1.77412731 27.021761 none / 0.55167006)'], - ['hsl( 96.474221 99.78459 calc(0 * 5.913819) )', 'rgb(0, 0, 0)'], - ['color( srgb-linear 0 calc(e) 0.5 )', 'color(srgb-linear 0 2.71828183 0.5)'], - ['rgb( none calc(0 + min(0, 0)) 47.514593 )', 'color(srgb none 0 0.18633174)'], - ['lab( 71.263997 none sin(min(-78.30431, calc(calc(pi)))) )', 'lab(71.263997 none -0.23333538)'], - ['lch( from color( xyz-d65 0.028235 0.017752 none ) h calc(13.801008 * 7) l / 0.992712 )', 'lch(45.01950084 96.607056 14.63453136 / 0.992712)'], - ['rgb( 188.571634 186.077374 none )', 'color(srgb 0.7394966 0.72971519 none)'], - ['oklch( from color( prophoto-rgb none 0.422526 none ) 1 hypot(c, 0.4) none )', 'oklch(1 0.50837468 none)'], - ['oklch( 0.984253 0.39426 360 )', 'oklch(0.984253 0.39426 0)'], - ['rgb( 0 127.5 112.576447 )', 'rgb(0, 128, 113)'], - ['hwb( none 100 100 / 0.751749 )', 'hwb(none 100 100 / 0.751749)'], - ['lab( from color( from color( xyz 0.236958 0.899109 0 ) rec2020 0.046457 b 0.142015 ) none alpha none / none )', 'lab(none 1 none / none)'], - ['rgb( from color( from color( xyz-d65 0.5 0.872708 none / 1 ) xyz-d65 0 z cos(82.467973deg) ) 0 0 cos(3.709545deg) )', 'color(srgb 0 0 0.00391335)'], - ['color-mix( in oklch increasing hue, color( xyz-d65 max(0.195687, 0.525459) 0.5 0.544711 ) 85.892336%, color( a98-rgb none 0.080551 0 ) 72.9636% )', 'oklch(0.49098935 0.05043723 69.73480475)'], - ['lab( 20.538415 calc(nan) exp(max(-94.034822, -17.081706)) )', 'lab(20.538415 0 4e-8)'], - ['hwb( 234.171913 6.100002 96.545475 )', 'rgb(15, 15, 15)'], - ['oklch( from color( xyz-d65 0.97206 0.34068 0.796832 ) l none calc(calc(0 * c)) / calc(0.195277 * exp(-100)) )', 'oklch(0.76675216 none 0 / 0)'], - ['oklch( 0.102127 0.4 240.829331 )', 'oklch(0.102127 0.4 240.829331)'], - ['hsl( 40.05053 12.616619 93.052238 )', 'rgb(240, 238, 235)'], - ['color-mix( in xyz-d65 , color( prophoto-rgb 0.435488 abs(0.632175) 0.991473 ) 34.56545%, color( xyz-d65 0.011817 0 0.666667 ) 79.817527% )', 'color(xyz-d65 0.09874627 0.11774714 0.79051178)'], - ['hwb( calc(e) clamp(58.387147, 53.355895, 17.88745) none )', 'hwb(2.71828183 58.387147 none)'], - ['lab( 0 none -125 )', 'lab(0 none -125)'], - ['color( from color( from color( display-p3 exp(-37.26641) none 0.19533 ) display-p3-linear none b r ) xyz-d65 exp(94.0721) x y / 0.20046 )', 'color(xyz-d65 2147483647 none 0.0219062 / 0.20046)'], - ['color( xyz-d50 calc(0.133333 * 3.247818) 0.5 calc(0.1 * -0.543771) / 0.932376 )', 'color(xyz-d50 0.43304132 0.5 -0.0543771 / 0.932376)'], - ['color( xyz-d50 none 0.071734 none )', 'color(xyz-d50 none 0.071734 none)'], - ['color( rec2020 0.104622 none 1 )', 'color(rec2020 0.104622 none 1)'], - ['color( from color( from color( display-p3 0.38758 0.75288 none / min(55.661943%, 83.250926%) ) display-p3-linear none min(0.270662, calc(e)) none ) xyz-d65 x 0.719455 none )', 'color(xyz-d65 none 0.719455 none / 0.55661943)'], - ['lab( from color( from color( prophoto-rgb 0.5 exp(74.569493) hypot(calc(pi), 0.366222) ) xyz-d50 none exp(0) calc(calc(nan)) ) alpha none a / none )', 'lab(1 none -431.03448276 / none)'], - ['color-mix( in rec2020 , color( xyz-d65 0.277046 0 calc(-infinity) ) , color( prophoto-rgb abs(min(0.233089, 0)) 0.067178 none / 0.915813 ) )', 'color(rec2020 2277.76723492 -716.12913041 -7542.43880084 / 0.9579065)'], - ['oklch( 0.5 calc(0.077745 * 4.735347) 337.661718 )', 'oklch(0.5 0.36814955 337.661718)'], - ['hwb( from color( xyz-d65 clamp(0, 1, 0) none 0 ) alpha w 96.760246 )', 'color(srgb 0.03239754 0.00053996 0)'], - ['oklab( 0.235065 -0.36863 -0.4 )', 'oklab(0.235065 -0.36863 -0.4)'], - ['rgb( 255 127.5 19.730111 / 0.534214 )', 'rgba(255, 128, 20, 0.534214)'], - ['color( from color( xyz-d50 0.8223 0 0.507877 / 51.463583% ) display-p3-linear none g none / 1 )', 'color(display-p3-linear none -0.68444943 none)'], - ['lab( none 125 -43.930899 )', 'lab(none 125 -43.930899)'], - ['rgb( 225.063555 200.825694 none )', 'color(srgb 0.88260218 0.78755174 none)'], - ['hwb( 338.303943 73.933431 0 / 77.519152% )', 'rgba(255, 189, 213, 0.77519152)'], - ['oklab( from color( xyz none 0.978135 calc(e) ) 0.035643 -0.133333 -0.353424 )', 'oklab(0.035643 -0.133333 -0.353424)'], + ['hwb( 59.921201 16.662189 none )', 'hwb(59.921201 16.662189% none)'], + ['oklch( 0 calc(0.030849 - 0) 16.170936 )', 'oklch(0 0.030849 16.170936)'], + ['hwb( 0 min(62.275248, 75.412019) 100 )', 'rgb(98, 98, 98)'], + ['lch( calc(nan) 70.919024 256.629816 )', 'lch(0 70.919024 256.629816)'], + ['lab( from color( xyz 0.625329 exp(calc(12.820254 * 7)) none ) l b sin(-125) )', 'lab(100 189275.81242895 0.61604046)'], + ['rgb( from color( display-p3 0.042505 none 0.104239 / 0.127541 ) min(0, alpha) none 85 )', 'color(srgb 0 none 0.33333333 / 0.127541)'], + ['hwb( calc(infinity) none cos(max(293.736595deg, clamp(302.965037deg, 277.193286deg, 209.233729deg))) )', 'hwb(0 none 0.54412716%)'], + ['oklab( 1 0 0.4 )', 'oklab(1 0 0.4)'], + ['lab( 47.074407 96.900766 calc(e) )', 'lab(47.074407 96.900766 2.71828183)'], + ['lab( from color( xyz none 0.978227 none ) 57.40701 0 -125 )', 'lab(57.40701 0 -125)'], + ['lch( calc(-infinity) calc(0 + 48.164183) 186.646995 )', 'lch(0 48.164183 186.646995)'], + ['oklab( 0.081672 calc(-0.08 * calc(-infinity)) -0.231834 )', 'oklab(0.081672 2147483647 -0.231834)'], + ['oklab( 0.478906 none none )', 'oklab(0.478906 none none)'], + ['hwb( calc(0 + calc(11.416079 * 3.500073)) calc(infinity) 77.129777 )', 'rgb(NaN, NaN, NaN)'], + ['color( srgb-linear 0.672738 0.750898 0.130071 / 0.582111 )', 'color(srgb-linear 0.672738 0.750898 0.130071 / 0.582111)'], + ['hwb( from color( xyz-d65 calc(-infinity) 0.721688 0.521716 ) 0 b min(calc(19.530386 * w), exp(calc(calc(pi) + 19.848643))) / 0.27482 )', 'color(srgb 260045.00999864 -8050.94259075 -8050.94259075 / 0.27482)'], + ['oklab( 0.332781 -0.4 -0.4 / 0.308793 )', 'oklab(0.332781 -0.4 -0.4 / 0.308793)'], + ['hsl( calc(114.158076) none none / 16.463028% )', 'hsl(114.158076 none none / 0.16463028)'], + ['oklch( from color( xyz-d65 0.189138 1 hypot(0.091412, 0.33008) ) none 0.4 360 )', 'oklch(none 0.4 0)'], + ['hsl( calc(pi) none none )', 'hsl(3.14159265 none none)'], + ['oklch( max(0.803173, hypot(1, 1)) 0.253415 calc(240 + 240) )', 'oklch(1 0.253415 120)'], + ['hwb( none clamp(57.704919, calc(pi), 72.894679) 50 )', 'hwb(none 57.704919% 50%)'], + ['lch( 96.163105 79.745342 17.749883 )', 'lch(96.163105 79.745342 17.749883)'], + ['hsl( 0 none none )', 'hsl(0 none none)'], + ['oklab( none sin(calc(e)) 0.029309 )', 'oklab(none 0.41078129 0.029309)'], + ['oklab( from color( xyz-d65 0 0.131815 none ) 1 a a / 0 )', 'oklab(1 -0.34159711 -0.34159711 / 0)'], + ['lch( from color( xyz-d65 0.5 none none ) 73.590222 66.009564 sin(l) )', 'lch(73.590222 66.009564 359.92296575)'], + ['lab( from color( display-p3-linear 0.498631 none 0.881965 ) calc(b - calc(pi)) min(-78.877309, alpha) none )', 'lab(0 -78.877309 none)'], + ['hsl( 302.38883 calc(-infinity) 100 )', 'rgb(255, 255, 255)'], + ['oklab( 0.101614 0.349302 -0.013596 )', 'oklab(0.101614 0.349302 -0.013596)'], + ['lch( from color( from color( xyz-d50 0.849686 abs(0.23606) calc(-infinity) ) xyz-d65 min(calc(pi), z) clamp(0.403757, x, 0.641031) 0 / z ) 0 h l )', 'lch(0 180.64231331 68.17737579 / 0)'], + ['lch( from color( xyz-d65 calc(infinity) 0.824078 none ) h calc(69.179131 - alpha) none )', 'lch(89.99929102 68.179131 none)'], + ['color( xyz-d50 calc(-infinity) 0.175398 0 )', 'color(xyz-d50 -2147483647 0.175398 0)'], + ['oklch( calc(calc(infinity) * calc(0.023559)) none 0 / 0.659195 )', 'oklch(1 none 0 / 0.659195)'], + ['oklch( from color( xyz-d65 none abs(0.490922) 0.5 ) clamp(alpha, h, max(0.347368, c)) none none )', 'oklch(1 none none)'], + ['oklab( from color( srgb 0.320952 calc(1.69854 / clamp(-0.013979, abs(-0.164175), calc(calc(infinity) * 3.456122))) 0.270488 / 0 ) calc(l * l) -0.275187 abs(-0.39285) / a )', 'oklab(1 -0.275187 0.39285 / 0)'], + ['oklch( 0.184699 0.162287 354.631799 )', 'oklch(0.184699 0.162287 354.631799)'], + ['lab( 20.068256 -125 sin(hypot(10.42481, 40.561718)) / 72.3267% )', 'lab(20.068256 -125 -0.86201852 / 0.723267)'], + ['hsl( none none 94.062766 / 0 )', 'hsl(none none 94.062766% / 0)'], + ['lab( 100 -108.885862 -73.359455 )', 'lab(100 -108.885862 -73.359455)'], + ['hsl( none calc(e) 12.595814 )', 'hsl(none 2.71828183% 12.595814%)'], + ['hsl( from color( prophoto-rgb 1 0.810549 hypot(exp(hypot(-100, 33.074941)), 0.878722) ) 351.349729 none alpha / 0 )', 'hsl(351.349729 none 1% / 0)'], + ['hsl( from color( display-p3 0 cos(320.548748deg) 0.97522 ) 0 0 0 )', 'color(srgb 0 0 0)'], + ['lch( 98.902221 0 calc(360 - 265.156199) )', 'lch(98.902221 0 94.843801)'], + ['rgb( from color( from color( prophoto-rgb 0.649984 none 0.837063 ) xyz-d65 0 0 x ) none calc(nan) alpha )', 'color(srgb none 0 0.00392157)'], + ['hwb( 193.55909 61.494176 52.89243 )', 'rgb(137, 137, 137)'], + ['hsl( from color( rec2020 none 0.748462 1 / 78.698336% ) 0 33.333333 69.257868 / none )', 'hsl(0 33.333333% 69.257868% / none)'], + ['color( from color( from color( xyz-d50 none none 0 ) srgb none none g / calc(-infinity) ) xyz-d65 sin(0.2929) alpha 1 )', 'color(xyz-d65 0.28872993 0 1 / 0)'], + ['hwb( from color( display-p3 0.076546 none 0.42949 ) 344.294616 clamp(calc(b * -1.868091), 77.512159, 60.430772) b )', 'color(srgb 0.52290033 0.52290033 0.52290033)'], + ['lab( from color( xyz-d50 0.430498 none none ) a alpha none )', 'lab(100 1 none)'], + ['color-mix( in srgb , color( from color( xyz-d50 0.941554 0.795674 none ) a98-rgb r none none ) , color( from color( display-p3-linear min(0.345268, calc(0.176932 / abs(3.086916))) 0.090675 1 ) prophoto-rgb 0.527772 r min(0.751493, calc(pi)) ) )', 'color(srgb 0.9577014 0.46666975 0.83218302)'], + ['hsl( from color( xyz none 0.895489 0.410705 ) none 33.333333 49.754319 )', 'hsl(none 33.333333% 49.754319%)'], + ['lch( 100 0 none )', 'lch(100 0 none)'], + ['hsl( 75.932384 0 calc(clamp(257.517932, 41.022431, 158.651405) / -0.164564) )', 'rgb(-3990, -3990, -3990)'], + ['oklch( 1 0.2 180 )', 'oklch(1 0.2 180)'], + ['oklab( none -0.133333 -0.4 )', 'oklab(none -0.133333 -0.4)'], + ['hsl( none none 0 )', 'hsl(none none 0%)'], + ['hwb( hypot(217.340452, 106.395732) clamp(72.561694, min(87.596852, 58.290342), 78.348859) none / max(calc(0 / 2.800343), 0.413284) )', 'hwb(241.98537944 72.561694% none / 0.413284)'], + ['oklch( calc(nan) 0.301077 127.200545 / 0.98325 )', 'oklch(0 0.301077 127.200545 / 0.98325)'], + ['hwb( calc(pi) 0 calc(exp(calc(-300 / 2.147722)) / -0.132598) / 1 )', 'rgb(255, 13, 0)'], + ['hsl( from color( display-p3-linear 0.707292 0 calc(0.305336 - 0.220366) ) h none sin(75.848598) )', 'hsl(333.33861816 none 0.43530255%)'], + ['oklch( 1 cos(-97.27372deg) calc(44.491795 + 201.582197) )', 'oklch(1 0 246.073992)'], + ['oklab( 0.666667 none calc(-0.277334 / 3.590694) )', 'oklab(0.666667 none -0.07723688)'], + ['lab( from color( xyz min(0.902102, 0.159467) none none ) 53.094242 -26.381216 0 )', 'lab(53.094242 -26.381216 0)'], + ['lch( 13.015274 21.846303 calc(pi) / 0.896154 )', 'lch(13.015274 21.846303 3.14159265 / 0.896154)'], + ['hsl( 360 53.122571 none )', 'hsl(0 53.122571% none)'], + ['hsl( 216.21148 none 30.316543 )', 'hsl(216.21148 none 30.316543%)'], + ['hsl( 172.96032 0 calc(pi) )', 'rgb(8, 8, 8)'], + ['color( display-p3-linear calc(calc(abs(0.178568)) + 0) calc(e) calc(0.088664 + calc(0 * 7)) )', 'color(display-p3-linear 0.178568 2.71828183 0.088664)'], + ['lab( from color( xyz calc(exp(calc(20 * -2)) / 3.934856) 0.802235 0.198126 ) b none 88.810931 )', 'lab(68.96518262 none 88.810931)'], + ['hwb( 0.854386 100 66.666667 )', 'rgb(153, 153, 153)'], + ['color( a98-rgb 0.196346 0.332355 0.488788 )', 'color(a98-rgb 0.196346 0.332355 0.488788)'], + ['lab( from color( from color( xyz-d50 1 none calc(pi) ) a98-rgb cos(-222.821949deg) 0.671756 r ) 83.639593 l b )', 'lab(83.639593 46.93937777 -78.84967481)'], + ['hwb( from color( xyz calc(e) 0.665196 calc(e) ) 8.158586 w none )', 'hwb(8.158586 -111.19421385% none)'], + ['lch( from color( xyz-d65 0 none none ) c alpha 0 )', 'lch(0 1 0)'], + ['color( rec2020 none calc(0.610284 + hypot(0.333333, calc(infinity))) none )', 'color(rec2020 none 2147483647 none)'], + ['lch( 54.586171 clamp(37.408612, max(exp(calc(e)), 0), 106.17407) none )', 'lch(54.586171 37.408612 none)'], + ['lab( 11.972769 125 none )', 'lab(11.972769 125 none)'], + ['rgb( none 255 230.908491 )', 'color(srgb none 1 0.90552349)'], + ['oklab( from color( xyz-d65 none 0 0.601011 ) 0.5 -0.4 -0.221391 )', 'oklab(0.5 -0.4 -0.221391)'], + ['oklch( 0.736168 0 calc(infinity) / 0 )', 'oklch(0.736168 0 0 / 0)'], + ['rgb( 92.405601 168.197332 72.123921 )', 'rgb(92, 168, 72)'], + ['rgb( from color( display-p3-linear 1 none 0 ) r calc(-infinity) none / calc(0.080385 * min(4.147678, calc(g - -3))) )', 'color(srgb 1.09306636 -2147483647 none / 0.241155)'], + ['hwb( from color( from color( from color( xyz-d50 calc(calc(0.111861 + 0.066667) * 2.5) 0.674939 none ) xyz z 0.636428 x ) xyz-d65 y max(0.443541, 0.013408) alpha ) 180 b h )', 'color(srgb -0.00028572 -0.00028572 -0.00028572)'], + ['rgb( 255 51.872236 117.864333 )', 'rgb(255, 52, 118)'], + ['rgb( 86.637053 calc(106.866087) 35.6749 / 0.507225 )', 'rgba(87, 107, 36, 0.507225)'], + ['oklab( from color( xyz calc(2.743187 / 2.476521) 0 min(0.5, 0.719082) ) 0.687673 calc(calc(0.08 / a) * 4.697935) alpha / none )', 'oklab(0.687673 0.29581279 1 / none)'], + ['lch( none none max(0, 0) )', 'lch(none none 0)'], + ['hwb( from color( xyz-d65 0.491713 none calc(pi) / 0.114535 ) alpha 100 exp(62.362767) )', 'color(srgb 0 0 0 / 0.114535)'], + ['color( from color( xyz-d65 0.464554 0.46924 0.459817 ) srgb-linear 1 0 calc(0 / max(-0.401123, g)) )', 'color(srgb-linear 1 0 0)'], + ['hsl( from color( srgb-linear 1 0 0.30907 ) 360 0 21.229526 )', 'color(srgb 0.21229526 0.21229526 0.21229526)'], + ['lab( from color( from color( xyz calc(0.021056 * 1.722199) 0 calc(1.579469 / -0.061766) ) a98-rgb g clamp(calc(alpha / alpha), r, b) 0.331793 ) cos(103.854257deg) none 65.355474 )', 'lab(0 none 65.355474)'], + ['oklab( hypot(0, exp(-16.61268)) calc(abs(-0.189068) + -0.26666666666666666) 0.1358 )', 'oklab(6e-8 -0.07759867 0.1358)'], + ['lab( 43.522625 -125 33.191419 )', 'lab(43.522625 -125 33.191419)'], + ['color-mix( in srgb-linear , color( rec2020 0 0.705692 clamp(0.702717, calc(sin(calc(-infinity)) / 4), 0.5) / calc(min(0.109594, 0.294906) + 0.630977) ) 9.875862%, color( from color( a98-rgb 0.329126 1 0.342119 ) prophoto-rgb 0.595544 clamp(0.535008, 1, max(clamp(0.079417, 0.853289, b), 0.256002)) abs(0.639047) ) )', 'color(srgb-linear 0.37613051 0.32192384 0.42759986 / 0.97437915)'], + ['color( display-p3 0.661003 calc(calc(nan) * 3.151986) 0.6854 )', 'color(display-p3 0.661003 0 0.6854)'], + ['color-mix( in xyz , color( from color( xyz-d50 0.333333 0.744709 1 ) xyz 0.821351 0.248888 y ) , color( xyz-d65 0 0.418276 0.036263 ) )', 'color(xyz-d65 0.4106755 0.333582 0.40000027)'], + ['hwb( 21.431273 none 32.079672 )', 'hwb(21.431273 none 32.079672%)'], + ['oklab( from color( xyz-d65 0 1 max(exp(15.550211), 0.594226) ) calc(nan) max(sin(min(0.4, calc(e))), l) 0.37384 / none )', 'oklab(0 27.20636574 0.37384 / none)'], + ['lch( 50 145.406136 131.109488 )', 'lch(50 145.406136 131.109488)'], + ['lab( from color( from color( xyz calc(0.017721 * 1) 0.916768 0.728199 ) xyz-d65 0 sin(alpha) none ) 34.180439 none -125 )', 'lab(34.180439 none -125)'], + ['oklch( from color( from color( from color( xyz none 0 0.436418 ) xyz-d65 0.785586 sin(alpha) z ) prophoto-rgb calc(g) none calc(g - clamp(0.669238, 1.214328, 1.5)) ) 1 0.265884 calc(cos(190.962336deg)) )', 'oklch(1 0.265884 359.0182476)'], + ['oklch( from color( from color( xyz-d65 none 0.866123 none ) xyz-d50 none 0 z ) none none c )', 'oklch(none none 0)'], + ['lab( none 0 -41.666667 )', 'lab(none 0 -41.666667)'], + ['oklch( none 0.218699 322.751282 )', 'oklch(none 0.218699 322.751282)'], + ['oklab( from color( from color( xyz 0.144385 0.421847 0.029675 ) xyz-d65 x 1 x ) none -0.251403 -0.4 )', 'oklab(none -0.251403 -0.4)'], + ['rgb( none 43.18724 0 / 0 )', 'color(srgb none 0.16936173 0 / 0)'], + ['hwb( 186.145908 none 41.365558 )', 'hwb(186.145908 none 41.365558%)'], + ['oklab( 0 -0.4 -0.324868 )', 'oklab(0 -0.4 -0.324868)'], + ['hwb( none 20.889587 calc(0 * 0.226753) )', 'hwb(none 20.889587% 0%)'], + ['hsl( 351.346369 none 26.475832 / 75.058093% )', 'hsl(351.346369 none 26.475832% / 0.75058093)'], + ['oklab( none 0.336103 0.329139 / 0.268582 )', 'oklab(none 0.336103 0.329139 / 0.268582)'], + ['oklch( 1 none 0 )', 'oklch(1 none 0)'], + ['lch( none 0 cos(-280.965135deg) / 0.016028 )', 'lch(none 0 0.19021163 / 0.016028)'], + ['lch( none none none )', 'lch(none none none)'], + ['oklab( 0.622891 0 -0.4 )', 'oklab(0.622891 0 -0.4)'], + ['oklab( 0.589667 none 0.355969 )', 'oklab(0.589667 none 0.355969)'], + ['oklab( from color( xyz exp(-18.281562) none 0.869499 ) a -0.4 0.4 )', 'oklab(0 -0.4 0.4)'], + ['lch( from color( display-p3-linear 0.5 none 1 ) none calc(3.47779 * -2) 180 / 0 )', 'lch(none 0 180 / 0)'], + ['oklch( calc(nan) 0.136485 none / 0.31312 )', 'oklch(0 0.136485 none / 0.31312)'], + ['lch( none 150 2.42844 )', 'lch(none 150 2.42844)'], + ['lch( from color( xyz 0.352511 calc(-infinity) 0.329657 / abs(0.461229) ) 23.045334 c max(188.082516, h) )', 'lch(23.045334 2147483647 338.08524152 / 0.461229)'], + ['rgb( none none calc(91.172186 + calc(nan)) )', 'color(srgb none none 0)'], + ['lab( from color( from color( rec2020 0 none 0.417228 ) xyz-d50 cos(-210.813619deg) 0 0.666667 ) min(calc(calc(383.950375 - 300) / l), 46.916426) none -125 )', 'lab(46.916426 none -125)'], + ['hwb( 247.139389 91.025346 0 )', 'rgb(235, 232, 255)'], + ['lch( cos(268.206724deg) min(31.801456, 6.658351) 0 )', 'lch(0 6.658351 0)'], + ['hsl( from color( srgb-linear none max(1, 0) none ) 317.509607 none l / 0.948012 )', 'hsl(317.509607 none 50% / 0.948012)'], + ['color( xyz 0.48072 none 0.382627 )', 'color(xyz-d65 0.48072 none 0.382627)'], + ['hwb( 0 0 abs(abs(hypot(47.178578, 61.425284))) )', 'rgb(57, 0, 0)'], + ['color( rec2020 none 0.300974 0.553975 )', 'color(rec2020 none 0.300974 0.553975)'], + ['oklch( none 0 calc(pi) )', 'oklch(none 0 3.14159265)'], + ['color-mix( in xyz , color( rec2020 none none exp(-99.401642) ) , color( from color( from color( a98-rgb hypot(0.887512, hypot(0.830261, hypot(0.077991, 0.439074))) 0.5 0.632837 ) xyz-d50 0 0.473684 abs(0.641361) ) xyz-d50 alpha sin(y) 1 / 0.211574 ) 10.245926% )', 'color(xyz-d65 1.00819589 0.45339905 0.03144349 / 0.91921846)'], + ['color-mix( in xyz-d65 , color( xyz-d50 0.603042 calc(0.767934) 0 ) , color( from color( from color( xyz-d50 calc(e) 0.659285 exp(35.439043) ) display-p3 b alpha b ) xyz 0.333333 clamp(0.261893, clamp(alpha, 1, 0), z) x ) 89.921335% )', 'color(xyz-d65 0.35602204 0.97566019 1684248958.6524444)'], + ['oklch( min(0.201404, 0.179088) 0.01944 214.422177 )', 'oklch(0.179088 0.01944 214.422177)'], + ['oklab( 0.881023 calc(infinity) exp(100) )', 'oklab(0.881023 2147483647 2147483647)'], + ['lab( none sin(45.146233) 77.236735 )', 'lab(none 0.91836774 77.236735)'], + ['color( xyz none 1 cos(9.990268deg) )', 'color(xyz-d65 none 1 0.98483723)'], + ['color( xyz 0 exp(calc(66.66666666666667 + -22.222222)) 0.47646 / 0.892252 )', 'color(xyz-d65 0 2147483647 0.47646 / 0.892252)'], + ['lab( 56.922422 -84.227129 none )', 'lab(56.922422 -84.227129 none)'], + ['lab( 22.957323 -125 none / 0.600666 )', 'lab(22.957323 -125 none / 0.600666)'], + ['oklch( from color( xyz-d65 none 0.602273 calc(clamp(0.097134, 0.074733, calc(0.1764 - 0.30000000000000004)) * 7) ) exp(-100) calc(0.187061 + c) none )', 'oklch(0 0.8366412 none)'], + ['rgb( calc(nan) none sin(102.740757) )', 'color(srgb 0 none 0.00314782)'], + ['hwb( 317.066573 none 44.368271 )', 'hwb(317.066573 none 44.368271%)'], + ['color( srgb-linear 0.889814 1 calc(0 + 0) )', 'color(srgb-linear 0.889814 1 0)'], + ['lab( 1.361417 sin(calc(-83.33333333333333 + 32.886026)) -75.449396 )', 'lab(1.361417 -0.18082467 -75.449396)'], + ['lab( from color( xyz-d50 0.929709 0.284997 1 ) l none 125 )', 'lab(60.33752678 none 125)'], + ['lab( 0 -125 47.616934 )', 'lab(0 -125 47.616934)'], + ['color( xyz-d50 0.573132 0.713607 0 )', 'color(xyz-d50 0.573132 0.713607 0)'], + ['oklab( from color( xyz-d50 calc(0.075709 * -0.995366) calc(max(0.333333, sin(calc(e))) + 0.139432) 0.52266 ) calc(0.588292 / -0.04513) a calc(b) )', 'oklab(0 -0.77970762 -0.02171927)'], + ['oklab( 0.254534 none 0.12158 )', 'oklab(0.254534 none 0.12158)'], + ['lab( from color( rec2020 1 none 0.848405 ) none l 0 )', 'lab(none 62.49142549 0)'], + ['color-mix( in srgb , color( from color( xyz 0.642032 0.012382 0.159516 ) srgb 0.564982 b 1 ) , color( xyz-d50 clamp(0.794943, 0.017277, 0) none exp(max(calc(50 - -24.070284), -100)) ) 43.582239% )', 'color(srgb -2642.22138628 0.48654102 4097.36718129)'], + ['hwb( sin(calc(0 * hypot(1.434318, 4.124114))) 100 exp(31.414053) )', 'rgb(0, 0, 0)'], + ['hwb( calc(60.473719 * calc(1.274977 - 10.5)) 88.168151 37.468107 / calc(0) )', 'rgba(179, 179, 179, 0)'], + ['color( prophoto-rgb 1 0.5 0 )', 'color(prophoto-rgb 1 0.5 0)'], + ['oklch( from color( display-p3-linear 0 0 0.329553 ) clamp(exp(0), h, exp(alpha)) 0.099848 282.394526 )', 'oklch(1 0.099848 282.394526)'], + ['oklch( none 0.074811 calc(198.005867) / 0.757021 )', 'oklch(none 0.074811 198.005867 / 0.757021)'], + ['hwb( 70.40751 exp(87.716215) none )', 'hwb(70.40751 1.2435640194713217e+38% none)'], + ['rgb( from color( xyz 1 0.674604 0.456506 / 88.405167% ) alpha r none )', 'color(srgb 0.00346687 1.34625682 none / 0.88405167)'], + ['color( display-p3-linear 0.191322 0 0.154086 )', 'color(display-p3-linear 0.191322 0 0.154086)'], + ['oklab( 0.73794 hypot(0.083612, -0.4) -0.101723 )', 'oklab(0.73794 0.40864528 -0.101723)'], + ['lch( calc(infinity) clamp(75, 95.195885, 150) 250.673853 / 0 )', 'lch(100 95.195885 250.673853 / 0)'], + ['rgb( none none 220.488998 )', 'color(srgb none none 0.86466274)'], + ['oklab( max(0.079714, 0.209867) -0.069286 0.260795 )', 'oklab(0.209867 -0.069286 0.260795)'], + ['lab( from color( prophoto-rgb 0.626348 0.850347 1 / 0.915674 ) 0 -54.09468 none )', 'lab(0 -54.09468 none / 0.915674)'], + ['oklch( 0.00162 0.304833 360 / 0.284564 )', 'oklch(0.00162 0.304833 0 / 0.284564)'], + ['hwb( none 36.871096 42.708746 )', 'hwb(none 36.871096% 42.708746%)'], + ['rgb( from color( from color( display-p3 cos(348.235022deg) calc(3 / 2.441634) calc(nan) ) a98-rgb 0 r 0.333333 ) 205.758457 hypot(calc(b + 57.716321), 255) none / b )', 'color(srgb 0.80689591 1.10498153 none)'], + ['hwb( hypot(180, 199.011873) clamp(100, 100, 51.293509) 53.970002 )', 'rgb(166, 166, 166)'], + ['color( srgb 0.644304 calc(infinity) 0.195513 / 0.253235 )', 'color(srgb 0.644304 2147483647 0.195513 / 0.253235)'], + ['rgb( min(0, calc(infinity)) cos(-68.343013deg) 99.443771 )', 'rgb(0, 0, 99)'], + ['hsl( from color( xyz-d65 0.030498 1 0.561373 ) 360 h s )', 'color(srgb -33.68853523 142.82567069 142.82567069)'], + ['hsl( 154.543946 100 none )', 'hsl(154.543946 100% none)'], + ['lab( 0 none none / 0.436394 )', 'lab(0 none none / 0.436394)'], + ['oklab( min(calc(pi), calc(calc(nan) * 4.464766)) -0.4 0.167954 )', 'oklab(0 -0.4 0.167954)'], + ['lab( 0 116.666657 20.179901 )', 'lab(0 116.666657 20.179901)'], + ['hsl( 204.563861 57.510549 calc(-infinity) )', 'rgb(NaN, NaN, NaN)'], + ['hsl( from color( from color( xyz calc(-infinity) min(0.59076, 0) 0.713121 ) prophoto-rgb none 0 1 ) 0 alpha alpha / calc(e) )', 'color(srgb 0.0101 0.0099 0.0099)'], + ['hsl( from color( from color( xyz-d50 0.805304 0.087331 none ) xyz 0.060207 abs(alpha) y / min(0, 0) ) 133.912832 78.710387 100 / 0.372157 )', 'color(srgb 1 1 1 / 0.372157)'], + ['color-mix( in display-p3 , color( from color( srgb hypot(1, 1) 1 calc(0 + 0.000659) ) display-p3-linear alpha g calc(calc(infinity) * 3.837252) ) , color( from color( xyz-d65 none 0.401255 none / 40.323459% ) display-p3-linear max(max(1, 0), alpha) r 0.166429 / r ) 95.553535% )', 'color(display-p3 1 1.0175118 363.14249625)'], + ['lab( from color( xyz-d50 min(0.666667, 0.716762) 0.865005 min(0.365638, min(calc(1.458738 - 0.454243), 0.630327)) ) hypot(a, l) 125 alpha / 0 )', 'lab(100 125 1 / 0)'], + ['color( xyz-d65 0.800196 0.303875 0.319336 / 83.661305% )', 'color(xyz-d65 0.800196 0.303875 0.319336 / 0.83661305)'], + ['lab( 100 max(101.349028, 124.073523) none )', 'lab(100 124.073523 none)'], + ['hsl( 203.066565 51.988472 0 )', 'rgb(0, 0, 0)'], + ['oklab( 0 calc(exp(-83.666361) - calc(nan)) 0 )', 'oklab(0 0 0)'], + ['hsl( 57.952174 35.750304 none )', 'hsl(57.952174 35.750304% none)'], + ['oklch( from color( xyz-d65 0.790041 cos(69.044919deg) none ) l 0.257783 360 )', 'oklch(0.7550871 0.257783 0)'], + ['hsl( 0 min(54.203612, 43.36642) hypot(94.922513, calc(infinity)) / 0.788294 )', 'rgba(NaN, NaN, NaN, 0.788294)'], + ['color( xyz sin(0.807843) 0.749044 none )', 'color(xyz-d65 0.72279824 0.749044 none)'], + ['color( from color( from color( display-p3-linear none none 0 ) xyz-d65 0.604586 none abs(clamp(y, y, sin(0.110916))) ) xyz-d65 0.5 0.423827 0.518348 )', 'color(xyz-d65 0.5 0.423827 0.518348)'], + ['oklch( 0.5 none none / 1 )', 'oklch(0.5 none none)'], + ['oklch( 0.333333 0 calc(e) )', 'oklch(0.333333 0 2.71828183)'], + ['oklab( from color( prophoto-rgb none calc(pi) none ) 0.753883 -0.047461 calc(alpha) )', 'oklab(0.753883 -0.047461 1)'], + ['rgb( 0 67.111277 0 / 0 )', 'rgba(0, 67, 0, 0)'], + ['oklch( from color( xyz-d50 0.962119 1 none ) none calc(calc(cos(-178.442023deg)) + abs(0.100779)) calc(alpha - 0) / sin(calc(calc(nan) + 0.333333)) )', 'oklch(none 0 1 / 0)'], + ['color( xyz 0.919838 calc(0.204688 + 0.623676) none / 36.406865% )', 'color(xyz-d65 0.919838 0.828364 none / 0.36406865)'], + ['oklab( 0.333333 0.191544 calc(0.273378) / 0 )', 'oklab(0.333333 0.191544 0.273378 / 0)'], + ['oklch( 0.333333 0.066641 145.647772 )', 'oklch(0.333333 0.066641 145.647772)'], + ['lch( 45.586298 none none )', 'lch(45.586298 none none)'], + ['oklab( from color( from color( from color( srgb 0 0.678308 calc(0.188597 + 0.6666666666666666) ) xyz-d65 1 0.690175 calc(x * x) ) xyz-d50 exp(abs(z)) 0.240949 1 ) none b a )', 'oklab(none -0.24936671 0.64426027)'], + ['lab( none -125 -40.748602 )', 'lab(none -125 -40.748602)'], + ['hsl( 195.269964 none 50.031601 )', 'hsl(195.269964 none 50.031601%)'], + ['hsl( from color( display-p3-linear 0 0.5 none ) clamp(360, h, 25.832242) 59.114134 none / 0.933679 )', 'hsl(0 59.114134% none / 0.933679)'], + ['color( display-p3 0.185799 0 0 )', 'color(display-p3 0.185799 0 0)'], + ['color-mix( in a98-rgb , color( xyz 0.815651 0.356409 0.462646 ) , color( xyz-d50 0.109946 0.389078 calc(-infinity) ) 96.976086% )', 'color(a98-rgb 10416.13685249 -3622.01053847 -19456.38325746)'], + ['hwb( from color( from color( xyz-d65 0.763359 0.008215 0.167906 ) xyz-d65 alpha min(y, 0) none ) 17.185342 alpha 100 / 0 )', 'color(srgb 0.00990099 0.00990099 0.00990099 / 0)'], + ['color( a98-rgb 0.587928 0.61653 0.212178 )', 'color(a98-rgb 0.587928 0.61653 0.212178)'], + ['lch( from color( xyz 0.312239 0.153054 0.666667 ) 47.559617 calc(l) 180 / 0.5 )', 'lch(47.559617 45.55992322 180 / 0.5)'], + ['lch( none calc(e) 360 )', 'lch(none 2.71828183 0)'], + ['lab( none 0 min(13.457435, -29.262501) / 0 )', 'lab(none 0 -29.262501 / 0)'], + ['hwb( from color( from color( from color( xyz-d65 0.40465 calc(0.503882 + abs(0.502185)) 0.5 / abs(1) ) display-p3-linear 0 g 0 ) xyz-d50 y 0.712027 clamp(y, 0.5, 0.235983) / 0.907819 ) none 0 none )', 'hwb(none 0% none / 0.907819)'], + ['hsl( from color( a98-rgb none 1 0.802893 ) l none alpha )', 'hsl(16.80249533 none 1%)'], + ['rgb( from color( prophoto-rgb none 0.5 none ) none none 85 )', 'color(srgb none none 0.33333333)'], + ['hsl( 166.162995 80.912428 3.996578 / 61.524469% )', 'rgba(2, 18, 15, 0.61524469)'], + ['lch( 40.648154 none none )', 'lch(40.648154 none none)'], + ['oklch( none 0.130734 0 )', 'oklch(none 0.130734 0)'], + ['lab( 61.495663 none -111.410597 )', 'lab(61.495663 none -111.410597)'], + ['hsl( none 45.911201 none )', 'hsl(none 45.911201% none)'], + ['oklch( from color( xyz-d50 0.795953 none 0 ) calc(0.899797 - 1.320707) c c )', 'oklch(0 1.43595308 1.43595308)'], + ['color( srgb-linear 0.99573 0.5 0 / 0.806452 )', 'color(srgb-linear 0.99573 0.5 0 / 0.806452)'], + ['hsl( from color( xyz 0 calc(0.083936 * 0.667271) 0.244636 ) min(alpha, h) none 86.974044 / none )', 'hsl(1 none 86.974044% / none)'], + ['color-mix( in xyz , color( from color( xyz 0.822757 0 none ) rec2020 1 0.5 r ) , color( xyz-d50 0.333333 none 0.573808 ) 49.379622% )', 'color(xyz-d65 0.63223654 0.47491379 1.14022789)'], + ['rgb( 255 none 255 )', 'color(srgb 1 none 1)'], + ['hsl( cos(-77.952935deg) 66.666667 14.032614 )', 'rgb(60, 12, 12)'], + ['color( display-p3 0.88254 cos(calc(clamp(-44.056847deg, -52.471069deg, -68.540071deg) * -2)) 0.747743 )', 'color(display-p3 0.88254 0.0329163 0.747743)'], + ['oklch( sin(0.781348) none 343.609103 / 0.717762 )', 'oklch(0.70423709 none 343.609103 / 0.717762)'], + ['rgb( from color( display-p3-linear 0.575519 none hypot(exp(abs(100)), calc(nan)) ) b 0 186.915268 )', 'color(srgb -0.10795352 0 0.73300105)'], + ['color( xyz 0.672673 none 0.161621 / 14.69747% )', 'color(xyz-d65 0.672673 none 0.161621 / 0.1469747)'], + ['lab( none 109.238199 exp(calc(41.244745 - -111.633189)) / 0.666667 )', 'lab(none 109.238199 2147483647 / 0.666667)'], + ['lab( 0 34.345349 60.351098 / 0.485887 )', 'lab(0 34.345349 60.351098 / 0.485887)'], + ['color( srgb hypot(0.309697, calc(infinity)) calc(pi) none )', 'color(srgb 2147483647 3.14159265 none)'], + ['rgb( calc(nan) calc(-infinity) hypot(190.367303, 47.619085) )', 'rgb(0, -547608329985, 196)'], + ['hsl( 324.508768 16.219424 none )', 'hsl(324.508768 16.219424% none)'], + ['lab( calc(exp(exp(-35.736885)) * calc(1.5 - 10.5)) hypot(calc(83.33333333333333 + calc(-213.139469 / 0.023263)), -69.308868) -86.897857 )', 'lab(0 9079.09727649 -86.897857)'], + ['lch( from color( rec2020 0.079866 0 0.491405 ) h h 307.616522 / 0.704351 )', 'lch(100 301.27559807 307.616522 / 0.704351)'], + ['hwb( from color( xyz-d50 none 0 none ) 28.578398 abs(w) calc(b * clamp(w, 3.567638, abs(calc(-infinity)))) )', 'color(srgb 0 0 0)'], + ['lch( from color( prophoto-rgb none 0.925395 0.230912 ) none none 180 )', 'lch(none none 180)'], + ['lch( from color( srgb 0 calc(0 / calc(4.337934 - -0.005993)) calc(infinity) ) none none none )', 'lch(none none none)'], + ['hwb( 283.161018 none none )', 'hwb(283.161018 none none)'], + ['lch( 12.349569 0 0 / 8.118691% )', 'lch(12.349569 0 0 / 0.08118691)'], + ['oklab( none clamp(0, 0.4, -0.31355) none )', 'oklab(none 0 none)'], + ['oklab( 0.749667 -0.108347 -0.030374 )', 'oklab(0.749667 -0.108347 -0.030374)'], + ['rgb( calc(hypot(8.651031, 30.158795) * sin(4.699935)) calc(-infinity) 0 )', 'rgb(-31, -547608329985, 0)'], + ['rgb( calc(41.934668 * 5.335925) calc(infinity) calc(min(calc(4.376725 * 5.981941), 0) * -0.175296) )', 'rgb(224, 547608329985, 0)'], + ['lab( 91.962401 -57.106492 none )', 'lab(91.962401 -57.106492 none)'], + ['color( xyz 0 none 0.606987 )', 'color(xyz-d65 0 none 0.606987)'], + ['lab( from color( from color( from color( prophoto-rgb 0.149298 calc(pi) none ) display-p3 none b g ) xyz-d65 0.158083 0.333333 x ) none none a / 0 )', 'lab(none none -65.03068511 / 0)'], + ['lch( 100 0 64.819497 )', 'lch(100 0 64.819497)'], + ['color( xyz-d65 calc(0.6666666666666666 + 0.222222) 0.772011 none )', 'color(xyz-d65 0.88888867 0.772011 none)'], + ['hwb( calc(-infinity) none none )', 'hwb(0 none none)'], + ['oklch( none calc(infinity) 263.817802 / 0.799711 )', 'oklch(none 2147483647 263.817802 / 0.799711)'], + ['oklch( 0.343367 0.298727 calc(nan) )', 'oklch(0.343367 0.298727 0)'], + ['rgb( from color( xyz-d65 calc(e) 0.024859 none ) 255 r alpha )', 'color(srgb 1 2.55237224 0.00392157)'], + ['lch( from color( srgb-linear 0 1 hypot(1, 0.457824) ) sin(27.214479) clamp(45.544284, calc(64.32834 / 0.437761), 124.529289) 240 )', 'lch(0.87228453 124.529289 240)'], + ['hsl( 180 63.479489 61.888269 )', 'rgb(96, 220, 220)'], + ['hwb( 0 34.112083 calc(sin(48.838576)) )', 'rgb(258, 87, 87)'], + ['hwb( 350.911674 66.666667 73.410965 )', 'rgb(121, 121, 121)'], + ['hsl( from color( prophoto-rgb 0.083712 none calc(max(0.474068, 0.205984) + calc(pi)) ) 0 69.833939 80.381431 )', 'color(srgb 0.94081851 0.66681011 0.66681011)'], + ['oklab( 0 none none )', 'oklab(0 none none)'], + ['color( rec2020 none 0 calc(0.186402 - hypot(1.373011, abs(1.481552))) )', 'color(rec2020 none 0 -1.83353749)'], + ['rgb( 7.034704 none 140.564282 / 0 )', 'color(srgb 0.02758707 none 0.55123248 / 0)'], + ['rgb( 221.421982 calc(infinity) 85 )', 'rgb(221, 547608329985, 85)'], + ['hwb( from color( from color( xyz-d50 none 0.462028 none ) rec2020 none g none ) calc(209.662737) 33.333333 sin(50) / w )', 'color(srgb 0.33333333 0.67174065 1.00262375 / 0)'], + ['rgb( 82.356354 6.836258 127.5 / 0.211586 )', 'rgba(82, 7, 128, 0.211586)'], + ['rgb( 85 255 192.299594 )', 'rgb(85, 255, 192)'], + ['hwb( hypot(0, max(0, 300.91182)) 89.37722 19.357528 )', 'rgb(210, 210, 210)'], + ['hsl( calc(-infinity) none 80.139608 / 0.583531 )', 'hsl(0 none 80.139608% / 0.583531)'], + ['rgb( from color( from color( from color( srgb-linear 0.238088 0.77969 0.451918 ) srgb-linear g b 0 ) srgb 0.666667 none 0.5 ) none none none )', 'color(srgb none none none)'], + ['color-mix( in rec2020 , color( rec2020 none 0.897223 none ) , color( xyz-d50 0.707588 0.553702 0.927077 ) 3.449198% )', 'color(rec2020 0.87649968 0.89080284 1.05930837)'], + ['oklab( 0.585049 0.183168 calc(calc(-0.109812 * 1.898768) - 0.204595) )', 'oklab(0.585049 0.183168 -0.41310251)'], + ['oklab( 0.666667 0.329303 -0.132928 )', 'oklab(0.666667 0.329303 -0.132928)'], + ['lab( calc(hypot(33.333333, calc(0 * 4.839833)) + 37.156386) -27.751728 -11.283372 )', 'lab(70.489719 -27.751728 -11.283372)'], + ['lab( 0 -63.357259 sin(-36.242049) )', 'lab(0 -63.357259 0.99353932)'], + ['lch( 37.601293 none 352.818718 )', 'lch(37.601293 none 352.818718)'], + ['hwb( 352.805349 58.875268 calc(e) )', 'rgb(248, 150, 162)'], + ['lch( calc(infinity) 96.623316 360 / abs(calc(0)) )', 'lch(100 96.623316 0 / 0)'], + ['oklab( 0.887606 0.4 -0.133589 )', 'oklab(0.887606 0.4 -0.133589)'], + ['rgb( from color( from color( display-p3-linear none cos(-174.243007deg) 0.161886 / 0.423995 ) xyz cos(alpha) x z ) none 170 hypot(b, 0) )', 'color(srgb none 0.66666667 0.46360746 / 0.423995)'], + ['hsl( 0 calc(nan) calc(65.986367) / 0 )', 'rgba(168, 168, 168, 0)'], + ['oklab( none sin(sin(0.00751)) 0 )', 'oklab(none 0.00750986 0)'], + ['hsl( 0 calc(calc(infinity) + 0) 84.221855 )', 'rgb(864024578, -864024149, -864024149)'], + ['oklch( 0.710835 calc(infinity) none )', 'oklch(0.710835 2147483647 none)'], + ['lch( from color( xyz-d65 0.666667 0.098089 0 ) alpha 93.249836 h )', 'lch(1 93.249836 21.0804355)'], + ['hwb( from color( xyz-d65 0.5 0.556353 cos(hypot(227.765004deg, -216.792039deg)) ) 120 min(alpha, 67.401864) w )', 'color(srgb 0.01 0.32293608 0.01)'], + ['oklch( from color( from color( xyz-d65 none 0 0.248382 ) xyz calc(cos(235.823946deg)) calc(nan) none ) none min(max(alpha, calc(h - 0.329057)), 0.098359) 0 )', 'oklch(none 0.098359 0)'], + ['rgb( 58.340441 0 none )', 'color(srgb 0.22878604 0 none)'], + ['color( xyz 0 calc(e) 0.564121 )', 'color(xyz-d65 0 2.71828183 0.564121)'], + ['hsl( from color( xyz 0.619522 sin(0.819118) 0.476567 / 0.560561 ) calc(nan) none none )', 'hsl(0 none none / 0.560561)'], + ['lab( 82.299598 125 -27.497052 )', 'lab(82.299598 125 -27.497052)'], + ['color-mix( in srgb , color( xyz-d65 none none 0.401336 / 0.686064 ) 68.463428%, color( from color( xyz 0.417077 calc(calc(6.71673 / 3.091937) / 1.950615) 0.596127 ) srgb-linear clamp(0.818508, min(0.628142, calc(0)), alpha) calc(min(g, g) + 0.6666666666666666) 0.611541 ) 59.256571% )', 'color(srgb 0.91553681 1.4581611 0.75080858 / 0.83171676)'], + ['lch( none 133.529088 360 )', 'lch(none 133.529088 0)'], + ['color( srgb max(cos(104.357313deg), 0.669961) 1 0.439905 )', 'color(srgb 0.669961 1 0.439905)'], + ['color( xyz-d50 none 0.5 0.270126 / 0.384159 )', 'color(xyz-d50 none 0.5 0.270126 / 0.384159)'], + ['hwb( cos(-286.931915deg) none calc(37.537019 - 0) )', 'hwb(0.29123511 none 37.537019%)'], + ['color( from color( rec2020 0.51123 calc(0.75 - 0.96901) 0.026408 ) rec2020 1 0 0 )', 'color(rec2020 1 0 0)'], + ['rgb( from color( display-p3-linear none 0.456043 0.241209 ) 127.5 127.5 min(22.421432, abs(249.581006)) )', 'color(srgb 0.5 0.5 0.08792718)'], + ['oklch( from color( xyz-d65 0.666667 0.40257 0.664869 ) calc(h / -1) alpha 180 )', 'oklch(0 1 180)'], + ['color( xyz none none 0.455416 )', 'color(xyz-d65 none none 0.455416)'], + ['oklab( from color( xyz-d65 0.459448 0.180225 min(0.827703, 0.701748) ) b -0.4 none )', 'oklab(0 -0.4 none)'], + ['hwb( 270.592099 calc(nan) 4.689527 / 1 )', 'rgb(124, 0, 243)'], + ['oklch( exp(100) 0.125384 0 )', 'oklch(1 0.125384 0)'], + ['hsl( 201.949838 none abs(94.867973) )', 'hsl(201.949838 none 94.867973%)'], + ['oklab( calc(1.331786 - 0.594353) -0.237684 none )', 'oklab(0.737433 -0.237684 none)'], + ['hsl( 321.662055 3.816089 calc(exp(79.032154) * 2.351609) / 0 )', 'rgba(547608329985, 547608329985, 547608329985, 0)'], + ['color( xyz 0.155564 0.665864 0.686312 )', 'color(xyz-d65 0.155564 0.665864 0.686312)'], + ['oklab( calc(-infinity) -0.170124 calc(calc(-0.8000000000000002 + abs(0.006745)) / 0.12093) / 24.293482% )', 'oklab(0 -0.170124 -6.55962127 / 0.24293482)'], + ['oklch( calc(0.817994 / calc(-infinity)) max(0, 0.065262) 198.523626 )', 'oklch(0 0.065262 198.523626)'], + ['hsl( from color( xyz-d65 0.412844 0.498193 none ) none none h )', 'hsl(none none 58.71491776%)'], + ['oklab( 0.707938 0 none )', 'oklab(0.707938 0 none)'], + ['color( from color( rec2020 0.526226 0.237354 calc(cos(calc(389.468266deg - 111.217529deg)) + 0.451764) / 0 ) xyz-d50 0.5 1 z )', 'color(xyz-d50 0.5 1 0.23004689 / 0)'], + ['lab( 27.677096 none 125 )', 'lab(27.677096 none 125)'], + ['rgb( 63.169592 0 none / 0 )', 'color(srgb 0.24772389 0 none / 0)'], + ['oklab( none 0.236432 none / 0.223319 )', 'oklab(none 0.236432 none / 0.223319)'], + ['lab( from color( prophoto-rgb clamp(0.193538, 1, 0.5) none clamp(calc(cos(-90.313466deg) - 0), 0, 0.023815) ) none 27.697599 none )', 'lab(none 27.697599 none)'], + ['color( from color( from color( xyz calc(0.814758) 0 0.894324 / 0.439371 ) srgb none b 0.5 / alpha ) srgb-linear 1 none 0.313171 )', 'color(srgb-linear 1 none 0.313171 / 0.439371)'], + ['lch( from color( a98-rgb exp(-63.435721) 0.181716 calc(pi) / 0 ) none 65.690822 l )', 'lch(none 65.690822 91.61834664 / 0)'], + ['color( xyz-d65 0.283865 0.031358 cos(275.116546deg) )', 'color(xyz-d65 0.283865 0.031358 0.08918193)'], + ['lab( 6.103323 none 125 )', 'lab(6.103323 none 125)'], + ['hwb( 302.158062 none 40.61677 )', 'hwb(302.158062 none 40.61677%)'], + ['hwb( 276.000079 calc(108.229902 - 0) 1.963398 )', 'rgb(250, 250, 250)'], + ['oklch( from color( srgb-linear 0.377399 0.5 0 ) calc(0.1 * alpha) 0.34533 0 )', 'oklch(0.1 0.34533 0)'], + ['hwb( from color( a98-rgb none calc(0.06242 + max(calc(0.014119), 0.399073)) 1 ) none 10.465362 0 )', 'hwb(none 10.465362% 0%)'], + ['hsl( 137.462797 calc(40.871906 + 6.807018) calc(e) )', 'rgb(4, 10, 6)'], + ['oklab( none calc(calc(-infinity) + -0.082883) -0.390725 / 0.548618 )', 'oklab(none -2147483647 -0.390725 / 0.548618)'], + ['hwb( 42.558828 15.245063 61.117457 )', 'rgb(99, 82, 39)'], + ['lab( 0 none calc(-infinity) )', 'lab(0 none -2147483647)'], + ['color-mix( in oklab , color( from color( xyz-d65 none 0.340135 none ) display-p3 0.656577 alpha calc(calc(nan) / 3.7025) ) , color( xyz-d65 0.390132 none 0.334173 ) )', 'oklab(0.63232807 0.32776913 -0.01655491)'], + ['oklch( 0.496417 calc(calc(0.4) / -1) 0 )', 'oklch(0.496417 0 0)'], + ['hsl( 34.062099 63.150997 28.156925 )', 'rgb(117, 78, 26)'], + ['hsl( from color( a98-rgb 0.136581 none 1 ) 4.593262 s abs(99.525702) )', 'color(srgb 1.00018017 0.99108764 0.99033387)'], + ['rgb( calc(hypot(max(182.540061, 127.5), 255)) 104.409564 0 / 0.282385 )', 'rgba(314, 104, 0, 0.282385)'], + ['lch( from color( prophoto-rgb 0.5 0 0.850156 ) sin(l) none hypot(cos(-75.655843deg), c) )', 'lch(0 none 138.85970627)'], + ['lch( 100 53.400093 none )', 'lch(100 53.400093 none)'], + ['hwb( 146.869882 75.278764 50 )', 'rgb(153, 153, 153)'], + ['lch( calc(cos(333.776225deg) - 0) none 0 )', 'lch(0.89707509 none 0)'], + ['hwb( from color( from color( xyz 0.173817 0.502371 calc(infinity) ) a98-rgb sin(g) 0.386491 0 ) b exp(86.705425) 8.558065 / w )', 'color(srgb 1 1 1 / 0)'], + ['color( srgb-linear exp(68.113226) none 0.403269 )', 'color(srgb-linear 2147483647 none 0.403269)'], + ['lab( 89.269396 81.014614 20.434066 )', 'lab(89.269396 81.014614 20.434066)'], + ['hsl( 103.341381 0 79.89223 )', 'rgb(204, 204, 204)'], + ['hwb( 180 0 none / 0.107838 )', 'hwb(180 0% none / 0.107838)'], + ['oklch( 0.031616 0.209287 289.283342 )', 'oklch(0.031616 0.209287 289.283342)'], + ['lch( 96.257469 150 0 )', 'lch(96.257469 150 0)'], + ['oklab( from color( srgb cos(calc(-193.880552deg)) 0.17222 0.401876 ) abs(1) exp(19.758458) -0.4 / exp(calc(-131.168232 - 150)) )', 'oklab(1 381056417.6690307 -0.4 / 0)'], + ['oklab( 1 0.137281 0.216389 )', 'oklab(1 0.137281 0.216389)'], + ['hsl( none 9.127923 82.120252 )', 'hsl(none 9.127923% 82.120252%)'], + ['rgb( 8.209657 calc(infinity) 201.497298 )', 'rgb(8, 547608329985, 201)'], + ['lch( none 34.026504 calc(848.410495 / calc(infinity)) / calc(min(7.200019%, 9.113235%) * 3.078458) )', 'lch(none 34.026504 0 / 0.22164956)'], + ['hwb( calc(0 - 75.469467) min(65.28164, 68.173873) calc(-infinity) )', 'rgb(NaN, NaN, NaN)'], + ['color-mix( in lch shorter hue, color( srgb none 0.852753 0.854582 ) 7.084761%, color( srgb-linear 0.770019 0 0.446824 / 1 ) )', 'lch(53.56526189 83.94921589 329.20166048)'], + ['lch( none 83.008755 0 )', 'lch(none 83.008755 0)'], + ['oklch( none 0.382979 0 / 0 )', 'oklch(none 0.382979 0 / 0)'], + ['oklab( calc(e) none -0.4 )', 'oklab(1 none -0.4)'], + ['oklch( 0.410979 0.250072 191.287642 )', 'oklch(0.410979 0.250072 191.287642)'], + ['lch( 13.323988 0 120 )', 'lch(13.323988 0 120)'], + ['oklch( 0.673547 0.4 244.658447 )', 'oklch(0.673547 0.4 244.658447)'], + ['lch( clamp(calc(sin(0) / calc(-infinity)), 84.680178, 0) 75 262.74486 )', 'lch(0 75 262.74486)'], + ['color-mix( in xyz-d65 , color( srgb-linear calc(0.060432 + calc(0.296296 + clamp(0.4444444444444444, 0.081667, 0))) none none ) , color( a98-rgb 0.316613 0.837673 0.051684 ) )', 'color(xyz-d65 0.25116821 0.44877043 0.05150478)'], + ['color( xyz-d65 none 0 0.264706 / 0.083559 )', 'color(xyz-d65 none 0 0.264706 / 0.083559)'], + ['lch( from color( xyz none 0.203698 calc(e) ) l 132.093395 none )', 'lch(46.35682563 132.093395 none)'], + ['hsl( none 0 91.399751 )', 'hsl(none 0% 91.399751%)'], + ['oklab( 0.333333 none none / 0.23913 )', 'oklab(0.333333 none none / 0.23913)'], + ['rgb( 0 calc(min(154.891594, 168.671204) + calc(0 * calc(0.804693 * -2))) hypot(253.581822, 123.539315) )', 'rgb(0, 155, 282)'], + ['color-mix( in lch decreasing hue, color( xyz 0.438429 0.333333 0.182531 ) 65.517522%, color( xyz-d50 0.159926 1 exp(0) ) 70.863026% )', 'lch(83.16861451 141.52675964 285.28381896)'], + ['color-mix( in srgb , color( from color( xyz-d65 calc(-infinity) none 0.5 / 1 ) xyz x calc(infinity) x / 0.606142 ) , color( xyz 1 abs(0.208473) exp(99.35778) ) 87.070732% )', 'color(srgb -6834.53891777 3023.61051908 6903.23660205 / 0.94907704)'], + ['hsl( 255.931738 100 none / sin(calc(2.849561 / -0.815669)) )', 'hsl(255.931738 100% none / 0.34471346)'], + ['color( rec2020 0.181828 none calc(-infinity) / calc(calc(49.600927% - 53.77517%) + 46.00461%) )', 'color(rec2020 0.181828 none -2147483647 / 0.41830367)'], + ['color( from color( from color( xyz sin(0.086039) 1 0.664855 / 74.772005% ) srgb-linear none none 0.5 ) prophoto-rgb 0 1 0 / none )', 'color(prophoto-rgb 0 1 0 / none)'], + ['hwb( 260.480757 54.897348 none )', 'hwb(260.480757 54.897348% none)'], + ['color-mix( in srgb , color( from color( from color( xyz-d65 none 0.893133 0 ) display-p3-linear 0.666667 0.763214 b ) xyz-d50 0.723939 exp(calc(-149.403946 - alpha)) none ) 81.401276%, color( from color( from color( srgb 0 1 none ) xyz 0.118436 calc(calc(1.125 - alpha) - z) 0.17223 ) xyz-d50 exp(x) calc(alpha - z) y ) )', 'color(srgb 1.41838062 -0.55428382 0.26395115)'], + ['color-mix( in lch , color( from color( display-p3-linear 0 0.336307 0.497137 ) rec2020 none none r ) 68.772201%, color( from color( from color( srgb calc(calc(calc(1.423598 + 2.823783) / 1.5) - 0) clamp(0.012188, 0.237342, 0.258015) 0.44308 ) display-p3-linear b r 1 ) xyz-d65 x 0.5 none ) 26.434908% )', 'lch(25.08850619 143.33066473 323.03891473 / 0.95207109)'], + ['lch( none none 195.73816 / 0.522258 )', 'lch(none none 195.73816 / 0.522258)'], + ['oklch( from color( display-p3-linear abs(0) 0.179628 none ) hypot(0, abs(0.90422)) 0.070778 0 / cos(-207.186738deg) )', 'oklch(0.90422 0.070778 0 / 0)'], + ['oklch( from color( from color( display-p3-linear 0.718663 exp(-48.714296) none ) display-p3-linear none cos(149.126012deg) none / none ) h 0 sin(91.280038) )', 'oklch(1 0 359.82702338 / none)'], + ['color( from color( from color( display-p3-linear 0.41249 none 0.295194 ) xyz-d50 max(x, alpha) clamp(0.5, 0, z) y ) xyz-d65 0.97359 0 x )', 'color(xyz-d65 0.97359 0 0.94392419)'], + ['rgb( none none 0 )', 'color(srgb none none 0)'], + ['rgb( from color( display-p3 1 0 1 ) exp(-4.209801) 152.54034 140.836274 / b )', 'color(srgb 0.00005823 0.59819741 0.55229911)'], + ['rgb( from color( srgb 0.620969 cos(-154.504061deg) 0 ) calc(e) 0 127.5 )', 'color(srgb 0.01065993 0 0.5)'], + ['lch( none none 115.87501 )', 'lch(none none 115.87501)'], + ['color-mix( in srgb-linear , color( srgb calc(0.059176 * 2.688254) none none ) 99.354667%, color( prophoto-rgb abs(0.640765) 0.290273 0.569004 ) )', 'color(srgb-linear 0.02628356 0.0291591 0.40068448)'], + ['color-mix( in xyz-d50 , color( from color( prophoto-rgb 0.186233 calc(infinity) calc(min(0.444444, 0.206157) + 0.06433) ) prophoto-rgb abs(b) calc(1.773233 / -1) calc(pi) ) , color( prophoto-rgb abs(abs(0.439289)) 0.027081 0.5 / 0.905752 ) )', 'color(xyz-d50 0.06064764 -1.00088329 3.51131203 / 0.952876)'], + ['lab( 70.176463 none 125 )', 'lab(70.176463 none 125)'], + ['lab( 0 -41.666667 125 )', 'lab(0 -41.666667 125)'], + ['hwb( calc(211.166534 + 217.793795) none 15.00389 )', 'hwb(68.960329 none 15.00389%)'], + ['rgb( from color( from color( xyz-d50 calc(0) 0.646717 0.441068 ) xyz 0 none 0.913467 ) b none 192.393715 )', 'color(srgb 0.98468279 none 0.75448516)'], + ['lab( from color( xyz-d65 none 0.001749 0.010481 ) 60.479038 b none )', 'lab(60.479038 -12.47542901 none)'], + ['oklch( none calc(0) none )', 'oklch(none 0 none)'], + ['rgb( from color( a98-rgb 0.420878 0.477973 0 ) 127.5 alpha 165.220304 )', 'color(srgb 0.5 0.00392157 0.64792276)'], + ['lch( from color( from color( xyz 0.274958 0.71396 0.495315 ) prophoto-rgb r calc(b - b) 0.027696 ) 100 calc(h) 134.106308 / none )', 'lch(100 29.28557333 134.106308 / none)'], + ['oklch( none 0.153712 322.720442 )', 'oklch(none 0.153712 322.720442)'], + ['color( from color( xyz calc(max(calc(0.118386 * -1.782542), 0.995596)) calc(0.079036) 0.890119 ) xyz max(cos(-96.864642deg), x) 0 abs(0.604014) )', 'color(xyz-d65 0.995596 0 0.604014)'], + ['lch( calc(clamp(abs(54.877974), 52.301869, 32.306538)) none 0 )', 'lch(54.877974 none 0)'], + ['oklch( exp(-14.708906) 0.331068 92.730503 / 43.2261% )', 'oklch(4.1e-7 0.331068 92.730503 / 0.432261)'], + ['lch( 40.810905 66.017943 hypot(360, 334.681184) )', 'lch(40.810905 66.017943 131.539922)'], + ['lch( calc(14.169735 - 45.162749) 93.089682 187.826789 )', 'lch(0 93.089682 187.826789)'], + ['hsl( from color( xyz 0.019442 0.867611 0 / clamp(40.033803%, 94.81029%, 82.014517%) ) alpha h l )', 'color(srgb 0.14247326 -0.01987354 -0.02212343 / 0.82014517)'], + ['oklab( 0.686514 none -0.068089 / 0.5 )', 'oklab(0.686514 none -0.068089 / 0.5)'], + ['color( from color( xyz 0.559455 none 0.731537 / 0 ) display-p3 b g 0.08411 )', 'color(display-p3 0.86506895 none 0.08411 / 0)'], + ['hsl( 0 abs(50) 66.6235 )', 'rgb(212, 127, 127)'], + ['oklch( 0.255378 0.4 none )', 'oklch(0.255378 0.4 none)'], + ['color-mix( in prophoto-rgb , color( xyz-d50 none none exp(-100) ) , color( xyz-d50 none 0 0.838513 ) )', 'color(prophoto-rgb none 0.10469206 0.50449786)'], + ['oklab( none none none )', 'oklab(none none none)'], + ['rgb( none calc(nan) none )', 'color(srgb none 0 none)'], + ['rgb( abs(255) 39.483091 215.114501 )', 'rgb(255, 39, 215)'], + ['color( xyz none 0.5 none )', 'color(xyz-d65 none 0.5 none)'], + ['hsl( 258.914771 calc(-infinity) 62.209863 )', 'rgb(159, 159, 159)'], + ['hsl( 0 max(55.290191, calc(abs(19.259392) * -0.830566)) 33.333333 / max(31.296658%, 69.112896%) )', 'rgba(132, 38, 38, 0.69112896)'], + ['oklch( 0.570324 0.326433 min(357.043663, 0) / 0.152985 )', 'oklch(0.570324 0.326433 0 / 0.152985)'], + ['hsl( none 86.242785 3.544548 )', 'hsl(none 86.242785% 3.544548%)'], + ['oklab( cos(299.396153deg) -0.329867 none )', 'oklab(0.49084526 -0.329867 none)'], + ['oklab( 0.526273 -0.39711 0.4 )', 'oklab(0.526273 -0.39711 0.4)'], + ['rgb( 186.795568 104.332239 199.466156 )', 'rgb(187, 104, 199)'], + ['oklch( 0 calc(e) 211.982125 )', 'oklch(0 2.71828183 211.982125)'], + ['oklab( calc(pi) calc(pi) 0.4 / 0.000053 )', 'oklab(1 3.14159265 0.4 / 0.000053)'], + ['color( xyz-d50 none max(max(0.755434, abs(0.575723)), 1) 0.967915 )', 'color(xyz-d50 none 1 0.967915)'], + ['lab( 93.37948 calc(-infinity) -107.702392 )', 'lab(93.37948 -2147483647 -107.702392)'], + ['lch( none none calc(72 * -2) )', 'lch(none none 216)'], + ['hsl( min(242.265695, 0) calc(max(65.564668, 111.074671) - 28.90821) none )', 'hsl(0 82.166461% none)'], + ['oklab( 0 -0.338212 -0.031608 )', 'oklab(0 -0.338212 -0.031608)'], + ['hsl( 274.405722 none 46.310477 )', 'hsl(274.405722 none 46.310477%)'], + ['color( from color( rec2020 0.051685 0.75868 0.198372 ) rec2020 0.5 none 0.57965 )', 'color(rec2020 0.5 none 0.57965)'], + ['lab( 53.116269 hypot(0, calc(infinity)) min(-111.674386, cos(194.539364deg)) )', 'lab(53.116269 2147483647 -111.674386)'], + ['color( srgb-linear none calc(0.747286 / 2.246335) 0.874975 )', 'color(srgb-linear none 0.33266899 0.874975)'], + ['hsl( none 16.823574 none / 90.305278% )', 'hsl(none 16.823574% none / 0.90305278)'], + ['hwb( from color( xyz 0.981043 0.038434 hypot(0.08021, 0.937485) ) w 8.535606 71.355372 )', 'color(srgb 0.17721612 0.08535606 0.28644628)'], + ['hwb( none 38.718808 52.899383 )', 'hwb(none 38.718808% 52.899383%)'], + ['hwb( from color( xyz-d65 none calc(calc(-infinity)) 0.282606 ) 0 86.534279 84.527852 )', 'color(srgb 0.50586461 0.50586461 0.50586461)'], + ['lab( 88.516186 none 112.069629 )', 'lab(88.516186 none 112.069629)'], + ['hsl( none none none / 1 )', 'hsl(none none none)'], + ['lch( none 0 155.567211 )', 'lch(none 0 155.567211)'], + ['color( xyz-d50 0 0.00197 0.024187 )', 'color(xyz-d50 0 0.00197 0.024187)'], + ['lab( from color( xyz-d65 0.172437 none 0.690869 / 47.387205% ) 0 none 111.299032 / a )', 'lab(0 none 111.299032)'], + ['lch( none 26.925159 287.60482 )', 'lch(none 26.925159 287.60482)'], + ['hsl( from color( xyz calc(e) calc(0.716438 / -0.608463) 0.024325 ) h min(l, s) calc(min(108.063784, max(40.079742, 67.028979)) - alpha) )', 'color(srgb 0.79390435 0.52667523 0.67630471)'], + ['rgb( from color( a98-rgb none 0.333333 none ) 255 g r / 0.702968 )', 'color(srgb 1 0.33051939 none / 0.702968)'], + ['lch( 0 hypot(0, 103.242077) 277.308584 )', 'lch(0 103.242077 277.308584)'], + ['hsl( 0 none 38.035139 )', 'hsl(0 none 38.035139%)'], + ['oklab( 0.325394 0.177682 -0.4 )', 'oklab(0.325394 0.177682 -0.4)'], + ['hwb( from color( xyz none calc(-infinity) 0.5 ) 0 b 0 / 0 )', 'color(srgb 1.0000001 -9757.43127068 -9757.43127068 / 0)'], + ['hwb( 122.68918 hypot(calc(-infinity), 0) sin(15.704001) / 0 )', 'rgba(NaN, NaN, NaN, 0)'], + ['lab( from color( from color( xyz-d65 none 0.2759 0.342405 ) display-p3 none b 0.109673 ) 35.100964 hypot(-84.330437, clamp(71.910807, 112.075427, -125)) none )', 'lab(35.100964 110.82773465 none)'], + ['lab( 47.298927 -52.311535 calc(nan) / 0 )', 'lab(47.298927 -52.311535 0 / 0)'], + ['lab( from color( xyz-d65 clamp(0, 0.5, 0) calc(sin(0) / 0.31517) 1 ) none 75.546475 alpha / 0 )', 'lab(none 75.546475 1 / 0)'], + ['color-mix( in display-p3 , color( from color( from color( xyz-d65 0.026518 none 1 ) xyz-d65 none 0.460814 0.5 ) rec2020 alpha none 0.572511 ) , color( xyz-d50 0 0.922902 none ) 53.157248% )', 'color(display-p3 0.01946583 1.24814492 0.55587449)'], + ['oklab( from color( xyz 0.897459 calc(cos(326.304764deg) * calc(e)) none ) none none l )', 'oklab(none none 1.26154424)'], + ['hwb( none 20.868789 100 )', 'hwb(none 20.868789% 100%)'], + ['oklch( 0.500845 0.060086 0 )', 'oklch(0.500845 0.060086 0)'], + ['hwb( clamp(180, 282.83367, 215.859923) exp(33.333333) 0 / min(0.705199, 0.299741) )', 'rgba(255, 255, 255, 0.299741)'], + ['hsl( none none none )', 'hsl(none none none)'], + ['lab( from color( xyz-d50 exp(-95.974515) calc(nan) calc(calc(1.400704 / 3.201873) + 0.304523) ) l 91.881888 69.407379 )', 'lab(0 91.881888 69.407379)'], + ['hwb( none cos(-203.413102deg) none )', 'hwb(none -0.91766378% none)'], + ['hwb( calc(0) 29.22868 66.598086 )', 'rgb(85, 75, 75)'], + ['hsl( from color( xyz-d50 0.626001 0.011635 calc(0.312167) ) s 0 s )', 'color(srgb 0.51895083 0.51895083 0.51895083)'], + ['oklch( none 0.263674 176.457058 )', 'oklch(none 0.263674 176.457058)'], + ['hsl( from color( xyz 0.878183 0 0.598838 ) none h 52.65278 )', 'hsl(none 316.30718967% 52.65278%)'], + ['oklch( 0.796678 0.266385 8.741775 )', 'oklch(0.796678 0.266385 8.741775)'], + ['hsl( none none 0 )', 'hsl(none none 0%)'], + ['oklch( 0.311286 0.4 253.430155 / calc(-infinity) )', 'oklch(0.311286 0.4 253.430155 / 0)'], + ['oklab( 0.004307 -0.194826 calc(0.335076 - -0.6000000000000001) )', 'oklab(0.004307 -0.194826 0.935076)'], + ['hsl( 141.216648 53.820856 calc(19.247217) )', 'rgb(23, 75, 41)'], + ['hsl( none max(0, 25.716889) 19.865352 )', 'hsl(none 25.716889% 19.865352%)'], + ['oklch( from color( from color( a98-rgb none 0 0.686039 ) xyz 0.333333 y 0.202146 / 0.894033 ) 1 none 360 / 0.379818 )', 'oklch(1 none 0 / 0.379818)'], + ['rgb( none 0 197.848949 )', 'color(srgb none 0 0.77587823)'], + ['oklab( none -0.07918 0.107314 / 0.5 )', 'oklab(none -0.07918 0.107314 / 0.5)'], + ['oklch( 0.90816 none none )', 'oklch(0.90816 none none)'], + ['lch( 24.603643 none clamp(calc(e), calc(e), calc(infinity)) )', 'lch(24.603643 none 2.71828183)'], + ['oklch( 0.312142 0.2 18.458626 / 0 )', 'oklch(0.312142 0.2 18.458626 / 0)'], + ['lch( 50 111.291945 360 / min(0.551551, max(0.264827, 0.446143)) )', 'lch(50 111.291945 0 / 0.446143)'], + ['oklch( from color( xyz 0.667366 calc(infinity) none ) none 0 none / l )', 'oklch(none 0 none)'], + ['color( display-p3 exp(calc(infinity)) 0.063615 0 )', 'color(display-p3 2147483647 0.063615 0)'], + ['hsl( cos(340.407862deg) 100 sin(24.671127) )', 'rgb(-2, 0, 0)'], + ['lab( 49.539108 none none )', 'lab(49.539108 none none)'], + ['rgb( 255 none 0 / 0.795092 )', 'color(srgb 1 none 0 / 0.795092)'], + ['hwb( none max(clamp(84.035868, 100, 0), max(0, 76.624637)) 28.789694 / 0.258523 )', 'hwb(none 84.035868% 28.789694% / 0.258523)'], + ['hwb( from color( from color( from color( xyz-d65 0 0.478044 0.355092 / 0.957824 ) rec2020 b b g ) xyz-d65 0.213394 none none ) exp(h) calc(150 - 39.12545) 32.704578 )', 'color(srgb 0.77221913 0.77221913 0.77221913 / 0.957824)'], + ['hsl( 258.94588 calc(0 - 0) 34.347444 / 1 )', 'rgb(88, 88, 88)'], + ['color( xyz-d65 none clamp(0, 0.834118, 0.666667) none )', 'color(xyz-d65 none 0.666667 none)'], + ['rgb( 0 199.591156 0 )', 'rgb(0, 200, 0)'], + ['rgb( from color( from color( srgb-linear 0.860652 calc(nan) 0.232488 ) prophoto-rgb calc(g * -1.9755) 0.762289 r ) calc(186.435162 - 0) alpha 0 / g )', 'color(srgb 0.73111828 0.00392157 0)'], + ['rgb( 235.609923 47.283663 max(hypot(122.381937, calc(infinity)), 0) )', 'rgb(236, 47, 547608329985)'], + ['rgb( none none calc(194.870173 / calc(calc(-0.2 * -1.79064))) )', 'color(srgb none none 2.13386487)'], + ['hwb( none none 0 )', 'hwb(none none 0%)'], + ['lch( cos(-249.613732deg) 15.935866 none )', 'lch(0 15.935866 none)'], + ['oklch( 0.157551 0.257946 340.696749 )', 'oklch(0.157551 0.257946 340.696749)'], + ['lab( from color( from color( display-p3 exp(0) 0.499945 0.565855 ) rec2020 0.556894 0.212698 clamp(clamp(0, 0.323781, 0.007275), 0.72611, 0.334264) ) max(calc(150 / abs(3.483421)), 0) 125 none )', 'lab(43.06111722 125 none)'], + ['oklch( 0 0.341498 240 / 0.131173 )', 'oklch(0 0.341498 240 / 0.131173)'], + ['color( xyz-d65 clamp(calc(0.495421 + abs(0.417116)), calc(1.322075 - 0.036302), 0.66943) none 0.787978 )', 'color(xyz-d65 0.912537 none 0.787978)'], + ['hwb( from color( xyz-d50 sin(0) none 0 ) w calc(alpha + 35.819533) none )', 'hwb(0 36.819533% none)'], + ['hwb( 39.382831 83.814366 0 / 0.358773 )', 'rgba(255, 241, 214, 0.358773)'], + ['hsl( from color( a98-rgb 0 0.537947 0.522278 ) 240 33.333333 clamp(cos(309.401163deg), 65.335978, 50.264203) )', 'color(srgb 0.33685604 0.33685604 0.66842802)'], + ['color( xyz-d50 0 cos(-205.762257deg) 0.043769 )', 'color(xyz-d50 0 -0.90060528 0.043769)'], + ['oklch( from color( from color( xyz 0.162249 calc(-infinity) 0.670986 ) display-p3 calc(min(0.333333, b)) 0 g ) calc(0.093447 + abs(0.318842)) 0 180 / calc(2.070105 / h) )', 'oklch(0.412289 0 180 / 0.02462885)'], + ['lab( 90.451225 77.056999 -101.991025 )', 'lab(90.451225 77.056999 -101.991025)'], + ['oklch( calc(0 * 2.713083) 0 none )', 'oklch(0 0 none)'], + ['hsl( none none 0 )', 'hsl(none none 0%)'], + ['oklch( 0 none none )', 'oklch(0 none none)'], + ['color-mix( in lab , color( from color( srgb-linear none none 0.48937 ) xyz-d65 none alpha none ) 65.089863%, color( from color( from color( srgb-linear 0.225334 0.622239 0.027372 ) xyz-d50 0.807236 0 max(z, 0) ) xyz none none min(0.333333, calc(0.152582 + x)) ) 84.524893% )', 'lab(40.43919867 -179.90743133 -1.55069347)'], + ['hwb( calc(0 - 161.559164) calc(nan) 53.666969 )', 'rgb(0, 82, 118)'], + ['oklab( 0.829595 -0.323775 calc(0.16203) )', 'oklab(0.829595 -0.323775 0.16203)'], + ['oklch( hypot(calc(infinity), 0.888307) 0 none )', 'oklch(1 0 none)'], + ['color( from color( from color( rec2020 0.302577 1 hypot(0.564426, 1) / 0.5 ) prophoto-rgb calc(alpha - 1.5) 0.333333 r ) prophoto-rgb 0.473306 none none )', 'color(prophoto-rgb 0.473306 none none / 0.5)'], + ['oklab( 0.666667 none none )', 'oklab(0.666667 none none)'], + ['color( from color( xyz-d65 0 1 0.905217 ) display-p3-linear none calc(-infinity) 0.440515 )', 'color(display-p3-linear none -2147483647 0.440515)'], + ['hsl( none 41.550475 calc(nan) )', 'hsl(none 41.550475% 0%)'], + ['rgb( 85 0 40.47211 / 0.950551 )', 'rgba(85, 0, 40, 0.950551)'], + ['color( xyz 0.219845 0 calc(nan) )', 'color(xyz-d65 0.219845 0 0)'], + ['lch( from color( srgb none 0.905909 0.569402 ) calc(c * 0.963292) none 326.897656 )', 'lch(66.71619542 none 326.897656)'], + ['hwb( 351.840054 10.774826 none )', 'hwb(351.840054 10.774826% none)'], + ['oklch( none 0.112668 none )', 'oklch(none 0.112668 none)'], + ['lch( from color( xyz-d50 none min(0.451325, 0.729398) 0 ) none c c / 1 )', 'lch(none 338.79675474 338.79675474)'], + ['lch( none none clamp(clamp(abs(180), 48.706796, 148.342225), 202.648976, 0) )', 'lch(none none 180)'], + ['lab( 98.620809 -23.619859 -48.734766 )', 'lab(98.620809 -23.619859 -48.734766)'], + ['oklab( 0 -0.347401 none )', 'oklab(0 -0.347401 none)'], + ['color( xyz-d50 none calc(0.598132 - calc(-infinity)) 0.699693 )', 'color(xyz-d50 none 2147483647 0.699693)'], + ['oklch( sin(0.471404) none clamp(52.99456, 120, 16.566551) )', 'oklch(0.4541376 none 52.99456)'], + ['hsl( from color( xyz-d65 0 calc(abs(min(1, 0.992963))) none ) s 0 none )', 'hsl(151.83024862 0% none)'], + ['color-mix( in srgb-linear , color( from color( from color( xyz-d50 0.806458 none none ) xyz 0.666667 0.333333 0.121143 / 1 ) srgb 0.430323 calc(alpha * calc(g - g)) calc(3 / b) ) , color( xyz-d65 none 0.827108 none ) )', 'color(srgb-linear 0.15512014 0.77581386 161.10175162)'], + ['oklch( 0.140969 0.2 hypot(355.047467, 98.956928) )', 'oklch(0.140969 0.2 8.57994712)'], + ['lab( from color( from color( a98-rgb 0 0 min(calc(e), 0) ) xyz-d65 hypot(calc(x), 0.333333) 0.653592 0 ) calc(nan) l 100.729753 / none )', 'lab(0 84.85420714 100.729753 / none)'], + ['lab( none -57.363042 calc(infinity) )', 'lab(none -57.363042 2147483647)'], + ['lab( 0 96.674371 -18.52992 / calc(exp(2.422988) * 5.675348) )', 'lab(0 96.674371 -18.52992)'], + ['lab( none 5.01548 none )', 'lab(none 5.01548 none)'], + ['lab( 56.76969 clamp(-115.373976, 34.737677, calc(132.679307 - 62.5)) 0 )', 'lab(56.76969 34.737677 0)'], + ['color-mix( in lch longer hue, color( from color( from color( xyz-d65 0.757721 calc(-infinity) 0.09541 ) xyz 1 cos(alpha) alpha ) xyz-d50 alpha none none ) 91.374518%, color( from color( rec2020 0.092873 0.64363 0.082707 ) xyz none y none ) )', 'lch(4.78773062 419.68320072 342.55371306)'], + ['oklch( from color( a98-rgb 0.870057 0.593351 0.748284 ) calc(e) 0.026539 l )', 'oklch(1 0.026539 0.78614971)'], + ['oklch( from color( display-p3-linear 0.021872 none 0.137703 / cos(-59.876982deg) ) 0.333333 0.251123 l )', 'oklch(0.333333 0.251123 0.27340603 / 0.50185826)'], + ['rgb( 203.821495 24.121108 calc(38.177843 * 1.039169) / exp(-20.77957) )', 'rgba(204, 24, 40, 0)'], + ['hwb( from color( xyz-d50 0.5 calc(0.222222 + 0.6666666666666666) calc(1.866114 / -1) ) alpha 100 h )', 'color(srgb 0.62106823 0.62106823 0.62106823)'], + ['color( from color( xyz-d65 calc(cos(-38.387521deg) / 2.178453) none 0 ) rec2020 0 exp(b) 0 )', 'color(rec2020 0 1.12913475 0)'], + ['color( prophoto-rgb 0.525674 0.609139 0.34628 )', 'color(prophoto-rgb 0.525674 0.609139 0.34628)'], + ['hsl( calc(1080 / 1.5) 83.858517 none )', 'hsl(0 83.858517% none)'], + ['lch( from color( srgb calc(0.182633 / -0.088316) max(0.827694, 0.096654) 1 ) calc(c + 33.333333) none 45.595314 )', 'lch(100 none 45.595314)'], + ['hsl( none calc(245.846157 / 1.47572) 56.202844 )', 'hsl(none 166.5940402% 56.202844%)'], + ['color( xyz 0.8104 calc(calc(0.778358 + clamp(0.300831, 1.365946, 0.323489)) / -1) 0 )', 'color(xyz-d65 0.8104 -1.101847 0)'], + ['oklch( 0.5 0.080337 109.519143 / 0.912861 )', 'oklch(0.5 0.080337 109.519143 / 0.912861)'], + ['hsl( none 54.382069 calc(0 - 0) )', 'hsl(none 54.382069% 0%)'], + ['rgb( 0 none none )', 'color(srgb 0 none none)'], + ['hwb( from color( xyz-d65 0.284126 0.092339 0.471391 ) alpha none alpha )', 'hwb(1 none 1%)'], + ['hsl( 120 cos(max(-285.472912deg, -288.04552deg)) 55.816532 / 1 )', 'rgb(142, 143, 142)'], + ['oklab( none 0.202176 -0.086953 )', 'oklab(none 0.202176 -0.086953)'], + ['oklch( 0.052485 0 99.197245 )', 'oklch(0.052485 0 99.197245)'], + ['oklch( 0.778204 0.17249 170.175466 )', 'oklch(0.778204 0.17249 170.175466)'], + ['color-mix( in a98-rgb , color( from color( srgb none none 0.49592 ) xyz-d65 x x y / calc(1.989907 / 0.732687) ) , color( xyz 0.87331 0.821165 calc(1.253888 - 0) / calc(-infinity) ) )', 'color(a98-rgb 0.94680014 0.87532424 1.0812598 / 0.5)'], + ['hsl( from color( xyz 0 1 0.691553 ) none exp(max(exp(l), -100)) alpha / 0 )', 'hsl(none 4.0802682% 1% / 0)'], + ['hwb( from color( srgb 0.958846 none 0.425532 ) b 27.725082 h / calc(b) )', 'color(srgb 0.07678008 0.07678008 0.07678008)'], + ['color-mix( in srgb , color( xyz-d50 0.214671 1 0.801029 ) , color( rec2020 calc(1.43305 / -1) min(0.879183, calc(0.077499 * 0.166064)) none ) 80.934973% )', 'color(srgb -1.68358058 0.71164401 0.96037922)'], + ['hwb( 180 none 29.719095 / 0.291044% )', 'hwb(180 none 29.719095% / 0.00291044)'], + ['hsl( from color( xyz-d50 max(0.966566, 0.912485) 0 0.77526 ) calc(0 + alpha) calc(20 * calc(pi)) s )', 'color(srgb 2.27028838 6.4934922 6.56507192)'], + ['color( rec2020 0.24017 0.605572 none )', 'color(rec2020 0.24017 0.605572 none)'], + ['color( from color( xyz 0 max(0.968031, 0.246507) calc(infinity) ) xyz-d65 z x y )', 'color(xyz-d65 2147483647 0 0.968031)'], + ['oklab( 0.228634 0.22086 0.031829 )', 'oklab(0.228634 0.22086 0.031829)'], + ['color-mix( in srgb-linear , color( xyz-d65 none none 0.732378 ) , color( from color( xyz-d65 1 none 0.437736 ) display-p3 g b alpha / 0.844607 ) )', 'color(srgb-linear none 0.47383229 0.90616162 / 0.9223035)'], + ['hsl( from color( prophoto-rgb 0.741867 0.00145 none ) s abs(12.913491) 0 )', 'color(srgb 0 0 0)'], + ['rgb( none none 126.354941 )', 'color(srgb none none 0.49550957)'], + ['lch( from color( xyz-d50 0 0.225226 none ) 35.693679 none 0 )', 'lch(35.693679 none 0)'], + ['color( xyz-d65 none none none )', 'color(xyz-d65 none none none)'], + ['hsl( none 0 none / 0.522867 )', 'hsl(none 0% none / 0.522867)'], + ['color-mix( in lab , color( xyz-d50 none 1 none ) , color( from color( rec2020 0.218368 max(0, calc(3 / min(3.787086, 4))) 0 / calc(calc(clamp(0.154336, 0.297966, 0.115579) - 0.1) * clamp(calc(nan), calc(3.283341 + -1.3333333333333333), 4.004679)) ) a98-rgb none 0 none ) )', 'lab(100 -431.03448276 172.4137931 / 0.5)'], + ['oklab( none -0.4 0.372368 / 0 )', 'oklab(none -0.4 0.372368 / 0)'], + ['oklch( hypot(0, calc(3 / -0.533021)) 0.070615 336.026246 )', 'oklch(1 0.070615 336.026246)'], + ['hwb( from color( from color( from color( srgb 0.042369 none 0.274399 ) xyz alpha 0 hypot(x, clamp(1, calc(z * 4.717007), 0.333333)) ) xyz alpha none 0.639207 ) w 0 none )', 'hwb(262.56307875 0% none)'], + ['color( xyz calc(0.408665 - calc(0)) 0.152959 none )', 'color(xyz-d65 0.408665 0.152959 none)'], + ['oklab( 0.516303 -0.4 -0.133333 )', 'oklab(0.516303 -0.4 -0.133333)'], + ['oklab( 1 0.162611 none )', 'oklab(1 0.162611 none)'], + ['lab( cos(-139.223685deg) -38.299901 60.158437 / 0.039686 )', 'lab(0 -38.299901 60.158437 / 0.039686)'], + ['color-mix( in oklch , color( a98-rgb none none 0.664235 ) , color( xyz-d65 0.5 none cos(-79.908842deg) ) )', 'oklch(0.35800054 0.61713027 307.00969052)'], + ['lab( from color( from color( from color( rec2020 0 0 0.194838 / 0.499801 ) xyz 0 0.5 y / z ) xyz x 0.671439 y ) alpha a exp(calc(158.524161 / -0.606002)) )', 'lab(0.02093756 -404.70835573 0 / 0.02093756)'], + ['oklab( from color( from color( display-p3-linear 0.221678 0.442335 0.573992 ) xyz-d50 0.960094 0 0.82535 ) none l calc(-0.6000000000000001 - a) )', 'oklab(none 0.49402665 -1.75414832)'], + ['rgb( from color( xyz max(0.110144, 0.903343) calc(0.133333 * -0.553216) 1 ) 20.696712 255 g / none )', 'color(srgb 0.08116358 1 -0.98775919 / none)'], + ['color( xyz-d50 calc(-infinity) 0.654801 0.322822 )', 'color(xyz-d50 -2147483647 0.654801 0.322822)'], + ['hsl( 161.671686 none 58.496706 / 0.392746 )', 'hsl(161.671686 none 58.496706% / 0.392746)'], + ['rgb( none 0 144.938207 )', 'color(srgb none 0 0.56838513)'], + ['oklab( from color( a98-rgb 0.850061 none calc(nan) ) max(alpha, l) none alpha )', 'oklab(1 none 1)'], + ['hsl( from color( xyz-d65 1 0.050454 0.973004 / max(0.652053, 0.308928) ) calc(180.98756 - 247.678091) calc(5.875532 - alpha) l )', 'color(srgb 0.3185425 0.29012848 0.32210856 / 0.652053)'], + ['rgb( none 136.009344 99.648729 )', 'color(srgb none 0.53336998 0.39077933)'], + ['lch( none clamp(calc(hypot(6.043543, calc(nan)) / max(4, 0.230661)), 75, calc(401.497202 / 4)) none )', 'lch(none 0 none)'], + ['oklab( calc(0.451709) none -0.4 )', 'oklab(0.451709 none -0.4)'], + ['hsl( from color( xyz-d50 0.740242 sin(0.287854) 1 / 0.307459 ) 185.325046 h l )', 'color(srgb -0.73559304 1.27642382 1.47238343 / 0.307459)'], + ['oklch( 0.058743 0.210608 139.898356 )', 'oklch(0.058743 0.210608 139.898356)'], + ['lab( from color( display-p3 none 0.480774 1 ) l -77.520183 none )', 'lab(52.14338732 -77.520183 none)'], + ['color-mix( in srgb-linear , color( from color( from color( xyz-d65 0.761519 none 0.811684 / 0.690945 ) xyz calc(0.389605) z z / 0.787529 ) xyz 0.699212 none none ) , color( rec2020 0.914575 0.143848 calc(0 / min(3.061367, 3.282543)) ) )', 'color(srgb-linear 1.74498981 -0.089731 -0.01560769 / 0.8937645)'], + ['hwb( 281.915145 67.467566 none )', 'hwb(281.915145 67.467566% none)'], + ['rgb( from color( srgb 0.916591 calc(0 - 1.304943) 0.5 ) 0 none alpha / 0 )', 'color(srgb 0 none 0.00392157 / 0)'], + ['rgb( from color( xyz-d50 calc(0 * calc(hypot(9.188997, 13.222347) / -1)) 0.543255 none / 0.543798 ) r 139.379397 alpha / r )', 'color(srgb -0.94463867 0.54658587 0.00213254 / 0)'], + ['lch( none calc(8.674907) 146.704495 )', 'lch(none 8.674907 146.704495)'], + ['lch( from color( from color( srgb calc(0 * 5.5379) 0.081231 none ) display-p3 none 0 1 ) none min(25.668749, alpha) 19.702344 )', 'lch(none 1 19.702344)'], + ['hsl( from color( from color( from color( prophoto-rgb calc(0 + calc(abs(0.378948) + abs(0.03083))) 0.379029 none / calc(0.178168) ) xyz calc(pi) y 0.511908 ) a98-rgb 0 0 0.617724 ) clamp(29.571999, 350.9223, 134.409746) sin(calc(calc(pi))) 0 )', 'color(srgb 0 0 0 / 0.178168)'], + ['color( xyz-d50 0.700903 0.5 0.081387 / 72.679534% )', 'color(xyz-d50 0.700903 0.5 0.081387 / 0.72679534)'], + ['oklab( 1 0.111296 -0.4 )', 'oklab(1 0.111296 -0.4)'], + ['lch( 44.705466 116.304171 none )', 'lch(44.705466 116.304171 none)'], + ['lab( 0 -74.77906 111.632543 )', 'lab(0 -74.77906 111.632543)'], + ['lch( 36.321216 74.700142 197.017932 / calc(0) )', 'lch(36.321216 74.700142 197.017932 / 0)'], + ['rgb( clamp(59.983909, 55.1662, 108.791545) none 182.678131 )', 'color(srgb 0.23523102 none 0.71638483)'], + ['color( xyz-d50 none none 0.008133 )', 'color(xyz-d50 none none 0.008133)'], + ['oklch( from color( xyz-d65 0.333333 none none ) 0.759094 0.379307 calc(infinity) )', 'oklch(0.759094 0.379307 0)'], + ['hsl( from color( srgb-linear 0.666667 0 none ) 360 none calc(pi) / none )', 'hsl(0 none 3.14159265% / none)'], + ['lch( from color( srgb 0.889453 0 none ) alpha h 119.647426 )', 'lch(1 40.85765651 119.647426)'], + ['hsl( from color( prophoto-rgb exp(-100) 1 cos(-14.351116deg) ) abs(calc(exp(calc(infinity)) * alpha)) 0 none )', 'hsl(0 0% none)'], + ['color( xyz-d50 none 0.540521 1 )', 'color(xyz-d50 none 0.540521 1)'], + ['oklab( 0.44082 none -0.084177 )', 'oklab(0.44082 none -0.084177)'], + ['oklch( calc(pi) none 275.218029 )', 'oklch(1 none 275.218029)'], + ['oklab( min(min(calc(calc(pi) + 0.455515), 0), min(0.998423, 0.666667)) 0.302577 calc(pi) )', 'oklab(0 0.302577 3.14159265)'], + ['lch( none 142.02528 none )', 'lch(none 142.02528 none)'], + ['lch( none 145.790278 360 )', 'lch(none 145.790278 0)'], + ['oklch( 0.525342 0.309036 0 )', 'oklch(0.525342 0.309036 0)'], + ['rgb( from color( from color( xyz-d50 0.5 none 1 / 0.333333 ) xyz-d65 1 none 0.452909 ) calc(pi) g g )', 'color(srgb 0.01231997 none none / 0.333333)'], + ['hwb( calc(0 * 4.018139) calc(133.964213 - 139.540521) none )', 'hwb(0 -5.576308% none)'], + ['rgb( from color( from color( from color( xyz 0.108712 0.988793 calc(-infinity) ) display-p3-linear 0.271164 0.491795 1 ) srgb-linear 0.858521 1 none ) g 85 alpha )', 'color(srgb 1 0.33333333 0.00392157)'], + ['oklch( from color( prophoto-rgb none 0 none ) clamp(0, 0, 0) 0.001559 h / calc(-infinity) )', 'oklch(0 0.001559 none / 0)'], + ['oklab( 0.866031 -0.005266 -0.306734 )', 'oklab(0.866031 -0.005266 -0.306734)'], + ['oklab( 0.70682 -0.144349 -0.05731 / 0.761352 )', 'oklab(0.70682 -0.144349 -0.05731 / 0.761352)'], + ['rgb( from color( from color( xyz 0.160315 0.459872 0.686351 ) xyz 0.502477 calc(0 + alpha) z ) abs(b) r none / r )', 'color(srgb 0.76702002 -0.53817529 none / 0)'], + ['hwb( from color( from color( from color( xyz-d65 none 0.08659 1 ) xyz cos(132.769664deg) 0 calc(clamp(calc(-infinity), z, 0)) / 0.637034 ) xyz 0 none 0.484923 ) 360 54.514819 32.319266 )', 'color(srgb 0.67680734 0.54514819 0.54514819 / 0.637034)'], + ['rgb( from color( display-p3 0.294855 calc(e) 0 / 6.751731% ) 203.568482 255 alpha )', 'color(srgb 0.79830777 1 0.00026477 / 0.06751731)'], + ['oklab( from color( srgb-linear none 0.564292 0.247244 ) alpha l 0 )', 'oklab(1 0.73037559 0)'], + ['lab( from color( xyz-d65 0.906319 calc(-infinity) 0.579055 ) none alpha -60.64506 / none )', 'lab(none 1 -60.64506 / none)'], + ['oklch( 0.12326 0.014638 247.490975 )', 'oklch(0.12326 0.014638 247.490975)'], + ['color( from color( display-p3 0.75406 1 0.887933 ) display-p3 g none b )', 'color(display-p3 1 none 0.887933)'], + ['oklab( from color( from color( srgb-linear calc(0) 0.26964 none ) xyz-d65 none alpha none ) 0.748296 0.023628 none )', 'oklab(0.748296 0.023628 none)'], + ['hsl( calc(78.64263) cos(-63.841044deg) 0 )', 'rgb(0, 0, 0)'], + ['hsl( from color( prophoto-rgb 0.237904 0.005751 0.077684 / 0.762275 ) h 63.466645 none / 0 )', 'hsl(333.96562622 63.466645% none / 0)'], + ['hsl( calc(nan) calc(calc(e) / 3.674752) 2.874281 )', 'rgb(7, 7, 7)'], + ['oklch( from color( from color( from color( a98-rgb none 0 max(0, 0.601883) ) a98-rgb none 1 hypot(0.358954, 0.5) ) xyz 0.032667 none alpha ) c c 236.612788 )', 'oklch(1 1.41992134 236.612788)'], + ['oklab( 0.075434 -0.342256 0.265502 )', 'oklab(0.075434 -0.342256 0.265502)'], + ['oklch( from color( a98-rgb cos(99.556318deg) 0.22295 none ) 0.136881 0.4 clamp(calc(alpha + l), 0, 298.796179) )', 'oklch(0.136881 0.4 1.22832348)'], + ['oklch( 0 0.064364 none )', 'oklch(0 0.064364 none)'], + ['hsl( from color( srgb-linear 0.495576 0.449573 none ) exp(0) 87.375192 33.333333 )', 'color(srgb 0.62458397 0.05179105 0.04208269)'], + ['hwb( from color( xyz-d50 0.246955 0.877666 0.591128 ) 300.201848 0 h )', 'color(srgb 0 0 0)'], + ['oklab( none -0.4 0.246587 / calc(0 + cos(-267.081679deg)) )', 'oklab(none -0.4 0.246587 / 0)'], ['oklab( none none none )', 'oklab(none none none)'], - ['oklab( 0.891436 cos(186.061168deg) 0.176136 )', 'oklab(0.891436 -0.99440974 0.176136)'], - ['oklab( 0.907682 abs(-0.316184) -0.321092 )', 'oklab(0.907682 0.316184 -0.321092)'], - ['oklab( none max(-0.353996, abs(calc(nan))) min(0.240727, 0.385355) )', 'oklab(none 0 0.240727)'], - ['hsl( calc(infinity) 0 none )', 'hsl(0 0 none)'], - ['oklch( from color( srgb none none 1 ) calc(e) none h )', 'oklch(1 none 264.05202262)'], - ['hwb( none calc(nan) 27.041032 )', 'hwb(none 0 27.041032)'], - ['hsl( calc(302.460052) clamp(0, 50, 5.023956) calc(clamp(0, 8.028848, 27.092239) + 3.638439) / 0 )', 'rgba(31, 28, 31, 0)'], - ['lab( none -106.21917 calc(min(-375, sin(0)) / 0.822333) )', 'lab(none -106.21917 -456.01964168)'], - ['hsl( from color( srgb-linear none none 0.662704 ) 0 0 none )', 'hsl(0 0 none)'], - ['oklch( min(min(calc(0.020391 + 0.366322), 0), 0) 0.366264 none )', 'oklch(0 0.366264 none)'], - ['rgb( none none calc(sin(255)) )', 'color(srgb none none -0.00198585)'], - ['lab( from color( xyz-d65 0.19287 calc(infinity) min(0.5, calc(infinity)) ) calc(alpha + calc(e)) 3.735981 none )', 'lab(3.71828183 3.735981 none)'], - ['rgb( 99.242504 3.724552 255 )', 'rgb(99, 4, 255)'], - ['lab( 3.771669 23.902543 none )', 'lab(3.771669 23.902543 none)'], - ['oklch( 0.145892 none 272.578063 )', 'oklch(0.145892 none 272.578063)'], - ['lab( 96.792594 54.314194 calc(infinity) / 0.017824 )', 'lab(96.792594 54.314194 2147483647 / 0.017824)'], - ['lab( from color( a98-rgb none calc(sin(0.38615) / 1.183429) calc(0.037336 * -1.653547) ) none -53.252422 0 )', 'lab(none -53.252422 0)'], - ['lab( cos(271.132392deg) calc(e) 53.295304 )', 'lab(0.01976268 2.71828183 53.295304)'], - ['hsl( none 100 56.536562 )', 'hsl(none 100 56.536562)'], - ['lch( calc(pi) max(92.349802, max(47.322376, 128.250131)) 201.304141 )', 'lch(3.14159265 128.250131 201.304141)'], - ['color( srgb min(0.31585, calc(pi)) 0.234129 abs(0.394887) )', 'color(srgb 0.31585 0.234129 0.394887)'], - ['lab( from color( display-p3-linear 0.793684 0.040955 calc(pi) ) 74.774858 -25.314591 105.733364 )', 'lab(74.774858 -25.314591 105.733364)'], - ['oklch( from color( from color( from color( rec2020 0.656478 0.096512 abs(0.5) / 0.726858 ) xyz-d65 none calc(0.05765) cos(hypot(min(-32.452799deg, 228.653866deg), -105.311727deg)) ) xyz none none 0.5 ) l calc(0.04 * -1.473283) 138.150844 )', 'oklch(0.12111625 0 138.150844 / 0.726858)'], - ['oklab( 0.437962 0.327091 -0.4 )', 'oklab(0.437962 0.327091 -0.4)'], - ['lch( 74.94314 50 79.154611 / 0.358473 )', 'lch(74.94314 50 79.154611 / 0.358473)'], - ['rgb( 0 172.688382 0 )', 'rgb(0, 173, 0)'], - ['hwb( 360 22.398595 none )', 'hwb(0 22.398595 none)'], - ['lab( from color( a98-rgb 0.352439 none 0.196551 / 1 ) none l b )', 'lab(none 21.26826183 3.81533387)'], - ['hwb( 36.285721 calc(22.222222 + 33.333333) cos(-210.898211deg) )', 'rgb(257, 212, 142)'], - ['color( xyz-d65 0.301046 0.357415 none )', 'color(xyz-d65 0.301046 0.357415 none)'], - ['lab( none none -20.552955 / clamp(0, 0.333333, calc(-infinity)) )', 'lab(none none -20.552955 / 0)'], - ['rgb( 196.102153 163.562359 163.298643 )', 'rgb(196, 164, 163)'], - ['oklab( 0.895196 0 calc(hypot(0.079948, 0.365834)) )', 'oklab(0.895196 0 0.37446789)'], - ['rgb( none 13.510843 none / 0.963253 )', 'color(srgb none 0.0529837 none / 0.963253)'], - ['color( from color( from color( prophoto-rgb exp(-24.308871) 1 0.5 ) xyz-d65 calc(alpha / 2.528187) 1 1 ) xyz-d65 calc(sin(max(0.5, 1)) - 1.426935) 0.26692 0.189416 )', 'color(xyz-d65 -0.58546402 0.26692 0.189416)'], - ['lch( none none exp(100) )', 'lch(none none 256)'], - ['oklch( max(0.007383, cos(calc(202.346922deg - 517.868762deg))) 0.19353 241.992005 )', 'oklch(0.71351757 0.19353 241.992005)'], - ['hwb( 293.730109 25.59986 50 / 0.25853 )', 'rgba(121, 65, 128, 0.25853)'], - ['oklch( from color( xyz-d65 0.803129 calc(0.061819 - 1.297103) calc(0.108852 * 1.37828) ) clamp(calc(l), alpha, hypot(h, c)) 0.036895 0 )', 'oklch(1 0.036895 0)'], - ['lch( cos(calc(calc(-254.698633deg) - 536.502272deg)) 150 none )', 'lch(0.32225074 150 none)'], - ['lab( 0 -52.372139 76.240996 )', 'lab(0 -52.372139 76.240996)'], - ['lch( 100 0 286.904229 )', 'lch(100 0 286.904229)'], - ['hsl( from color( xyz-d50 calc(infinity) 0.221385 none ) s 37.566664 99.118518 )', 'color(srgb 0.99442356 0.99449661 0.98787375)'], - ['oklch( none 0.010966 max(149.301272, 319.704209) )', 'oklch(none 0.010966 319.704209)'], - ['hsl( calc(pi) 62.690592 none )', 'hsl(3.14159265 62.690592 none)'], - ['hwb( 285.844817 46.680718 hypot(0, 43.69199) / hypot(0.158963, 0.813881) )', 'rgba(138, 119, 144, 0.82925962)'], - ['oklab( calc(0 + 0.255618) none -0.4 / 0.230924 )', 'oklab(0.255618 none -0.4 / 0.230924)'], - ['oklab( 0.897833 -0.4 none )', 'oklab(0.897833 -0.4 none)'], - ['lch( 46.798043 86.977599 0 )', 'lch(46.798043 86.977599 0)'], - ['hwb( from color( from color( display-p3-linear 0.160025 hypot(0, 0.957519) none ) a98-rgb calc(calc(0.068952 * r)) r none ) h h 83.676803 )', 'color(srgb 0.61976885 0.61976885 0.61976885)'], - ['color( from color( from color( display-p3-linear 0.63327 none 0 ) xyz 1 x 0 ) a98-rgb 0.139284 none 0 )', 'color(a98-rgb 0.139284 none 0)'], - ['lch( from color( xyz-d65 calc(nan) calc(calc(0.024106 * 1.579956) + 0.569194) none ) sin(c) none hypot(c, 168.65256) )', 'lch(0 none 6.11764199)'], - ['lch( 0 none calc(infinity) )', 'lch(0 none 0)'], - ['oklch( from color( xyz-d50 0.491919 calc(min(0.584319, max(0.198574, 0.111824)) + 0.215211) calc(nan) ) h clamp(0.072811, calc(pi), 0) 180 )', 'oklch(1 0.072811 180)'], - ['rgb( 0 168.799869 0 )', 'rgb(0, 169, 0)'], - ['oklch( none none 290.639785 )', 'oklch(none none 290.639785)'], - ['lch( 55.543997 none 0 )', 'lch(55.543997 none 0)'], - ['oklch( 0.333333 0.335839 360 / calc(34.756018% - hypot(72.277755%, 4.312367%)) )', 'oklch(0.333333 0.335839 0 / 0)'], - ['lch( 81.716646 67.699979 150.064005 )', 'lch(81.716646 67.699979 150.064005)'], - ['oklab( 0.136559 -0.017511 0.115753 / 0.5 )', 'oklab(0.136559 -0.017511 0.115753 / 0.5)'], - ['color-mix( in xyz-d65 , color( from color( rec2020 calc(0.333333) 1 1 ) xyz alpha 1 none ) 81.620708%, color( xyz none calc(pi) 0.716035 ) 61.260781% )', 'color(xyz-d65 1 1.91821299 0.716035)'], - ['hwb( max(0, 109.310681) 100 4.233635 )', 'rgb(245, 245, 245)'], - ['lab( from color( a98-rgb 0.221657 0.116197 0.893403 ) clamp(calc(calc(l) * 1.789737), a, 86.419389) -91.319888 none )', 'lab(60.84374542 -91.319888 none)'], - ['oklab( none -0.301999 none )', 'oklab(none -0.301999 none)'], - ['hsl( from color( xyz calc(0.255187 + 0.402206) 0.633575 none / 1 ) 360 83.52723 50 / s )', 'color(srgb 0.91763615 0.08236385 0.08236385)'], - ['color( xyz-d50 0.346171 0.1369 none / cos(179.420653deg) )', 'color(xyz-d50 0.346171 0.1369 none / 0)'], - ['lab( none calc(nan) none )', 'lab(none 0 none)'], - ['oklch( from color( xyz-d65 exp(-100) 0.973206 none ) none l calc(381.935223 - alpha) )', 'oklch(none 0.913508 20.935223)'], - ['rgb( none 232.577766 185.059918 / 0.333333 )', 'color(srgb none 0.91206967 0.72572517 / 0.333333)'], - ['oklch( 0.612235 0.399387 118.577241 )', 'oklch(0.612235 0.399387 118.577241)'], - ['rgb( 91.515132 none clamp(127.5, 54.377066, min(209.712114, 0)) / min(calc(11.766502% + 54.041839%), 1.826637%) )', 'color(srgb 0.35888287 none 0.5 / 0.01826637)'], + ['hwb( none 0 94.881712 )', 'hwb(none 0% 94.881712%)'], + ['lab( min(calc(9.7938 + 26.620166), 33.333333) -125 -125 )', 'lab(33.333333 -125 -125)'], + ['oklch( from color( from color( from color( xyz-d50 0 cos(-340.353797deg) 0.22597 ) xyz alpha none y / none ) srgb-linear 0 0.910588 calc(0.002549 + abs(0.308578)) ) calc(e) abs(calc(-infinity)) 141.818673 )', 'oklch(1 2147483647 141.818673 / none)'], + ['hsl( from color( from color( from color( xyz none 0.456239 0 / 0 ) xyz-d50 alpha 0 y ) xyz-d65 y 1 0.888296 / y ) 194.694734 l none )', 'hsl(194.694734 0% none / 0.0095081)'], + ['rgb( from color( from color( from color( xyz-d65 0.605744 0.037599 0.882315 ) xyz none 0 alpha ) xyz 0 alpha alpha ) calc(calc(0) - 0) hypot(calc(calc(r + 0) / b), calc(g + r)) none )', 'color(srgb 0 0.03546747 none)'], + ['rgb( from color( display-p3 0 0.142914 min(0.506471, 0) ) alpha calc(20.045854 * g) none )', 'color(srgb 0.00392157 2.9335217 none)'], + ['oklab( 0.160506 none none )', 'oklab(0.160506 none none)'], + ['rgb( 208.678633 70.025269 27.603093 )', 'rgb(209, 70, 28)'], + ['hsl( from color( xyz-d50 calc(0.019613 - 0.892965) none 0.256697 ) 0 l none )', 'hsl(0 0% none)'], + ['hwb( calc(36.05717 * calc(pi)) 67.606811 48.432512 )', 'rgb(149, 149, 149)'], + ['lch( calc(infinity) exp(-60.479048) 308.475746 )', 'lch(100 0 308.475746)'], + ['oklab( 0.737979 -0.39522 0.078029 )', 'oklab(0.737979 -0.39522 0.078029)'], + ['hwb( from color( from color( xyz calc(0.81104) 0 0.220083 ) srgb-linear 0.673396 none 1 ) calc(0 + min(h, alpha)) none 32.91913 / 0.048511 )', 'hwb(1 none 32.91913% / 0.048511)'], + ['hsl( 89.653655 none 0 / 1 )', 'hsl(89.653655 none 0%)'], + ['color( from color( prophoto-rgb 0.463585 none 0.167215 ) a98-rgb calc(0.608206 - 0.905731) 0 0 )', 'color(a98-rgb -0.297525 0 0)'], + ['lch( none calc(0 - calc(0 / clamp(1.368471, 0.029537, calc(-infinity)))) none )', 'lch(none 0 none)'], + ['color( xyz 0.426009 none 0.5 )', 'color(xyz-d65 0.426009 none 0.5)'], + ['rgb( from color( from color( xyz-d65 exp(0) none 0 ) srgb-linear none 0.263512 0.949744 ) hypot(r, alpha) exp(-92.605426) calc(255) )', 'color(srgb 0.00392157 0 1)'], + ['oklch( none 0.212787 hypot(357.961019, 0) )', 'oklch(none 0.212787 357.961019)'], + ['oklab( 0.728188 -0.209343 max(0.349509, 0.225565) )', 'oklab(0.728188 -0.209343 0.349509)'], + ['lab( 65.179965 125 125 )', 'lab(65.179965 125 125)'], + ['rgb( from color( xyz-d50 calc(0 + 0.240322) sin(0.5) none ) 0 181.115634 none )', 'color(srgb 0 0.71025739 none)'], + ['oklab( 0.09095 -0.4 -0.048814 )', 'oklab(0.09095 -0.4 -0.048814)'], + ['oklab( 0.612279 0.108957 -0.040276 )', 'oklab(0.612279 0.108957 -0.040276)'], + ['color-mix( in hsl shorter hue, color( srgb-linear min(calc(cos(241.915775deg) * 7), calc(1.5 - calc(0))) calc(cos(-195.412861deg) / -0.403446) 0.490533 ) 5.183142%, color( display-p3 none 0.5 1 / 0.926847 ) )', 'color(srgb -0.48877886 0.31101865 1.22448131 / 0.93063862)'], + ['lch( 0 calc(pi) none )', 'lch(0 3.14159265 none)'], + ['hsl( cos(-193.180842deg) 35.353685 50 )', 'rgb(173, 82, 84)'], + ['oklab( 0.35997 0.170678 -0.250042 )', 'oklab(0.35997 0.170678 -0.250042)'], + ['hwb( max(291.2616, 119.818838) exp(-33.333333) 0 )', 'rgb(218, 0, 255)'], + ['color( prophoto-rgb calc(calc(infinity) - 0) 0.366639 0 )', 'color(prophoto-rgb 2147483647 0.366639 0)'], + ['rgb( from color( srgb-linear sin(0.135535) calc(nan) 0.186284 ) 0 127.5 none / none )', 'color(srgb 0 0.5 none / none)'], + ['oklch( 0 0.204031 sin(212.010144) )', 'oklch(0 0.204031 359.00112128)'], + ['oklch( from color( xyz 0.379912 none cos(86.144199deg) ) 0 0.208206 180 )', 'oklch(0 0.208206 180)'], + ['lab( 43.17767 0 95.025558 / calc(3 / 4) )', 'lab(43.17767 0 95.025558 / 0.75)'], + ['oklch( 0.284563 min(0.4, clamp(calc(0.096698 + 0.261134), min(0.039866, 0.4), 0.4)) calc(pi) )', 'oklch(0.284563 0.357832 3.14159265)'], + ['lab( none 8.469782 30.142869 / 0 )', 'lab(none 8.469782 30.142869 / 0)'], + ['color-mix( in oklab , color( xyz-d65 0.5 1 0.707001 ) 86.780841%, color( xyz 0.434354 0 0 ) 58.374914% )', 'oklab(0.71537597 0.22173415 0.0347467)'], + ['color( xyz-d65 calc(1.5 - 0.382609) none none / calc(0 * 1.420297) )', 'color(xyz-d65 1.117391 none none / 0)'], + ['hwb( from color( from color( from color( xyz-d65 0 0.640371 0 ) xyz-d50 none y 0.218355 ) prophoto-rgb calc(0.176119 * 1) b 0.841813 ) alpha calc(150 - 9.60653) none )', 'hwb(1 140.39347% none)'], + ['rgb( 34.423485 cos(137.259953deg) 181.943202 / 0 )', 'rgba(34, -1, 182, 0)'], + ['lch( from color( xyz-d50 0.485835 1 none / abs(calc(pi)) ) 33.333333 150 360 / 0 )', 'lch(33.333333 150 0 / 0)'], + ['color( xyz 0 none 0 )', 'color(xyz-d65 0 none 0)'], + ['color-mix( in xyz , color( from color( xyz-d50 0 0.646835 none ) xyz-d65 none none none ) 9.390738%, color( display-p3 none 1 calc(clamp(0.762174, 2.761912, sin(2.215377)) / calc(e)) ) 38.277146% )', 'color(xyz-d65 none 0.69731514 0.11853887 / 0.47667884)'], + ['color( from color( a98-rgb 0.998363 calc(hypot(0, 0) + 0.19538) 0 ) xyz-d50 1 alpha calc(alpha + x) )', 'color(xyz-d50 1 1 1.61324275)'], + ['lab( calc(37.862027 - 57.480906) -78.605929 6.607127 / 76.13734% )', 'lab(0 -78.605929 6.607127 / 0.7613734)'], + ['color-mix( in a98-rgb , color( xyz-d50 0 0.20773 0 ) 90.50305%, color( xyz calc(pi) 0.559996 calc(max(0.434192, 1.061407) - exp(calc(e))) ) )', 'color(a98-rgb -0.0719164 0.44919603 -0.50023207)'], + ['oklab( none calc(0.172805 + -0.26666666666666666) 0.279461 )', 'oklab(none -0.09386167 0.279461)'], + ['oklch( 1 0.092017 calc(85.289365 + 204.74823) )', 'oklch(1 0.092017 290.037595)'], + ['oklab( calc(e) 0.088044 -0.4 )', 'oklab(1 0.088044 -0.4)'], + ['color( xyz-d50 none 0.694087 0.911583 )', 'color(xyz-d50 none 0.694087 0.911583)'], + ['lch( 50.027906 130.726181 360 )', 'lch(50.027906 130.726181 0)'], + ['oklch( 0.715076 0.258751 exp(-100) )', 'oklch(0.715076 0.258751 0)'], + ['lab( 100 calc(110.951434 - 82.70152) -54.535258 )', 'lab(100 28.249914 -54.535258)'], + ['lab( calc(pi) max(8.226395, -58.33889) 0 )', 'lab(3.14159265 8.226395 0)'], + ['rgb( 6.137159 46.821834 none )', 'color(srgb 0.02406729 0.18361504 none)'], + ['rgb( 100.238788 calc(nan) min(230.399714, 55.948644) / 0.433542 )', 'rgba(100, 0, 56, 0.433542)'], + ['hwb( 149.883621 16.652585 none )', 'hwb(149.883621 16.652585% none)'], + ['rgb( calc(255) calc(infinity) 218.483173 )', 'rgb(255, 547608329985, 218)'], + ['lab( none -121.766665 86.863635 )', 'lab(none -121.766665 86.863635)'], + ['oklch( 0.190648 none none / 0.026023 )', 'oklch(0.190648 none none / 0.026023)'], + ['oklab( 0.668551 0.042681 -0.173553 )', 'oklab(0.668551 0.042681 -0.173553)'], + ['hwb( 228.483862 none calc(-infinity) )', 'hwb(228.483862 none -Infinity%)'], + ['rgb( 255 none 98.90617 )', 'color(srgb 1 none 0.38786733)'], + ['oklab( 0.150944 none none )', 'oklab(0.150944 none none)'], + ['rgb( 148.64613 188.389836 none )', 'color(srgb 0.582926 0.73878367 none)'], + ['oklab( from color( display-p3 0.457955 sin(calc(abs(0.027908) * 7)) none ) none abs(l) 0.4 )', 'oklab(none 0.4088503 0.4)'], + ['hwb( 324.429904 50.007065 sin(50) / 0 )', 'rgba(256, 128, 203, 0)'], + ['hwb( 242.85006 min(0, 42.289957) sin(calc(pi)) )', 'rgb(12, 0, 255)'], + ['color( srgb 0.709037 0 none )', 'color(srgb 0.709037 0 none)'], + ['lab( 8.58056 none max(98.485602, 83.675972) )', 'lab(8.58056 none 98.485602)'], + ['lch( 0 calc(0) 149.934731 )', 'lch(0 0 149.934731)'], + ['oklab( 0.29373 none -0.196594 )', 'oklab(0.29373 none -0.196594)'], + ['hsl( none 0 33.333333 )', 'hsl(none 0% 33.333333%)'], + ['oklab( exp(-8.784996) -0.28047 -0.355184 )', 'oklab(0.00015301 -0.28047 -0.355184)'], + ['hwb( 0 calc(calc(pi) / 2.738664) calc(infinity) )', 'rgb(0, 0, 0)'], + ['oklab( 0.5 0.058359 -0.4 )', 'oklab(0.5 0.058359 -0.4)'], + ['oklch( 0.541393 0.006325 0 )', 'oklch(0.541393 0.006325 0)'], + ['oklch( 0.101917 0.4 83.758323 / 0.332019 )', 'oklch(0.101917 0.4 83.758323 / 0.332019)'], + ['lab( calc(infinity) max(-5.289549, -37.105173) min(111.47165, -42.90928) )', 'lab(100 -5.289549 -42.90928)'], + ['rgb( 0 86.691727 165.002257 )', 'rgb(0, 87, 165)'], + ['hwb( from color( xyz-d65 calc(0.014864 * -0.83807) 0.810273 0.463673 / clamp(0.700744, 1, 0) ) alpha 6.354128 none )', 'hwb(0.700744 6.354128% none / 0.700744)'], + ['rgb( from color( display-p3-linear none 0 none ) none g b )', 'color(srgb none 0 none)'], + ['oklab( min(0.301326, 0.22495) -0.133333 -0.329598 )', 'oklab(0.22495 -0.133333 -0.329598)'], + ['hsl( from color( from color( xyz 0.092659 exp(-76.357124) 0.5 ) rec2020 alpha 0.974478 0.940019 ) s h h )', 'color(srgb 0.19267972 0.32586097 0.32848719)'], + ['color( xyz-d50 0.836798 0.298432 min(0, 0.128431) )', 'color(xyz-d50 0.836798 0.298432 0)'], + ['oklab( from color( srgb calc(1.48404 - 1.393898) calc(calc(-infinity)) 0 ) 0.707324 calc(l * 7) -0.269733 )', 'oklab(0.707324 -169737681.84230584 -0.269733)'], + ['hwb( from color( from color( srgb 0.75165 0.309525 0.011565 ) xyz-d65 hypot(0.424613, z) 0.5 0.286855 ) 74.962355 calc(nan) b )', 'color(srgb 0.5703086 0.75977587 0)'], + ['hsl( 0 2.031686 2.38836 )', 'rgb(6, 6, 6)'], + ['lch( 0 78.641736 abs(236.328019) )', 'lch(0 78.641736 236.328019)'], + ['oklab( 1 none 0.055223 )', 'oklab(1 none 0.055223)'], + ['color( from color( rec2020 0.229191 abs(0.920877) 0.92131 ) xyz-d65 z none calc(0 / z) )', 'color(xyz-d65 0.89456555 none 0)'], + ['color( xyz-d50 none abs(0.209174) calc(0 + 0.432495) )', 'color(xyz-d50 none 0.209174 0.432495)'], + ['oklch( from color( from color( xyz-d50 calc(-infinity) 0 calc(1.5 - clamp(0.917348, 0.436465, 0.589241)) ) xyz-d65 none 0.666667 x / y ) none c 360 / 0.333333 )', 'oklch(none 1886.45546707 0 / 0.333333)'], + ['lch( from color( from color( xyz-d50 0.095022 none 0.168671 ) a98-rgb 0.971497 r g ) c none 0 )', 'lch(100 none 0)'], + ['color-mix( in lab , color( xyz-d65 none none none ) , color( display-p3 0.949205 clamp(calc(pi), 0.333333, calc(0 / 1.66455)) 0.592319 ) )', 'lab(235.0432025 -235.35687529 231.56254514)'], + ['hwb( from color( xyz-d50 0.385779 0.168222 none ) 353.976026 alpha h )', 'color(srgb 0.00282961 0.00282961 0.00282961)'], + ['lch( 50 none 360 / 0.440346 )', 'lch(50 none 0 / 0.440346)'], + ['oklab( calc(nan) 0.078338 -0.4 / 0.0739 )', 'oklab(0 0.078338 -0.4 / 0.0739)'], + ['oklab( 0.977609 -0.185224 calc(-0.26666666666666666 + 0) / 0.666667 )', 'oklab(0.977609 -0.185224 -0.26666667 / 0.666667)'], + ['color( from color( xyz 0.99186 0.199994 calc(0.623394 + 0.210732) ) a98-rgb none none hypot(g, 0.726483) )', 'color(a98-rgb none none 1.05348639)'], + ['rgb( none 153.558036 82.352112 )', 'color(srgb none 0.60218838 0.32294946)'], + ['rgb( 168.86019 132.589475 0 / calc(1.049093 - 1.5) )', 'rgba(169, 133, 0, 0)'], + ['color( xyz-d50 0.515849 0.38069 exp(22.100158) )', 'color(xyz-d50 0.515849 0.38069 2147483647)'], + ['oklch( 0.856034 0.178063 5.872521 )', 'oklch(0.856034 0.178063 5.872521)'], + ['color( from color( xyz-d65 0.718155 max(clamp(0.438975, calc(pi), 0), 0) none ) xyz-d50 0.022383 none 0.5 )', 'color(xyz-d50 0.022383 none 0.5)'], + ['oklab( from color( from color( display-p3-linear calc(calc(clamp(2.85242, 0, 3) / 0.876546)) calc(infinity) clamp(0.521224, 0.074229, abs(0.26522)) ) rec2020 0.282009 min(alpha, calc(0.5)) 1 ) calc(calc(exp(b) + max(0.534169, 0)) - a) 0.4 0.4 / 1 )', 'oklab(1 0.4 0.4)'], + ['oklab( from color( xyz 0.081828 none cos(min(-247.157464deg, -349.314096deg)) ) b calc(-0.2 - alpha) a )', 'oklab(0 -1.2 -1.20519782)'], + ['oklab( 1 clamp(sin(calc(e)), 0.032218, calc(0.008981 * -2)) none )', 'oklab(1 0.41078129 none)'], + ['lch( from color( xyz 0.5 0.50193 none ) calc(22.222222 + 0) none 45.774911 / none )', 'lch(22.222222 none 45.774911 / none)'], + ['color-mix( in xyz-d50 , color( xyz-d65 none 0.246844 1 ) 76.228623%, color( xyz 0.778438 none calc(0.915249) ) 55.883754% )', 'color(xyz-d50 0.76980995 0.227409 0.72402046)'], + ['oklch( from color( from color( from color( xyz-d50 none 0.196397 0.569517 / 0.257351 ) a98-rgb 0 0 0 / 0.715745 ) prophoto-rgb 0 calc(0.488202 + g) 0.5 ) none 0 h )', 'oklch(none 0 188.29892397 / 0.715745)'], + ['oklch( none 0.16084 60.320565 )', 'oklch(none 0.16084 60.320565)'], + ['color( xyz-d50 0 none calc(pi) / 0.590797 )', 'color(xyz-d50 0 none 3.14159265 / 0.590797)'], + ['oklab( none 0.4 0.34296 / 37.272091% )', 'oklab(none 0.4 0.34296 / 0.37272091)'], + ['oklab( 0.911416 -0.047241 0.384059 / 27.378323% )', 'oklab(0.911416 -0.047241 0.384059 / 0.27378323)'], + ['rgb( 0 none 149.20814 )', 'color(srgb 0 none 0.58512996)'], + ['lch( from color( display-p3 0 0 0.984617 ) 10.553874 150 calc(360) )', 'lch(10.553874 150 0)'], + ['hsl( exp(-100) 100 34.856693 )', 'rgb(178, 0, 0)'], + ['hwb( 57.147055 52.6655 100 )', 'rgb(88, 88, 88)'], + ['hwb( 47.77901 0 2.025056 )', 'rgb(250, 199, 0)'], + ['hwb( from color( srgb-linear none 1 none ) abs(0) h 44.130726 )', 'color(srgb 0.73112453 0.73112453 0.73112453)'], + ['color-mix( in lch , color( xyz-d50 none 0 0.224256 ) , color( from color( from color( xyz-d65 0 none 1 / sin(calc(0 + 0.135921)) ) xyz-d65 z none x ) xyz z 0.5 none ) 25.104967% )', 'lch(3.2922176 110.76778431 241.76267302 / 0.78296828)'], + ['hwb( from color( xyz-d65 none 0.551268 sin(0.134528) ) h 50 33.998082 / min(0.521346, calc(0.108068 / -1)) )', 'color(srgb 0.5 0.66001918 0.59290638 / 0)'], + ['oklch( from color( a98-rgb 0.806269 hypot(1, 0) 0.775382 ) none none l )', 'oklch(none none 0.93732961)'], + ['rgb( none none 239.089074 )', 'color(srgb none none 0.93760421)'], + ['oklch( exp(-100) 0.36361 none )', 'oklch(0 0.36361 none)'], + ['oklab( 0.60012 -0.133333 calc(-infinity) / 0.5 )', 'oklab(0.60012 -0.133333 -2147483647 / 0.5)'], + ['hwb( 77.42167 0 66.409756 )', 'rgb(61, 86, 0)'], + ['color-mix( in hsl increasing hue, color( display-p3-linear 0 0 0.998297 ) , color( from color( from color( xyz-d65 0.307659 none hypot(calc(0.131131 + 0), 0.441561) ) xyz-d65 alpha z 0 / 0 ) display-p3 r b 0.94855 ) )', 'color(srgb 0.67135782 0 1.0412428 / 0.5)'], + ['hwb( calc(0 - 0) none 0 )', 'hwb(0 none 0%)'], + ['hwb( calc(e) 50 calc(sin(13.333333) * 3.159382) )', 'rgb(249, 133, 128)'], + ['color( xyz none 0.930874 0.65739 / 0.881127 )', 'color(xyz-d65 none 0.930874 0.65739 / 0.881127)'], + ['lab( from color( xyz-d65 none 0.802119 0.027184 ) 0 67.036861 0 )', 'lab(0 67.036861 0)'], + ['hwb( from color( a98-rgb calc(0.243833 / 3.842335) none 0.098372 / 0.112469 ) none 51.641436 0 )', 'hwb(none 51.641436% 0% / 0.112469)'], + ['hwb( calc(infinity) none 27.441912 )', 'hwb(0 none 27.441912%)'], + ['hwb( none 86.787796 sin(73.203107) )', 'hwb(none 86.787796% -0.81136059%)'], + ['oklch( from color( xyz-d65 calc(pi) calc(nan) 0.194244 ) 0.5 min(0.4, c) hypot(clamp(clamp(h, 0, 360), max(186.299845, alpha), l), 0.854874) )', 'oklch(0.5 0.4 356.42300283)'], + ['hwb( 351.606429 none none )', 'hwb(351.606429 none none)'], ['lch( none none none )', 'lch(none none none)'], - ['color( rec2020 0.072971 none calc(nan) )', 'color(rec2020 0.072971 none 0)'], - ['oklab( 0.5 none none )', 'oklab(0.5 none none)'], - ['color( xyz 0.844508 calc(1 / 0.159236) min(calc(nan), abs(0.639778)) )', 'color(xyz-d65 0.844508 6.27998694 0)'], - ['oklch( from color( srgb 0.5 0 0.333333 ) 0.859842 0.274728 0 )', 'oklch(0.859842 0.274728 0)'], - ['color( display-p3-linear 0.772792 sin(1) none )', 'color(display-p3-linear 0.772792 0.84147098 none)'], - ['lab( from color( prophoto-rgb 0.713629 0 0.24805 ) 100 none none )', 'lab(100 none none)'], - ['rgb( none none 7.878091 / 37.774155% )', 'color(srgb none none 0.03089447 / 0.37774155)'], - ['lch( none none exp(-48.219435) )', 'lch(none none 0)'], - ['oklch( calc(0 / 0.130777) min(0.142683, 0) 260.447438 )', 'oklch(0 0 260.447438)'], - ['color( xyz none clamp(max(1, 1), 0.751711, calc(infinity)) none )', 'color(xyz-d65 none 1 none)'], - ['rgb( calc(16.010861 * calc(-3 - -3)) 195.858854 calc(141.758791 + 61.592067) / 0.01157 )', 'rgba(0, 196, 203, 0.01157)'], - ['hsl( 211.458804 41.493408 65.683844 )', 'rgb(131, 166, 204)'], - ['lch( 66.666667 0 145.958392 )', 'lch(66.666667 0 145.958392)'], - ['color( xyz-d65 0 0.205105 0.697649 )', 'color(xyz-d65 0 0.205105 0.697649)'], - ['lab( 25.509613 -120.068122 -125 / clamp(0.37408, 0.299678, 0.582332) )', 'lab(25.509613 -120.068122 -125 / 0.37408)'], - ['hwb( min(0, hypot(210.552925, 136.263251)) sin(90.47427) 20.142337 )', 'rgb(204, 2, 2)'], - ['hwb( from color( from color( xyz-d65 abs(abs(0)) 0 0.488343 / 0.080589 ) prophoto-rgb 0.5 0.298057 0.5 ) 94.24573 57.514812 100 )', 'color(srgb 0.36513907 0.36513907 0.36513907 / 0.080589)'], - ['oklch( from color( from color( from color( xyz-d65 0.377469 0.213592 none ) xyz exp(-85.881634) 0 z ) prophoto-rgb alpha 0 none / none ) 0.919159 none c )', 'oklch(0.919159 none 0.43162922 / none)'], - ['oklch( min(calc(0.173524 * -0.45112), 0.333333) none 0.40835 )', 'oklch(0 none 0.40835)'], - ['oklab( from color( prophoto-rgb 0.379076 0.775339 0.341756 ) l 0 0.099602 )', 'oklab(0.76488326 0 0.099602)'], - ['lch( none 75 55.766475 )', 'lch(none 75 55.766475)'], - ['rgb( 0 61.207448 85.159179 )', 'rgb(0, 61, 85)'], - ['rgb( 53.031684 cos(108.768427deg) 45.239528 )', 'rgb(53, 0, 45)'], - ['lch( none none 0 )', 'lch(none none 0)'], - ['oklch( 0 0.299261 hypot(25.436906, 360) )', 'oklch(0 0.299261 0.89754251)'], - ['hwb( from color( from color( xyz-d65 none none none ) xyz calc(-infinity) z 0.227923 ) sin(0) abs(b) none )', 'hwb(0 805094.25885502 none)'], - ['color( xyz-d50 0.929801 0 0.383003 / 1 )', 'color(xyz-d50 0.929801 0 0.383003)'], - ['lch( none 75 163.504393 / abs(calc(0.2 * abs(7))) )', 'lch(none 75 163.504393)'], - ['oklch( calc(nan) none 112.393362 )', 'oklch(0 none 112.393362)'], - ['oklab( calc(1.5 - 0.716988) none -0.068767 )', 'oklab(0.783012 none -0.068767)'], - ['oklch( none hypot(0.09391, cos(320.638865deg)) clamp(360, 0, 349.512668) )', 'oklch(none 0.77884631 0)'], - ['rgb( clamp(cos(107.35116deg), 91.229616, 255) 73.859066 none )', 'color(srgb 0.3577632 0.2896434 none)'], - ['hwb( none max(calc(infinity), 66.666667) 0 )', 'hwb(none Infinity% 0)'], - ['oklch( from color( display-p3-linear none calc(nan) 0.2519 / calc(37.256344% + 13.716459%) ) none none 360 / c )', 'oklch(none none 0 / 0.20408979)'], - ['color( from color( xyz-d50 0.7948 0.841485 none ) rec2020 abs(0) 0 none )', 'color(rec2020 0 0 none)'], - ['lch( from color( srgb none 0.333333 0.333333 ) 0 150 172.681635 )', 'lch(0 150 172.681635)'], - ['oklab( calc(calc(infinity) - 0.558845) calc(cos(-321.597597deg) / 0.277877) calc(1.14144 / -1) / 0.333333 )', 'oklab(1 2.82019529 -1.14144 / 0.333333)'], - ['oklch( from color( from color( xyz-d50 0.269971 abs(0.525513) none ) xyz none none y ) 0.808468 alpha calc(19.706055 * 0.647274) )', 'oklch(0.808468 1 12.75521704)'], - ['lch( clamp(min(7.733752, 0), 76.588651, calc(calc(0 / calc(infinity)) / calc(5.519573 - 5.792115))) 40.78693 291.036397 / 33.904864% )', 'lch(0 40.78693 291.036397 / 0.33904864)'], - ['oklch( from color( xyz-d65 0 1 0.877925 ) none 0.30675 l )', 'oklch(none 0.30675 0.91171592)'], - ['lab( 4.494946 -125 49.07774 )', 'lab(4.494946 -125 49.07774)'], - ['hwb( calc(0 / 1.5) calc(infinity) none / 0.86506 )', 'hwb(0 Infinity% none / 0.86506)'], - ['oklch( none 0 none )', 'oklch(none 0 none)'], - ['hwb( 207.341443 none calc(pi) )', 'hwb(207.341443 none 3.14159265)'], - ['lab( 57.773273 clamp(92.346138, exp(calc(nan)), 99.498547) min(-125, 59.166564) )', 'lab(57.773273 0 -125)'], - ['color( from color( from color( xyz-d50 0.5 0.641437 0 ) a98-rgb none 0 0.528328 ) srgb-linear 0 0.580135 min(g, 0) )', 'color(srgb-linear 0 0.580135 0)'], - ['lab( 1.062324 93.891835 125 )', 'lab(1.062324 93.891835 125)'], - ['lch( from color( prophoto-rgb 0.072298 0.83597 0.252084 ) h none c / h )', 'lch(100 none 176.73731884)'], - ['rgb( 131.263948 224.356585 220.30788 )', 'rgb(131, 224, 220)'], - ['hwb( from color( prophoto-rgb 0.700349 none 0.202832 ) w abs(alpha) w )', 'color(srgb 0.00309802 0.00309802 0.00309802)'], - ['hsl( 325.423425 14.751672 66.666667 )', 'rgb(183, 157, 172)'], - ['rgb( from color( xyz-d50 none calc(-infinity) 0.339282 ) calc(nan) calc(infinity) alpha )', 'color(srgb -190.92039946 2147483647 -254.86657437)'], - ['lch( calc(pi) calc(27.272543 * calc(pi)) calc(e) / 0.927184 )', 'lch(3.14159265 85.67922073 2.71828183 / 0.927184)'], - ['color( srgb calc(infinity) 0.563541 cos(-76.275379deg) / clamp(0.380015, 0.11707, 0.003005) )', 'color(srgb 2147483647 0.563541 0.23725562 / 0.380015)'], - ['lch( from color( xyz calc(nan) calc(0.055295 * 3.903681) none ) none none none / alpha )', 'lch(none none none)'], - ['oklch( 0.443625 0.259961 clamp(196.893706, 86.892869, 177.958153) )', 'oklch(0.443625 0.259961 196.893706)'], - ['hsl( 173.306204 64.46705 30.558738 )', 'rgb(28, 128, 117)'], - ['oklab( from color( a98-rgb 1 calc(calc(e) - 0.544869) 0.282757 ) 0.063733 none 0.299008 )', 'oklab(0.063733 none 0.299008)'], - ['hsl( 32.605886 57.279406 none )', 'hsl(32.605886 57.279406 none)'], - ['oklab( 0.737994 0.4 cos(-44.282654deg) )', 'oklab(0.737994 0.4 0.71590414)'], - ['color-mix( in srgb , color( display-p3 calc(infinity) 0.840834 0.473075 ) 10.450437%, color( display-p3-linear sin(calc(e)) 0 0.72772 ) 6.784796% )', 'color(srgb 1416973378.477776 -347733274.97697645 -253182437.1876447 / 0.17235233)'], - ['hwb( 0 0 7.534278 )', 'rgb(236, 0, 0)'], - ['oklab( 0.812778 0.145044 -0.349138 / min(0, 0.663117) )', 'oklab(0.812778 0.145044 -0.349138 / 0)'], - ['oklab( 0.497807 calc(calc(max(-0.12000000000000002, 0) * 0.775183) - 0) min(-0.048384, -0.06676) )', 'oklab(0.497807 0 -0.06676)'], - ['hwb( 217.926141 exp(100) 27.878482 )', 'rgb(255, 255, 255)'], - ['lch( from color( prophoto-rgb none 0.882301 0.18058 ) 100 none 180 )', 'lch(100 none 180)'], - ['hsl( 360 clamp(0, exp(33.333333), calc(nan)) 69.136243 )', 'rgb(176, 176, 176)'], - ['oklab( none 0.322513 calc(0.175034 + -0.094093) )', 'oklab(none 0.322513 0.080941)'], - ['hsl( from color( xyz 0.20712 0 0.667367 ) calc(0 / cos(max(279.484421deg, -251.851005deg))) h l )', 'color(srgb 0.79789327 -0.38741199 -0.38741199)'], - ['hsl( none calc(130.244426 - 50) 51.56736 / 0.091762 )', 'hsl(none 80.244426 51.56736 / 0.091762)'], - ['hwb( hypot(360, 360) calc(pi) calc(sin(146.018036) - 59.791325) )', 'rgb(8, 405, 201)'], - ['oklab( 0 0 0.194211 )', 'oklab(0 0 0.194211)'], - ['lab( from color( srgb-linear 0.465176 0.95865 1 ) 50 calc(15.95009 * abs(5.927531)) calc(pi) / a )', 'lab(50 94.54465293 3.14159265 / 0)'], - ['color-mix( in rec2020 , color( xyz-d65 0.014389 0.396331 0.820941 ) , color( from color( xyz calc(e) 0.562198 0.493358 / calc(0.6666666666666666 + 0.184056) ) xyz x calc(0 - alpha) 0 ) 6.073084% )', 'color(rec2020 -0.49117299 0.70456282 0.86252377 / 0.99093426)'], - ['lab( from color( xyz-d65 0 0 none ) a cos(-338.377721deg) 90.147617 / calc(max(exp(b), 0)) )', 'lab(0 0.92963327 90.147617)'], - ['hwb( from color( xyz-d65 0 none none ) alpha 0 0 )', 'color(srgb 1 0.01666667 0)'], - ['hwb( 193.627429 hypot(calc(45.088086 - calc(infinity)), 65.79778) 54.473598 )', 'rgb(NaN, NaN, NaN)'], - ['hsl( 94.703008 none 26.334774 )', 'hsl(94.703008 none 26.334774)'], - ['hsl( abs(calc(301.720108 - 44.200823)) calc(max(17.535053, abs(115.824299)) / calc(calc(0.085519 * 4.560557) * 6.200833)) 51.75729 )', 'rgb(107, 73, 191)'], - ['hwb( 109.830415 0 35.121081 )', 'rgb(28, 165, 0)'], - ['oklab( 0.760105 0.209404 none )', 'oklab(0.760105 0.209404 none)'], - ['hsl( from color( display-p3 cos(151.206394deg) 0 0 / calc(abs(calc(0.020315 + 0.113296)) * calc(e)) ) alpha none s / s )', 'hsl(0.36319235 none 150.66015452)'], - ['hwb( clamp(312.467862, 118.867351, clamp(calc(pi), calc(-infinity), 21.380512)) 0 exp(27.702986) )', 'rgb(0, 0, 0)'], - ['rgb( 4.386332 13.428027 none )', 'color(srgb 0.0172013 0.05265893 none)'], - ['rgb( from color( srgb 0.62178 none 0.492534 / 43.413757% ) none 0 255 )', 'color(srgb none 0 1 / 0.43413757)'], - ['hwb( 180 calc(-infinity) 45.362132 )', 'rgb(NaN, NaN, NaN)'], - ['hwb( from color( xyz-d65 0 0.166926 calc(0 + 0.211914) ) w none none )', 'hwb(296.39223481 none none)'], - ['rgb( from color( display-p3-linear cos(270.180941deg) 0.980454 1 / 0.136947 ) 255 0 109.236165 )', 'color(srgb 1 0 0.42837712 / 0.136947)'], - ['lch( calc(e) calc(e) 117.932172 )', 'lch(2.71828183 2.71828183 117.932172)'], - ['oklab( 0.174367 none 0.4 )', 'oklab(0.174367 none 0.4)'], - ['lch( from color( a98-rgb 0.693831 calc(infinity) 0.066405 ) 0 none 0 )', 'lch(0 none 0)'], - ['lab( none none -38.886225 )', 'lab(none none -38.886225)'], - ['rgb( none 255 none )', 'color(srgb none 1 none)'], - ['lab( 4.57867 calc(e) -125 / 0.333333 )', 'lab(4.57867 2.71828183 -125 / 0.333333)'], - ['lch( min(sin(0), 87.512316) 0 calc(pi) / 0 )', 'lch(0 0 3.14159265 / 0)'], - ['hwb( from color( from color( xyz 1 none 0.293423 / 0 ) xyz none y none ) 277.258004 w b / 0.541215 )', 'hwb(277.258004 none none / 0.541215)'], - ['oklab( from color( xyz-d65 calc(e) 0.742023 none ) none b alpha )', 'oklab(none 0.19829617 1)'], - ['hsl( 246.441097 none calc(nan) )', 'hsl(246.441097 none 0)'], - ['color( from color( from color( xyz-d65 0.5 0.117308 0.51812 ) rec2020 alpha calc(r * b) calc(nan) ) xyz 0 0 1 / sin(x) )', 'color(xyz-d65 0 0 1 / 0.63322484)'], - ['lch( clamp(84.887031, 100, 85.303693) 0 0 )', 'lch(85.303693 0 0)'], - ['hsl( from color( from color( display-p3 0.634129 none 0.798124 ) xyz-d65 0 1 z / z ) 360 h calc(0.089843 - 75) )', 'color(srgb -1.99221063 0.49400749 0.49400749 / 0.62704778)'], - ['lch( 7.241932 none none )', 'lch(7.241932 none none)'], - ['rgb( from color( xyz-d65 0 0.231633 none ) calc(0 - alpha) b sin(187.113895) )', 'color(srgb -0.00392157 none -0.00385164)'], - ['lch( from color( from color( xyz-d65 0.242691 none 0.212688 ) xyz 1 none none ) 51.57347 44.41961 alpha )', 'lch(51.57347 44.41961 1)'], - ['lch( none min(66.885953, 129.064912) 120 )', 'lch(none 66.885953 120)'], - ['lch( from color( display-p3 1 calc(nan) calc(pi) ) none calc(h) c )', 'lch(none 304.13561251 320.37994463)'], - ['rgb( none none hypot(231.385164, 0) )', 'color(srgb none none 0.9073928)'], - ['hsl( 350.154592 none calc(-infinity) )', 'hsl(350.154592 none -Infinity%)'], - ['oklab( from color( xyz calc(0.2 * -2) 0.471851 exp(0) ) a none none )', 'oklab(0 none none)'], - ['oklch( 0.091585 none none / 0.380672 )', 'oklch(0.091585 none none / 0.380672)'], - ['lab( 38.532777 calc(25 * 5.731695) -16.364668 )', 'lab(38.532777 143.292375 -16.364668)'], - ['rgb( from color( from color( xyz none none 0.96749 ) srgb-linear calc(cos(calc(-347.458559deg / alpha)) / -1) 0.995489 r / r ) g hypot(b, 0) b / 0.325947 )', 'color(srgb 0.99801442 0 none / 0.325947)'], - ['rgb( none 128.342825 sin(227.69359) )', 'color(srgb none 0.5033052 0.00391144)'], - ['hsl( from color( xyz-d65 none none 0.170813 / 0.524746 ) calc(360) calc(e) 98.760794 )', 'color(srgb 0.98794479 0.98727109 0.98727109 / 0.524746)'], - ['oklch( 0 0 none )', 'oklch(0 0 none)'], - ['color( xyz-d50 exp(79.890922) 0 none )', 'color(xyz-d50 2147483647 0 none)'], - ['color-mix( in oklab , color( prophoto-rgb 0 0.5 0.618356 ) , color( from color( srgb calc(0.449952 / 2.296923) 0.777716 0.881131 ) xyz-d65 none 0.43966 none / none ) 93.302373% )', 'oklab(0.69158182 -0.49728429 0.18089517)'], - ['lab( none none 78.077375 )', 'lab(none none 78.077375)'], - ['oklab( from color( xyz-d65 0 0 0.197121 ) 0 -0.4 -0.164604 )', 'oklab(0 -0.4 -0.164604)'], - ['color( xyz-d50 0.065758 none 0.771924 )', 'color(xyz-d50 0.065758 none 0.771924)'], - ['lab( 0 -125 -125 / 0.905705 )', 'lab(0 -125 -125 / 0.905705)'], - ['color( rec2020 0.5 calc(calc(pi)) calc(e) )', 'color(rec2020 0.5 3.14159265 2.71828183)'], - ['rgb( 232.628784 81.599679 217.022744 )', 'rgb(233, 82, 217)'], - ['lab( 100 none 115.938088 )', 'lab(100 none 115.938088)'], - ['rgb( from color( prophoto-rgb 0.009824 none 0.01173 / 0.519159 ) b 0 159.75285 )', 'color(srgb 0.01093689 0 0.62648176 / 0.519159)'], - ['lab( cos(calc(clamp(-1.206402deg, -58.932229deg, -36.414702deg) * 6.732035)) 97.21547 41.362438 )', 'lab(0.98997062 97.21547 41.362438)'], - ['hsl( none 61.105459 0 / 98.715449% )', 'hsl(none 61.105459 0 / 0.98715449)'], - ['lch( from color( prophoto-rgb 1 0.059532 0.268126 ) none none none / 0 )', 'lch(none none none / 0)'], - ['rgb( none 95.525758 22.142761 )', 'color(srgb none 0.37461082 0.08683436)'], - ['hwb( from color( xyz-d50 none calc(2.024154 / -1) none ) 104.471573 exp(-71.723348) h )', 'color(srgb 0 0 0)'], - ['hsl( from color( srgb 0 0.641119 none ) none 56.005394 none )', 'hsl(none 56.005394 none)'], - ['lch( calc(cos(56.387504deg)) 109.916109 none )', 'lch(0.55357319 109.916109 none)'], - ['oklab( from color( rec2020 0 sin(0.336486) none / clamp(0.544692, 0.441954, calc(infinity)) ) 0.5 a calc(0.6000000000000001 - -0.6000000000000001) )', 'oklab(0.5 -0.17133659 1.2 / 0.544692)'], - ['lab( 37.302566 104.324485 120.554976 )', 'lab(37.302566 104.324485 120.554976)'], - ['hwb( calc(nan) none 26.799624 )', 'hwb(0 none 26.799624)'], - ['lch( calc(calc(65.00593)) none none )', 'lch(65.00593 none none)'], - ['oklab( none 0.133333 none )', 'oklab(none 0.133333 none)'], - ['hwb( 235.392882 calc(calc(-infinity)) none / 0.333333 )', 'hwb(235.392882 -Infinity% none / 0.333333)'], - ['oklab( 0.420594 0.194146 0.063757 / calc(36.15822% - 14.700152%) )', 'oklab(0.420594 0.194146 0.063757 / 0.21458068)'], - ['color( xyz 0.1384 0.492327 0.993156 / 0.344054 )', 'color(xyz-d65 0.1384 0.492327 0.993156 / 0.344054)'], - ['oklab( 1 -0.100569 -0.229313 )', 'oklab(1 -0.100569 -0.229313)'], - ['oklab( from color( display-p3-linear calc(0.046469 * calc(pi)) none 0.550767 ) b calc(pi) none )', 'oklab(0 3.14159265 none)'], - ['rgb( from color( xyz 0.481793 none 0.797128 ) alpha alpha none / none )', 'color(srgb 0.00392157 0.00392157 none / none)'], - ['lab( none 125 none )', 'lab(none 125 none)'], - ['hwb( 0 0.759981 15.670144 )', 'rgb(215, 2, 2)'], - ['oklab( 1 clamp(0.156755, calc(-0.6000000000000001 - 0.098082), clamp(-0.173636, -0.4, -0.133333)) calc(-infinity) )', 'oklab(1 0.156755 -2147483647)'], - ['rgb( 179.664673 none 48.934782 / sin(0.974492) )', 'color(srgb 0.70456735 none 0.19190111 / 0.82741671)'], - ['rgb( 131.160483 222.571552 32.151132 )', 'rgb(131, 223, 32)'], - ['oklch( 0.666667 0.371776 none / 44.788353% )', 'oklch(0.666667 0.371776 none / 0.44788353)'], - ['oklab( 0.353043 calc(pi) calc(calc(hypot(0.356098, 0.369079)) - -0.6000000000000001) )', 'oklab(0.353043 3.14159265 1.11285972)'], - ['oklch( 0.156035 0.4 none / 0 )', 'oklch(0.156035 0.4 none / 0)'], - ['lch( from color( xyz-d50 0.108582 0.70082 0.592702 ) h 75 none )', 'lch(100 75 none)'], - ['color-mix( in srgb , color( from color( xyz 0.524583 0.586578 none ) xyz-d65 1 calc(0.5) alpha ) , color( from color( xyz-d50 0.656974 0.840492 0 / 0.095841 ) xyz-d65 min(0.488101, y) sin(0.745168) 0.666667 ) 90.088383% )', 'color(srgb 0.94830444 0.48249002 0.9065188 / 0.18545778)'], - ['color-mix( in hwb , color( xyz 0.797879 none calc(pi) ) 43.769408%, color( xyz abs(0.176355) abs(0.131359) none ) 74.045009% )', 'color(srgb 1.03279955 -0.39238313 -0.22696143)'], - ['oklch( calc(0.902525 - calc(0 + 0.193542)) none 0 )', 'oklch(0.708983 none 0)'], - ['lab( calc(-infinity) -103.314807 calc(e) )', 'lab(0 -103.314807 2.71828183)'], - ['lch( 91.575533 116.485696 none )', 'lch(91.575533 116.485696 none)'], - ['color-mix( in xyz-d65 , color( display-p3 0.476942 0.686967 0.840448 ) , color( a98-rgb 0.617267 0.479835 calc(clamp(sin(0.599571), 0.303468, 0.173201) - 1.225544) ) )', 'color(xyz-d65 0.25131932 0.29617263 0.1739656)'], - ['oklab( from color( xyz-d65 none none 0.338232 ) 0.69203 0.060748 none )', 'oklab(0.69203 0.060748 none)'], - ['color( from color( srgb 0 0.689288 0.220031 ) prophoto-rgb none 0.552212 g / min(sin(0.3179), 0) )', 'color(prophoto-rgb none 0.552212 0.58352196 / 0)'], - ['lab( calc(6.946124) -8.733551 -125 )', 'lab(6.946124 -8.733551 -125)'], - ['hwb( 0 100 73.104925 / 0.481263 )', 'rgba(147, 147, 147, 0.481263)'], - ['hsl( 0 71.012462 calc(pi) )', 'rgb(14, 2, 2)'], - ['lab( none none 125 )', 'lab(none none 125)'], - ['hsl( 90.996567 calc(infinity) 0 )', 'rgb(0, 0, 0)'], - ['oklch( calc(infinity) none 271.929984 )', 'oklch(1 none 271.929984)'], - ['oklab( 0.078077 -0.050731 0.048353 )', 'oklab(0.078077 -0.050731 0.048353)'], - ['rgb( 0 255 none )', 'color(srgb 0 1 none)'], - ['oklab( from color( srgb-linear 1 none calc(e) ) b abs(-0.133333) -0.4 )', 'oklab(0 0.133333 -0.4)'], - ['hwb( 262.570387 none calc(124.361099 / -1) )', 'hwb(262.570387 none -124.361099)'], - ['lch( from color( from color( srgb max(0.336531, 0.757137) 0.795988 0.5 ) xyz-d50 z none 0 ) c 75.777239 360 / 0 )', 'lch(100 75.777239 0 / 0)'], - ['hsl( from color( prophoto-rgb 0.650943 0.413992 0.772091 ) 180 h calc(s) )', 'color(srgb -0.5947844 1.78210902 1.78210902)'], - ['color-mix( in rec2020 , color( from color( display-p3-linear 0.37783 calc(0.2 * 7) 1 ) xyz-d65 0.177859 0.274295 none ) , color( xyz-d65 0.311698 0.516619 0.758101 ) )', 'color(rec2020 0.49233554 0.7279129 0.86067466)'], - ['hwb( from color( from color( xyz-d50 0.865989 none 0.688559 ) srgb none 0.139887 alpha ) 0 60.229825 none )', 'hwb(0 60.229825 none)'], - ['hsl( from color( srgb none 0.694588 none ) none 88.911022 none / h )', 'hsl(none 88.911022 none)'], - ['lch( none 0 max(50.75051, 99.256946) / calc(0.064856 * cos(-59.22159deg)) )', 'lch(none 0 99.256946 / 0.03318806)'], - ['color-mix( in srgb-linear , color( a98-rgb none 0.748394 0.21532 ) , color( from color( prophoto-rgb none 0 none ) xyz 0 z 0.47996 ) 7.347149% )', 'color(srgb-linear -0.23931322 0.52867039 0.04923743)'], - ['oklab( 0.666667 -0.202767 0.336616 )', 'oklab(0.666667 -0.202767 0.336616)'], - ['oklab( 0.386988 -0.294674 -0.4 )', 'oklab(0.386988 -0.294674 -0.4)'], - ['rgb( from color( display-p3 calc(0.430795 + calc(0.666667 / abs(-1))) 0 0.797678 ) g none none )', 'color(srgb -0.25276959 none none)'], - ['lch( max(calc(calc(200 + 100) / 4), hypot(calc(10 * 2.5), 100)) calc(-infinity) clamp(14.175368, 59.222241, 180) )', 'lch(100 0 59.222241)'], - ['lch( 33.333333 abs(16.008385) 60.29144 )', 'lch(33.333333 16.008385 60.29144)'], - ['oklab( from color( xyz-d50 0 0.394962 0.255326 / exp(-10.970345) ) a 0.4 -0.134667 / b )', 'oklab(0 0.4 -0.134667 / 0.03173862)'], - ['hwb( from color( from color( xyz-d65 0 none 0.885088 ) display-p3 alpha none none ) 181.839049 0 alpha )', 'color(srgb 0 0.95965569 0.99)'], - ['color( xyz 0.134256 0 0.164318 )', 'color(xyz-d65 0.134256 0 0.164318)'], - ['lab( calc(e) 125 -125 )', 'lab(2.71828183 125 -125)'], - ['hwb( 290.856733 calc(-infinity) 50 )', 'rgb(NaN, NaN, NaN)'], - ['hwb( 56.880096 100 34.850942 )', 'rgb(189, 189, 189)'], - ['hwb( 210.5653 none none / 0 )', 'hwb(210.5653 none none / 0)'], - ['lch( from color( xyz-d65 0 0.263566 0.686912 ) none calc(368.611374 / c) 240 )', 'lch(none 1.01435379 240)'], - ['oklab( 0 -0.4 0.032092 / 0.664148 )', 'oklab(0 -0.4 0.032092 / 0.664148)'], - ['color( srgb calc(e) abs(0.821666) 0.666667 / calc(0.583054) )', 'color(srgb 2.71828183 0.821666 0.666667 / 0.583054)'], - ['hsl( 180 0.108979 none / 39.542705% )', 'hsl(180 0.108979 none / 0.39542705)'], - ['hwb( none 87.634757 18.473946 / 0.711579 )', 'hwb(none 87.634757 18.473946 / 0.711579)'], - ['lch( 37.787856 min(11.031732, 121.973594) calc(e) )', 'lch(37.787856 11.031732 2.71828183)'], - ['lch( 76.206762 95.862992 calc(0 * 1.72667) )', 'lch(76.206762 95.862992 0)'], - ['lab( from color( display-p3-linear 0 none calc(0.147414 + 0.555599) ) none l -48.219312 )', 'lab(none 25.80428621 -48.219312)'], - ['hwb( calc(pi) 45.785959 calc(0 * 6.639736) )', 'rgb(255, 124, 117)'], - ['lab( 100 -92.725054 -120.593839 )', 'lab(100 -92.725054 -120.593839)'], - ['hsl( from color( xyz-d65 none 0.5 0.579085 ) 0 sin(0) none / alpha )', 'hsl(0 0 none)'], - ['oklab( from color( from color( prophoto-rgb 0.722809 calc(pi) max(0, 0.707608) ) rec2020 1 1 abs(b) ) none none a )', 'oklab(none none -0.04925539)'], - ['oklab( from color( srgb 0.063409 0.937422 0.568293 ) a a alpha / none )', 'oklab(0 -0.18355969 1 / none)'], - ['hsl( from color( from color( from color( xyz abs(0.407532) none none / 0.35289 ) display-p3 none 1 0.03572 ) xyz-d50 z y y ) none calc(nan) l )', 'hsl(none 0 -0.27563892 / 0.35289)'], - ['oklch( none 0.270478 none )', 'oklch(none 0.270478 none)'], - ['hwb( 360 calc(100) 12.991309 )', 'rgb(226, 226, 226)'], - ['hwb( 351.70598 27.80141 none )', 'hwb(351.70598 27.80141 none)'], - ['oklab( from color( xyz-d50 none 0.422032 0.626349 ) 0.040368 l 0 / 0.547169 )', 'oklab(0.040368 0.68934107 0 / 0.547169)'], - ['lab( from color( prophoto-rgb 0.799322 clamp(calc(0.704822), 0.227383, 0.680198) 0.218849 ) alpha calc(-375 / calc(pi)) -125 )', 'lab(1 -119.36620732 -125)'], - ['oklab( from color( xyz-d65 0.520495 0.5 0.321327 ) none 0.011383 0.055531 )', 'oklab(none 0.011383 0.055531)'], - ['lab( 46.2212 none -41.666667 / 0.494433 )', 'lab(46.2212 none -41.666667 / 0.494433)'], - ['oklab( none calc(infinity) none / 0.395236 )', 'oklab(none 2147483647 none / 0.395236)'], - ['lab( none -41.666667 none )', 'lab(none -41.666667 none)'], - ['oklch( none 0.272434 0 )', 'oklch(none 0.272434 0)'], - ['color-mix( in oklab , color( rec2020 0.200832 0.012611 calc(infinity) / 0.163656 ) 47.235874%, color( xyz-d65 0 0.337048 0.738026 ) 56.90789% )', 'oklab(1479306.614754 -563772.22507786 -1212698.84503236 / 0.62066438)'], - ['lch( from color( display-p3 0.399773 0.680616 calc(pi) / 0.780987 ) l l 333.560012 / 0.333333 )', 'lch(100 109.80581394 333.560012 / 0.333333)'], - ['rgb( none none none )', 'color(srgb none none none)'], - ['oklch( max(0.55405, 0.570639) 0 281.575409 )', 'oklch(0.570639 0 281.575409)'], - ['oklch( 0.971029 0.000431 none )', 'oklch(0.971029 0.000431 none)'], - ['hwb( calc(45.383614 * 0.072438) calc(27.875589 + 22.222222) none / 0.235562 )', 'hwb(3.28749823 50.097811 none / 0.235562)'], - ['hsl( 212.52141 none 44.918931 )', 'hsl(212.52141 none 44.918931)'], - ['hsl( 0 39.457382 50 / calc(pi) )', 'rgb(178, 77, 77)'], - ['oklab( from color( from color( from color( srgb 0 clamp(0.486414, 0.657514, calc(0.356457 / calc(-infinity))) clamp(0.921641, cos(clamp(-186.048689deg, 131.464891deg, 57.432835deg)), calc(clamp(0.264257, 0.239553, 0.617105) + 0.352495)) ) prophoto-rgb b b 0.408466 ) prophoto-rgb hypot(0, 0.5) calc(pi) g ) 0.013469 alpha -0.21419 )', 'oklab(0.013469 1 -0.21419)'], - ['hwb( 133.877224 21.829002 none )', 'hwb(133.877224 21.829002 none)'], - ['oklab( 0.527132 0.31906 -0.147518 / 0.978278 )', 'oklab(0.527132 0.31906 -0.147518 / 0.978278)'], - ['lch( calc(e) 0 234.535323 )', 'lch(2.71828183 0 234.535323)'], - ['hwb( from color( from color( from color( display-p3-linear 0.53031 0.442442 calc(0.657081 + calc(pi)) ) srgb-linear none 0 0.347984 ) prophoto-rgb b 0.021311 alpha ) w 74.905193 0 )', 'color(srgb 1 0.74905193 0.87191955)'], - ['oklab( from color( from color( from color( xyz 0.950054 none 0.740817 ) srgb r 1 0 ) xyz 0 alpha 0.172779 / z ) none -0.297317 none )', 'oklab(none -0.297317 none / 0.17157583)'], - ['oklch( from color( from color( from color( rec2020 0.641018 max(0.007129, 0.396084) 0.314255 ) srgb 0.783971 0.333333 0 ) prophoto-rgb exp(96.259904) g none ) 0 0.4 270.786237 / c )', 'oklch(0 0.4 270.786237)'], - ['oklch( hypot(calc(calc(-infinity)), 0.31973) none none )', 'oklch(1 none none)'], - ['lab( none sin(-47.642464) -125 )', 'lab(none 0.49564229 -125)'], - ['oklch( from color( a98-rgb cos(-338.52329deg) 0.116897 0.490197 ) 1 calc(alpha - max(h, clamp(0.090472, calc(nan), l))) alpha )', 'oklch(1 0 1)'], - ['rgb( 0 104.164404 none / 0.975899 )', 'color(srgb 0 0.40848786 none / 0.975899)'], - ['hwb( from color( xyz-d65 none 0.698689 0.832718 ) cos(-93.570886deg) w b )', 'color(srgb 1.13879566 -1.19047507 -1.18805716)'], - ['color( rec2020 max(0.442206, 0.757899) none 0.831359 / 96.76786% )', 'color(rec2020 0.757899 none 0.831359 / 0.9676786)'], - ['hsl( from color( xyz-d50 min(0.51649, min(calc(calc(pi) - 1.140618), 0)) none 0.376324 ) 0 none 0 )', 'hsl(0 none 0)'], - ['lch( exp(3.185281) none 180 )', 'lch(24.17408037 none 180)'], - ['hsl( 180 8.302187 83.801937 )', 'rgb(210, 217, 217)'], - ['oklch( 0 0.101109 252.929618 )', 'oklch(0 0.101109 252.929618)'], - ['rgb( 50.60485 144.294055 abs(16.617387) )', 'rgb(51, 144, 17)'], - ['hwb( none 24.916718 none / 0.645783 )', 'hwb(none 24.916718 none / 0.645783)'], - ['hwb( none 100 29.819158 / 0.673143 )', 'hwb(none 100 29.819158 / 0.673143)'], - ['hsl( none 96.602115 clamp(0, 14.088972, exp(-93.310555)) / 1 )', 'hsl(none 96.602115 0)'], - ['rgb( from color( from color( xyz 0.722502 0.074712 hypot(min(0.132669, calc(nan)), calc(e)) / cos(-337.529843deg) ) xyz-d65 0.5 0.714171 z ) 0 48.673794 calc(exp(-0.150742) - 130.071684) )', 'color(srgb 0 0.19087762 -0.50671221 / 0.92407873)'], - ['oklab( from color( display-p3-linear 0 0.308771 none ) 0.17117 l -0.157517 )', 'oklab(0.17117 0.57371895 -0.157517)'], - ['lch( from color( xyz-d65 0.657583 none none ) 30.032029 none sin(l) )', 'lch(30.032029 none 0.4746295)'], - ['hsl( none 0 0 )', 'hsl(none 0 0)'], - ['lch( 100 147.322205 none )', 'lch(100 147.322205 none)'], - ['hwb( min(117.451051, max(282.409566, 0)) calc(0.21103) none )', 'hwb(117.451051 0.21103 none)'], - ['rgb( 3.4044 120.572886 50.467408 / 0.876844 )', 'rgba(3, 121, 50, 0.876844)'], - ['color-mix( in xyz , color( display-p3 none 0.401855 0.872638 ) , color( xyz-d65 0.455266 none none ) 85.139417% )', 'color(xyz-d65 0.455266 0.15103628 0.77267257)'], - ['lch( from color( xyz-d65 0.783885 1 none ) l none none )', 'lch(100 none none)'], - ['lab( 76.91092 35.670715 -125 )', 'lab(76.91092 35.670715 -125)'], - ['oklch( 0.704982 0.316149 322.667515 / 0.703728 )', 'oklch(0.704982 0.316149 322.667515 / 0.703728)'], - ['oklab( 0.537484 0.344351 -0.38973 )', 'oklab(0.537484 0.344351 -0.38973)'], - ['rgb( 33.802499 0.246427 241.520724 )', 'rgb(34, 0, 242)'], - ['lab( 13.247354 -49.140483 none / 0.174905 )', 'lab(13.247354 -49.140483 none / 0.174905)'], - ['lch( 78.583121 calc(393.449177 / hypot(2.884818, cos(18.28481deg))) 29.313798 / 0.794076 )', 'lch(78.583121 129.54930167 29.313798 / 0.794076)'], - ['lch( from color( xyz-d65 0.068612 0.34578 0.440048 ) c 0 none )', 'lch(100 0 none)'], - ['hsl( none 100 calc(nan) )', 'hsl(none 100 0)'], - ['oklab( 0.137433 none hypot(-0.4, 0.033606) )', 'oklab(0.137433 none 0.40140922)'], - ['oklab( 0.981004 -0.377692 0.4 )', 'oklab(0.981004 -0.377692 0.4)'], - ['lch( abs(76.304259) 144.703282 178.999005 )', 'lch(76.304259 144.703282 178.999005)'], - ['oklch( from color( a98-rgb 0.064744 none 0.393614 ) alpha 0.347917 0 )', 'oklch(1 0.347917 0)'], - ['oklch( from color( from color( prophoto-rgb 0.395913 none calc(nan) ) prophoto-rgb 0 none 0.234507 ) none calc(calc(-infinity) + max(0.257156, 0.183995)) 360 )', 'oklch(none 0 0)'], - ['oklch( 0 0.081832 none )', 'oklch(0 0.081832 none)'], - ['lab( 34.069223 none 76.946439 / 0 )', 'lab(34.069223 none 76.946439 / 0)'], - ['hwb( 310.571812 23.556828 calc(0 + 5.98188) )', 'rgb(240, 60, 208)'], - ['color( xyz 1 none 0.920161 )', 'color(xyz-d65 1 none 0.920161)'], - ['hsl( 149.85889 63.438573 none / 0.470724 )', 'hsl(149.85889 63.438573 none / 0.470724)'], - ['color( xyz-d50 0.115206 0.614714 0 )', 'color(xyz-d50 0.115206 0.614714 0)'], - ['hsl( from color( xyz-d50 clamp(calc(0.113785 * -2), exp(-100), 0.5) 0.410405 none ) cos(160.010965deg) calc(infinity) calc(18.292585 * alpha) )', 'color(srgb 3928302.8978116 -3928302.5319599 -3805247.39429978)'], - ['color-mix( in a98-rgb , color( xyz-d50 0.208537 none none / 0.77259 ) 55.720806%, color( xyz 0.524349 max(max(0, 0.721685), 0.636069) 0 ) 10.153568% )', 'color(a98-rgb 0.69730015 0.92659455 -0.31416982 / 0.53202906)'], - ['hwb( from color( xyz calc(pi) none calc(infinity) / 1 ) 0 b b )', 'color(srgb 8347.95456828 -8346.95456828 -8346.95456828)'], - ['lch( 11.702228 68.606433 none )', 'lch(11.702228 68.606433 none)'], - ['color( from color( rec2020 0.201013 calc(-infinity) 0.524297 ) display-p3-linear 0.311692 none calc(0.313357 / g) )', 'color(display-p3-linear 0.311692 none 0)'], - ['hsl( calc(infinity) 100 none )', 'hsl(0 100 none)'], - ['hwb( 40.149474 49.975153 32.435381 )', 'rgb(172, 157, 127)'], - ['rgb( from color( a98-rgb 0.547357 0.044078 0.92933 ) 0 calc(alpha - calc(infinity)) max(155.529779, 0) )', 'color(srgb 190.92039946 -2147483647 254.86657437)'], - ['color-mix( in oklab , color( from color( xyz-d65 0.670697 calc(0.225124) abs(0.73094) ) xyz-d65 0.578346 none max(hypot(0.150303, 0.333333), 0.5) ) , color( from color( from color( rec2020 abs(0.201538) 0.847131 1 / 1 ) prophoto-rgb 0.333333 0.716929 b / alpha ) xyz-d50 calc(2.352342 / clamp(calc(-1), -1, 0.666667)) min(0, 0.258343) none ) 28.368412% )', 'oklab(0.17415537 0.11518155 -0.15707256)'], - ['color( a98-rgb 0 none 0.75386 )', 'color(a98-rgb 0 none 0.75386)'], - ['rgb( from color( from color( a98-rgb none min(0.687798, min(sin(0.047873), 1)) none / calc(0.1 * 1.630591) ) srgb-linear b 0.156693 alpha ) calc(130.519784 + g) alpha 201.737244 / b )', 'color(srgb 0.94420967 0.00063945 0.79112645)'], - ['color( from color( xyz-d65 0.196062 0 none ) xyz x 0.864578 none )', 'color(xyz-d65 0.196062 0.864578 none)'], - ['hwb( calc(540 - 291.265835) 61.66135 none )', 'hwb(248.734165 61.66135 none)'], - ['oklab( none -0.211291 -0.040858 / 0.854656 )', 'oklab(none -0.211291 -0.040858 / 0.854656)'], - ['lch( 12.204599 sin(58.532418) 360 )', 'lch(12.204599 0.91593937 0)'], - ['lch( none calc(-infinity) 136.431616 )', 'lch(none 0 136.431616)'], - ['oklab( clamp(calc(calc(infinity) - 1.5), cos(-93.065758deg), clamp(0.770549, 0.324919, abs(0.53727))) 0.238206 0.229579 / sin(0.873978) )', 'oklab(1 0.238206 0.229579 / 0.766888)'], - ['lch( 49.396633 max(max(4.789983, calc(8.917062 * 1.641823)), 34.914324) calc(e) )', 'lch(49.396633 34.914324 2.71828183)'], - ['lch( from color( xyz-d50 0.724373 none hypot(0, calc(1.5 - 0)) ) 100 0 cos(-351.356749deg) / 0.730847 )', 'lch(100 0 0.98864322 / 0.730847)'], - ['hwb( sin(4.507817) 98.940034 50 )', 'rgb(169, 169, 169)'], - ['oklch( 0.356861 exp(-40.66874) 116.166291 / hypot(70.1561%, 89.867316%) )', 'oklch(0.356861 0 116.166291)'], - ['lab( none none -125 / 0.777439 )', 'lab(none none -125 / 0.777439)'], - ['rgb( 255 none none )', 'color(srgb 1 none none)'], - ['hwb( none none 50.148835 )', 'hwb(none none 50.148835)'], - ['hwb( from color( rec2020 0 0.389703 0.446263 ) 131.399696 37.133762 6.854101 )', 'color(srgb 0.37133762 0.93145899 0.47775784)'], - ['hsl( from color( from color( display-p3-linear none 0.797268 1 ) xyz-d50 x calc(x / y) 0.257721 ) h 57.69537 33.002692 )', 'color(srgb 0.13961667 0.31812461 0.52043717)'], - ['hwb( from color( xyz 0.924389 clamp(0.335456, 0.124462, 0.740182) 0 ) 0 calc(pi) 42.679791 )', 'color(srgb 0.57320209 0.03141593 0.03141593)'], - ['rgb( 250.34107 none 100.961321 )', 'color(srgb 0.98172969 none 0.39592675)'], - ['lch( 33.333333 2.871055 calc(53.150422 + calc(e)) )', 'lch(33.333333 2.871055 55.86870383)'], - ['lch( from color( rec2020 0.18591 calc(0 - 0) 0.926176 ) none 77.957111 none )', 'lch(none 77.957111 none)'], - ['color-mix( in xyz , color( display-p3-linear calc(nan) none 0 ) , color( xyz 0 1 0.92804 / 0 ) )', 'color(xyz-d65 0 1 0 / 0.5)'], - ['oklch( none 0.24404 120 )', 'oklch(none 0.24404 120)'], - ['color( srgb 0.648478 sin(0.271703) 0.666667 / 0.789534 )', 'color(srgb 0.648478 0.26837235 0.666667 / 0.789534)'], - ['color( display-p3-linear 0.956085 0.81702 calc(clamp(2.462348, 0.667438, 0) / 1.629856) )', 'color(display-p3-linear 0.956085 0.81702 1.51077641)'], - ['oklch( 0 0.366705 74.773059 )', 'oklch(0 0.366705 74.773059)'], - ['rgb( from color( xyz-d65 0 0.517446 0.223729 ) none none r )', 'color(srgb none none -0.95798284)'], - ['lch( from color( display-p3-linear 0.055636 calc(0.342713 - 1.5) none ) none l 219.828094 )', 'lch(none 0 219.828094)'], - ['oklab( from color( xyz-d50 min(0.899894, 0.411132) 0.669843 calc(-infinity) ) none b hypot(0.131098, alpha) )', 'oklab(none 589.31551192 1.00855673)'], - ['hwb( 360 57.929367 0 )', 'rgb(255, 148, 148)'], - ['color( from color( prophoto-rgb none calc(0.125566 * 1) 0.654278 / 0.941769 ) rec2020 calc(calc(e) / 2.085918) alpha 0.125685 )', 'color(rec2020 1.30315853 0.941769 0.125685 / 0.941769)'], - ['hsl( none 80.560356 85.947037 )', 'hsl(none 80.560356 85.947037)'], - ['rgb( none 0 85 / 0.821474 )', 'color(srgb none 0 0.33333333 / 0.821474)'], - ['hsl( from color( from color( xyz 0.5 none 0 ) display-p3-linear 0.249304 none none ) 0 100 none / s )', 'hsl(0 100 none)'], - ['hsl( 289.748117 42.497225 none )', 'hsl(289.748117 42.497225 none)'], - ['color( rec2020 0.5 0.004141 0 )', 'color(rec2020 0.5 0.004141 0)'], - ['hsl( from color( xyz-d65 0.378119 calc(0.225692) calc(calc(calc(infinity) - calc(0.232027 * 5.183263)) - 0.449293) ) none calc(3.008143 * h) none )', 'hsl(none 77.18566683 none)'], - ['rgb( calc(pi) sin(132.476559) none )', 'color(srgb 0.01231997 0.00198136 none)'], - ['color( xyz-d50 0.689897 0.98749 0.361722 )', 'color(xyz-d50 0.689897 0.98749 0.361722)'], - ['oklch( from color( from color( display-p3-linear 1 0.5 0 ) display-p3-linear 0 0 none ) alpha 0.032037 none )', 'oklch(1 0.032037 none)'], - ['color( rec2020 0.065229 0.26087 0.155104 / 1 )', 'color(rec2020 0.065229 0.26087 0.155104)'], - ['rgb( sin(178.289527) 165.536903 calc(e) )', 'rgb(1, 166, 3)'], - ['lch( 46.370029 21.062645 165.379908 )', 'lch(46.370029 21.062645 165.379908)'], - ['color( display-p3 0.438025 0.037748 none )', 'color(display-p3 0.438025 0.037748 none)'], - ['hwb( 312.873778 40.98697 44.14875 / calc(18.257331% + 20.886811%) )', 'rgba(142, 105, 134, 0.39144142)'], - ['rgb( calc(nan) none clamp(41.683426, 3.748708, calc(pi)) )', 'color(srgb 0 none 0.16346442)'], - ['oklch( 0.317277 0.162829 272.068528 )', 'oklch(0.317277 0.162829 272.068528)'], - ['hsl( 87.905184 calc(69.566411 - 3.893444) 48.718637 )', 'rgb(130, 206, 43)'], - ['rgb( from color( from color( xyz-d65 calc(e) none 0.042019 / hypot(0.536373, 0.317044) ) a98-rgb 1 none none ) 0 calc(calc(e)) calc(infinity) )', 'color(srgb 0 -226.07010683 2147483647 / 0.62306733)'], - ['color-mix( in hsl decreasing hue, color( srgb-linear 0.08311 0.571078 0 ) , color( from color( rec2020 none 0.967754 0.361366 ) prophoto-rgb r b none / abs(b) ) )', 'color(srgb 0.98997899 -0.50423102 1.12416091 / 0.65219731)'], - ['hsl( none 0 calc(2.580517 * -1.756147) / 0.044832 )', 'hsl(none 0 -4.53176719 / 0.044832)'], - ['lab( none abs(-45.376947) -100.716965 )', 'lab(none 45.376947 -100.716965)'], - ['oklab( cos(-40.782834deg) none -0.133333 )', 'oklab(0.75719079 none -0.133333)'], - ['rgb( from color( xyz-d65 calc(0.588397) 0.31073 none ) 114.743225 b 242.231629 )', 'color(srgb 0.44997343 none 0.94992796)'], - ['lch( 88.740007 49.733309 none )', 'lch(88.740007 49.733309 none)'], - ['color( a98-rgb 0.702321 hypot(0.108327, max(0, 0.341984)) none )', 'color(a98-rgb 0.702321 0.35873081 none)'], - ['hsl( 360 calc(85.612465 - sin(117.683549)) none )', 'hsl(0 86.60451543 none)'], - ['hwb( from color( srgb-linear 0.333333 calc(nan) calc(1.558938 / 2.628631) ) none 52.574456 none )', 'hwb(none 52.574456 none)'], - ['lab( 29.12616 -125 none )', 'lab(29.12616 -125 none)'], - ['hsl( 337.611305 63.663329 50 )', 'rgb(209, 46, 107)'], - ['hwb( from color( from color( a98-rgb none 0 0.500666 ) srgb-linear 0.5 none calc(r + g) / b ) calc(cos(-221.148524deg) / w) clamp(calc(sin(w)), calc(calc(0) / calc(0.466667 * 3.567794)), clamp(w, 52.814828, 0)) 11.683085 )', 'color(srgb 0.88316915 0 0 / 0.22776935)'], - ['lch( none calc(0.941546 + calc(-infinity)) 304.614019 )', 'lch(none 0 304.614019)'], - ['rgb( from color( xyz-d65 exp(81.370438) none 0.255958 ) none alpha b / alpha )', 'color(srgb none 0.00392157 2447.70558996)'], - ['oklab( from color( rec2020 calc(0.746514) none 0.00302 ) none -0.4 0.371946 )', 'oklab(none -0.4 0.371946)'], - ['oklab( 0 -0.156574 -0.133333 / 0 )', 'oklab(0 -0.156574 -0.133333 / 0)'], - ['lab( abs(19.711483) -125 -125 )', 'lab(19.711483 -125 -125)'], - ['hwb( from color( display-p3 0.045338 0.11946 0.718134 ) h 100 none )', 'hwb(231.42172832 100 none)'], - ['oklch( 0.883488 0 262.389137 )', 'oklch(0.883488 0 262.389137)'], - ['oklch( calc(0.552023 + 0.333333) 0.164161 sin(calc(290.288678)) )', 'oklch(0.885356 0.164161 0.95274682)'], - ['lab( 0 -124.155104 -7.540821 )', 'lab(0 -124.155104 -7.540821)'], - ['lch( from color( from color( xyz-d50 0.170806 abs(calc(pi)) 0.231093 ) display-p3-linear 0.5 none none / exp(-100) ) 0 122.270246 180 / none )', 'lch(0 122.270246 180 / none)'], - ['lab( calc(pi) calc(-375 / 0.970851) -125 / 0.203815 )', 'lab(3.14159265 -386.2590655 -125 / 0.203815)'], - ['hsl( 122.40706 none 50.229273 )', 'hsl(122.40706 none 50.229273)'], - ['hsl( calc(e) none 100 )', 'hsl(2.71828183 none 100)'], - ['lab( 34.482656 hypot(107.84512, -104.390313) -104.090615 / 28.257969% )', 'lab(34.482656 150.09299569 -104.090615 / 0.28257969)'], - ['lab( from color( from color( xyz calc(0.008453 + 0) clamp(0.375418, calc(0.084314 * -2), 0.821008) 0.963067 ) xyz-d50 x alpha 0 ) none -125 -125 / clamp(0.390357, 0.919371, alpha) )', 'lab(none -125 -125 / 0.919371)'], - ['oklab( 0 -0.187903 -0.4 )', 'oklab(0 -0.187903 -0.4)'], - ['oklab( from color( from color( xyz none 0.753643 calc(1.5 - 1.460308) ) display-p3 clamp(alpha, 0.196817, 0) 0.573991 0 ) max(1, 0) -0.340805 none )', 'oklab(1 -0.340805 none)'], - ['lch( 0 0 284.025904 )', 'lch(0 0 284.025904)'], - ['hsl( from color( xyz-d65 exp(100) 0.290035 cos(15.150084deg) ) 327.374116 27.043062 none / 1 )', 'hsl(327.374116 27.043062 none)'], - ['lab( none none calc(pi) )', 'lab(none none 3.14159265)'], - ['lch( from color( from color( from color( xyz-d65 0 1 0.847607 ) srgb-linear alpha 0.146938 r ) xyz-d65 y 0.5 0.202407 ) none 150 hypot(c, 360) )', 'lch(none 150 18.07869884)'], - ['lab( hypot(2.429422, 22.139047) 32.179698 112.487372 )', 'lab(22.27194408 32.179698 112.487372)'], - ['hwb( none 87.127855 19.125149 )', 'hwb(none 87.127855 19.125149)'], - ['lab( from color( from color( prophoto-rgb 0.756917 0.524597 0.625008 / 0.160881 ) xyz calc(abs(2.057711) / 0.503748) calc(clamp(y, y, alpha) / clamp(-1, x, abs(0.616397))) none ) alpha -125 sin(-125) )', 'lab(0.160881 -125 0.61604046 / 0.160881)'], - ['oklab( 0.870183 min(0.4, -0.000488) 0.23116 / 1 )', 'oklab(0.870183 -0.000488 0.23116)'], - ['lch( 100 28.007084 abs(234.237467) )', 'lch(100 28.007084 234.237467)'], - ['oklch( from color( from color( xyz-d50 calc(pi) none 0.835818 / calc(0 - 1.5) ) xyz-d65 none none 0.331215 ) 0.436334 0 298.759722 )', 'oklch(0.436334 0 298.759722 / 0)'], - ['hsl( from color( from color( from color( xyz-d50 0.120944 0.826413 abs(clamp(1, 0.284887, 0.653835)) / 0 ) xyz-d50 0.831701 0.977821 z ) xyz-d65 none 0.666667 none ) none l calc(28.349955 / 0.666667) )', 'hsl(none 4.60835309 42.52491124 / 0)'], - ['lch( exp(-41.1841) 48.656986 0 )', 'lch(0 48.656986 0)'], - ['rgb( from color( rec2020 cos(209.267697deg) 0.412184 calc(infinity) ) 78.542669 g 253.296295 )', 'color(srgb -25.23642346 -308464963.8336169 -33.705)'], - ['lab( calc(35.580998 - 17.860567) 72.638109 calc(pi) )', 'lab(17.720431 72.638109 3.14159265)'], - ['oklch( 0.158454 0.347588 calc(e) )', 'oklch(0.158454 0.347588 2.71828183)'], - ['oklch( none 0.4 none )', 'oklch(none 0.4 none)'], - ['hwb( from color( a98-rgb 0.071632 1 0.230846 ) none 0 none )', 'hwb(none 0 none)'], - ['lab( none -13.884232 hypot(102.201658, 87.741266) )', 'lab(none -13.884232 134.69858447)'], - ['lab( abs(97.05461) sin(-104.663529) exp(-33.333333) )', 'lab(97.05461 0.8365586 0)'], - ['hsl( min(max(exp(-100), calc(pi)), 72.069498) calc(nan) 66.666667 )', 'rgb(170, 170, 170)'], - ['lch( 61.785602 calc(-infinity) 220.162606 )', 'lch(61.785602 0 220.162606)'], - ['lch( 86.898743 137.268684 none )', 'lch(86.898743 137.268684 none)'], - ['hsl( from color( srgb 0.872118 none none ) calc(536.534633 - 255.073975) abs(51.225991) 33.333333 )', 'color(srgb 0.39856484 0.16258003 0.50408663)'], - ['hsl( calc(125.572777) 66.94038 34.618405 )', 'rgb(29, 147, 40)'], - ['color( prophoto-rgb 0.284602 none 0.616695 )', 'color(prophoto-rgb 0.284602 none 0.616695)'], - ['oklab( 0.151211 -0.251371 -0.221082 )', 'oklab(0.151211 -0.251371 -0.221082)'], - ['lab( none none 34.864684 )', 'lab(none none 34.864684)'], - ['oklab( 0.54428 none -0.190392 )', 'oklab(0.54428 none -0.190392)'], - ['oklab( none 0.250629 -0.06197 )', 'oklab(none 0.250629 -0.06197)'], - ['rgb( 214.982182 sin(54.433751) calc(sin(calc(infinity)) * -1.184089) )', 'rgb(215, -1, 0)'], - ['lab( from color( from color( prophoto-rgb 0 0 none / 0.765076 ) display-p3 r 0.987735 0 ) 0 73.16322 none )', 'lab(0 73.16322 none / 0.765076)'], - ['rgb( hypot(236.14662, 36.8488) 232.819073 127.5 )', 'rgb(239, 233, 128)'], - ['oklch( from color( display-p3-linear 0.858584 0.396166 none ) calc(2.69806 / 4) none 274.826857 )', 'oklch(0.674515 none 274.826857)'], - ['oklab( 0.716313 none -0.115281 / 0.953352 )', 'oklab(0.716313 none -0.115281 / 0.953352)'], - ['hsl( from color( from color( from color( xyz-d65 calc(nan) 0.531241 0.607533 ) a98-rgb g alpha 0.635995 ) display-p3 0.043126 hypot(0.5, alpha) none ) l l none )', 'hsl(28.35086251 28.35086251 none)'], - ['oklch( 0 exp(79.567196) hypot(180, calc(nan)) )', 'oklch(0 2147483647 0)'], - ['rgb( 29.749688 132.576663 100.152988 )', 'rgb(30, 133, 100)'], - ['color( xyz-d50 none calc(nan) 0.5 )', 'color(xyz-d50 none 0 0.5)'], - ['oklch( from color( from color( from color( xyz-d50 none 0.255441 none ) display-p3 1 g 0.654186 ) display-p3 calc(0.119498 + alpha) r none ) alpha 0.172158 none / 0 )', 'oklch(1 0.172158 none / 0)'], - ['color( display-p3-linear calc(0.021187 * 2.21512) 0.434722 1 )', 'color(display-p3-linear 0.04693175 0.434722 1)'], - ['lch( calc(64.84933) 118.755869 0 / 1 )', 'lch(64.84933 118.755869 0)'], - ['rgb( clamp(144.085878, max(79.988034, 235.427676), 88.964759) 127.5 calc(30.28145 + 170) )', 'rgb(144, 128, 200)'], - ['oklab( from color( from color( xyz 0.564243 0 0.300779 ) xyz-d50 none none none ) 1 none -0.4 )', 'oklab(1 none -0.4)'], - ['rgb( 42.424545 0 120.882509 / 0.705091 )', 'rgba(42, 0, 121, 0.705091)'], - ['hsl( 81.395866 none 99.653156 )', 'hsl(81.395866 none 99.653156)'], - ['lab( max(calc(nan), 0) -92.250324 -125 )', 'lab(0 -92.250324 -125)'], - ['color( rec2020 0.668806 0.5 0 )', 'color(rec2020 0.668806 0.5 0)'], - ['hsl( 142.57201 max(89.899024, 8.270922) 100 )', 'rgb(255, 255, 255)'], - ['lab( 0 14.901316 0 )', 'lab(0 14.901316 0)'], - ['color( a98-rgb 0.509209 0 0.03629 )', 'color(a98-rgb 0.509209 0 0.03629)'], - ['oklch( from color( from color( srgb-linear 0.691767 0.242023 0.929648 ) xyz-d65 none min(hypot(0, 0.967867), 0.974425) 0.666667 ) 0 none 292.691989 )', 'oklch(0 none 292.691989)'], - ['hwb( from color( xyz-d50 0.662715 0.413563 0.908929 / 0.96766 ) b 0 abs(0) )', 'color(srgb 1 0 0.15865033 / 0.96766)'], - ['oklab( cos(-85.807395deg) -0.04391 0.34515 )', 'oklab(0.07310948 -0.04391 0.34515)'], - ['color-mix( in display-p3 , color( from color( a98-rgb 0.375901 none 0.20879 ) xyz 0.32677 0 none ) 39.877423%, color( display-p3-linear 0.505949 clamp(1, 0.48994, cos(234.798981deg)) 0.028767 ) )', 'color(display-p3 0.80882414 0.37895505 0.1855056)'], - ['hwb( from color( xyz-d65 0.518886 hypot(min(0.697741, 0.753623), calc(e)) 0.90585 ) 358.322623 sin(50) 33.333333 / calc(infinity) )', 'color(srgb 0.66666667 -0.00262375 0.01608712)'], - ['hwb( none 0 100 )', 'hwb(none 0 100)'], - ['rgb( 78.369802 159.479616 85.594986 )', 'rgb(78, 159, 86)'], - ['lab( from color( xyz-d65 none calc(1.829926 / -0.133738) abs(calc(0 / -1)) ) a a none / 1 )', 'lab(100 51497.33742266 none)'], - ['color( srgb 1 0.684438 0.628039 )', 'color(srgb 1 0.684438 0.628039)'], - ['oklab( calc(-infinity) 0.056496 0.182869 )', 'oklab(0 0.056496 0.182869)'], - ['oklab( clamp(0.621664, 0.083278, exp(45.032489)) -0.187324 none )', 'oklab(0.621664 -0.187324 none)'], - ['oklch( from color( xyz none none 0.208772 ) l 0.195018 360 / none )', 'oklch(0.09052527 0.195018 0 / none)'], - ['lch( from color( srgb none 0.51903 none ) clamp(cos(l), calc(nan), 0) c h / c )', 'lch(0 69.64601096 134.38385636)'], - ['lch( 93.267541 103.884903 0 / 0.900566 )', 'lch(93.267541 103.884903 0 / 0.900566)'], - ['hsl( none calc(4.435162 * 1.09285) 0 )', 'hsl(none 4.84696679 0)'], - ['lch( from color( display-p3-linear none none 1 ) h 1.474772 none )', 'lch(100 1.474772 none)'], - ['color( from color( xyz 0.949346 0 none ) xyz-d50 0.5 calc(alpha + 0.222222) 0 / calc(calc(infinity) + 0.444444) )', 'color(xyz-d50 0.5 1.222222 0)'], - ['lch( from color( srgb 0.155274 0.961558 0.5 ) alpha min(sin(c), cos(161.872484deg)) 42.328721 )', 'lch(1 0 42.328721)'], - ['hwb( 263.514487 calc(-infinity) none )', 'hwb(263.514487 -Infinity% none)'], - ['rgb( from color( xyz-d65 none sin(0.237158) 0.345455 ) none none b )', 'color(srgb none none 0.59885632)'], - ['hsl( from color( display-p3 0.333333 0.83887 none / 0.333333 ) 84.921946 min(alpha, 61.740136) none )', 'hsl(84.921946 0.333333 none / 0.333333)'], - ['lch( 57.034396 calc(25.700576 * -2) calc(e) / 1 )', 'lch(57.034396 0 2.71828183)'], - ['hwb( 245.585164 none 83.528869 )', 'hwb(245.585164 none 83.528869)'], - ['color-mix( in lab , color( xyz-d65 0 0.87184 calc(nan) ) 48.21062%, color( xyz-d65 0 calc(0.861839) none ) 38.755413% )', 'lab(94.2728611 -338.15962919 139.91165962 / 0.86966033)'], - ['color( xyz-d65 1 0.229949 0.956393 )', 'color(xyz-d65 1 0.229949 0.956393)'], - ['oklch( from color( xyz-d65 0.180654 0.227326 calc(e) ) 0.82595 0 none / l )', 'oklch(0.82595 0 none / 0.43147368)'], - ['rgb( from color( prophoto-rgb 1 0.512617 none / calc(62.496622% - 80.550599%) ) none calc(b / 1.095034) 85 )', 'color(srgb none 0 0.33333333 / 0)'], - ['oklab( 0.548614 -0.22571 -0.059963 )', 'oklab(0.548614 -0.22571 -0.059963)'], - ['lab( 69.587188 none -47.087735 / max(calc(calc(3.261701 / 1.674614) - 0.873534), 0.638579) )', 'lab(69.587188 none -47.087735)'], - ['lab( none -33.66459 calc(-337.113199 / min(-0.287392, 0.666667)) )', 'lab(none -33.66459 1173.00829181)'], - ['lab( from color( display-p3-linear 0.219723 0 none / calc(1.210857 / calc(calc(-1 - 0.794213) + -0.363775)) ) 66.666667 125 calc(pi) )', 'lab(66.666667 125 3.14159265 / 0)'], - ['lab( calc(134.607008 - min(93.350883, 61.002701)) 0 -41.666667 )', 'lab(73.604307 0 -41.666667)'], - ['rgb( from color( xyz-d50 0.319768 calc(calc(nan) + sin(abs(0.290425))) 0.032631 ) g alpha none / max(calc(alpha - calc(alpha)), 0.746174) )', 'color(srgb -0.59426699 0.00392157 none / 0.746174)'], - ['hsl( from color( xyz-d65 0.667515 0.617386 0.494691 ) 0 h 33.333333 / none )', 'hsl(0 13.35461816 33.333333 / none)'], - ['lch( 10.818709 75 26.53928 )', 'lch(10.818709 75 26.53928)'], - ['color-mix( in oklab , color( xyz-d65 0.817525 abs(0.382089) none ) 50.021178%, color( from color( from color( display-p3 0.813732 0.977778 none / calc(0.2 * 6.610549) ) xyz x x 0 ) display-p3-linear 0 0.050746 0.00662 ) 15.198717% )', 'oklab(0.66410993 0.21680189 0.14515575 / 0.65219895)'], - ['color( xyz-d50 0.5 0.333333 0.53341 )', 'color(xyz-d50 0.5 0.333333 0.53341)'], - ['oklab( 0.30918 -0.4 max(-0.058082, -0.207383) )', 'oklab(0.30918 -0.4 -0.058082)'], - ['lch( from color( xyz 0.661182 none calc(2.222493 / 3.777928) ) calc(clamp(calc(20.318066 * 2.636983), cos(c), h) - 144.64467) none l )', 'lch(0 none 8.60662574)'], - ['oklab( none -0.107751 -0.149749 )', 'oklab(none -0.107751 -0.149749)'], - ['hwb( calc(-infinity) 9.395104 40.101624 )', 'rgb(153, 24, 24)'], - ['oklch( 0.875536 0.280787 360 )', 'oklch(0.875536 0.280787 0)'], - ['color( from color( xyz 1 exp(-33.333333) 0.719524 ) xyz none 0 z )', 'color(xyz-d65 none 0 0.719524)'], - ['rgb( sin(242.742378) 219.630441 calc(infinity) / 0.053424 )', 'rgba(-1, 220, 547608329985, 0.053424)'], - ['rgb( from color( from color( xyz-d65 0.554578 1 1 ) xyz-d65 0 0.5 none ) calc(b / g) 0 69.544942 )', 'color(srgb 0 0 0.27272526)'], - ['lab( 9.298496 99.069112 none )', 'lab(9.298496 99.069112 none)'], - ['lab( calc(clamp(179.621034, 0, 208.2135) / -0.722628) none 82.784028 )', 'lab(0 none 82.784028)'], - ['lch( from color( from color( srgb-linear 0.193786 0.924405 0.826855 ) srgb-linear 0.979998 none cos(315.993537deg) ) 42.739892 150 calc(pi) )', 'lch(42.739892 150 3.14159265)'], - ['hwb( from color( xyz-d65 0.581125 calc(0.166111 * hypot(min(-2, -2), -1.880663)) 0.5 / 0.912319 ) 0 calc(calc(h - 28.132779) * -2) none )', 'hwb(0 -625.789241 none / 0.912319)'], - ['color( xyz-d65 0.748966 max(exp(clamp(86.334592, -45.812635, 92.83287)), 0) calc(nan) )', 'color(xyz-d65 0.748966 2147483647 0)'], - ['hwb( calc(39.25758 * calc(-2.624139 - 9.617349)) calc(39.686207 + max(64.68862, 22.222222)) 100 )', 'rgb(130, 130, 130)'], - ['lab( 2.879325 none 105.410757 / 0.365311 )', 'lab(2.879325 none 105.410757 / 0.365311)'], - ['lch( from color( srgb calc(0 * 0.196154) 0.652601 calc(-infinity) / calc(pi) ) none l 26.584452 )', 'lch(none 0 26.584452)'], - ['oklab( 0.282221 0.259755 0.128769 )', 'oklab(0.282221 0.259755 0.128769)'], - ['lch( from color( from color( xyz 1 0.246832 exp(sin(-100)) / 98.127357% ) xyz-d50 none x 0.353914 ) calc(nan) none alpha / c )', 'lch(0 none 0.98127357)'], - ['rgb( 179.459042 97.43737 0 )', 'rgb(179, 97, 0)'], - ['hsl( from color( xyz-d65 calc(e) abs(0.209177) 1 / 0.786417 ) cos(-295.142398deg) clamp(17.292885, exp(33.333333), calc(alpha - 75)) 99.78754 )', 'color(srgb 0.9982428 0.9975132 0.997508 / 0.786417)'], - ['color( srgb 0.197968 calc(min(min(0.596927, 0.5), 0.225474) - 0.491332) none )', 'color(srgb 0.197968 -0.265858 none)'], - ['oklch( from color( xyz-d65 none 0.567502 none / min(0, 0.427009) ) calc(0.626086 - 0.414448) exp(l) 180 )', 'oklch(0.211638 2.14511031 180 / 0)'], - ['lab( from color( from color( display-p3 0.232458 calc(0.20544) none ) prophoto-rgb none max(1, clamp(0.021414, sin(1), calc(infinity))) hypot(0.896598, 0.426907) ) 0 125 none / l )', 'lab(0 125 none)'], - ['lch( max(26.886557, 0) calc(88.16486 + 36.057901) 255.00628 / clamp(calc(-infinity), 0.753271, 0.038912) )', 'lch(26.886557 124.222761 255.00628 / 0.038912)'], - ['lab( 33.333333 -125 -68.102849 )', 'lab(33.333333 -125 -68.102849)'], - ['hsl( 158.261013 abs(26.639698) 36.383707 / hypot(0.81365, 0.460191) )', 'rgba(68, 117, 100, 0.93477381)'], - ['color( xyz-d65 0.229186 0.797389 calc(-infinity) )', 'color(xyz-d65 0.229186 0.797389 -2147483647)'], - ['color( xyz-d65 0.142458 0.666667 none )', 'color(xyz-d65 0.142458 0.666667 none)'], - ['color( rec2020 none max(0.683574, 0.380488) 0.888824 / cos(-245.208182deg) )', 'color(rec2020 none 0.683574 0.888824 / 0)'], - ['lab( 66.707634 none calc(-34.028959 / 1.5) )', 'lab(66.707634 none -22.68597267)'], - ['lch( 33.333333 none 185.219844 )', 'lch(33.333333 none 185.219844)'], - ['oklab( clamp(0.606158, 0.219603, 0.457114) -0.308544 -0.4 )', 'oklab(0.606158 -0.308544 -0.4)'], - ['hwb( 186.998545 79.922731 none / 0.692169 )', 'hwb(186.998545 79.922731 none / 0.692169)'], - ['rgb( exp(89.3571) 0 none / calc(infinity) )', 'color(srgb 2147483647 0 none)'], - ['rgb( max(121.401317, 134.659274) 242.964304 clamp(0, clamp(abs(120.635405), 158.874156, 217.003506), 255) / 0.799507 )', 'rgba(135, 243, 159, 0.799507)'], - ['rgb( from color( xyz-d50 none none 0.971497 ) abs(r) r none )', 'color(srgb 0 none none)'], - ['oklab( 0.5 none 0.241688 )', 'oklab(0.5 none 0.241688)'], - ['hwb( 97.848867 max(39.477348, calc(pi)) none )', 'hwb(97.848867 39.477348 none)'], - ['rgb( 0 20.386903 exp(calc(-infinity)) / 0.503522 )', 'rgba(0, 20, 0, 0.503522)'], - ['hwb( none none 0 )', 'hwb(none none 0)'], - ['oklch( 0.742735 0.087815 120 )', 'oklch(0.742735 0.087815 120)'], - ['oklab( 0.777234 exp(27.393479) -0.133333 / 0.666667 )', 'oklab(0.777234 2147483647 -0.133333 / 0.666667)'], - ['color-mix( in hwb increasing hue, color( a98-rgb 0.90418 0.062566 0 ) 8.809732%, color( rec2020 none 0.708544 0 ) )', 'color(srgb -0.4961716 0.76046063 -0.43436074)'], - ['oklab( calc(calc(e) / -1) none 0.361762 / 0.162432 )', 'oklab(0 none 0.361762 / 0.162432)'], - ['rgb( from color( xyz-d65 0.080225 0 none ) none calc(11.238148 + sin(r)) clamp(g, calc(sin(g) - 259.352052), cos(r)) )', 'color(srgb none 0.04775316 -0.30896692)'], - ['lch( 5.908553 130.151521 min(360, 240) )', 'lch(5.908553 130.151521 240)'], - ['lab( calc(infinity) calc(-155.155474 - calc(nan)) none / 0.326945 )', 'lab(100 0 none / 0.326945)'], - ['color( xyz-d65 none calc(e) calc(e) )', 'color(xyz-d65 none 2.71828183 2.71828183)'], - ['lch( 0 none 332.629204 )', 'lch(0 none 332.629204)'], - ['lch( 100 97.533154 none )', 'lch(100 97.533154 none)'], - ['lab( from color( from color( xyz-d65 0.773522 0.395355 calc(min(0, 0.791452) - min(1.350665, 1.072587)) ) xyz-d65 min(0.130383, 0.833453) x y ) alpha -109.70833 -9.490327 )', 'lab(1 -109.70833 -9.490327)'], - ['color( a98-rgb 0.796781 0 none )', 'color(a98-rgb 0.796781 0 none)'], - ['hsl( cos(287.077225deg) calc(5.760658) exp(max(-100, 0)) )', 'rgb(3, 2, 2)'], - ['hsl( 61.499033 43.623402 40.794789 / 1 )', 'rgb(147, 149, 59)'], - ['color-mix( in srgb , color( from color( from color( xyz none 0 1 ) rec2020 none 0.020208 none ) xyz-d65 none 0.410205 none ) , color( srgb calc(2.688507 / 2.846989) 0 0.454725 ) )', 'color(srgb 0.94433347 0.44545164 0.454725)'], - ['lab( 82.699616 -14.131976 100.421702 )', 'lab(82.699616 -14.131976 100.421702)'], - ['hsl( none clamp(0, exp(0), 8.090735) 0 )', 'hsl(none 1 0)'], - ['oklch( 0.818719 0.331023 340.234132 )', 'oklch(0.818719 0.331023 340.234132)'], - ['hwb( 284.425692 73.669865 calc(abs(clamp(18.364085, 14.542331, 19.700425)) * -2) / 0.41459 )', 'rgba(307, 188, 349, 0.41459)'], - ['oklch( from color( xyz-d65 0.476808 0 0 ) 0.564504 l calc(hypot(cos(256.803331deg), 0) + 120) )', 'oklch(0.564504 0.35150589 120.22829427)'], - ['color( xyz-d50 none 0.981222 cos(297.268816deg) )', 'color(xyz-d50 none 0.981222 0.45816584)'], - ['color( xyz 1 0.973226 sin(0.106442) )', 'color(xyz-d65 1 0.973226 0.10624112)'], - ['oklab( min(1, 0.176637) -0.4 calc(infinity) )', 'oklab(0.176637 -0.4 2147483647)'], - ['lab( calc(11.052901 * 2.5) none calc(-25 * calc(infinity)) )', 'lab(27.6322525 none -2147483647)'], - ['oklch( 0 none calc(calc(nan) * calc(calc(57.539981 / -1) / -1)) )', 'oklch(0 none 0)'], - ['color( xyz 0 none calc(0.188543) )', 'color(xyz-d65 0 none 0.188543)'], - ['oklab( 0.688565 none -0.267431 / 0.277653 )', 'oklab(0.688565 none -0.267431 / 0.277653)'], - ['hsl( none 95.976806 71.868828 )', 'hsl(none 95.976806 71.868828)'], - ['hwb( from color( xyz-d50 none none calc(0.06936) ) none h alpha )', 'hwb(none 214.4912099 1)'], - ['lch( calc(exp(96.678581) / 0.298189) 87.195481 none / 0.347667 )', 'lch(100 87.195481 none / 0.347667)'], - ['oklch( 1 0.4 calc(pi) )', 'oklch(1 0.4 3.14159265)'], - ['oklab( 0.889695 0.247855 0.232178 )', 'oklab(0.889695 0.247855 0.232178)'], - ['hwb( calc(cos(139.271708deg) - 389.210896) 4.921766 100 )', 'rgb(12, 12, 12)'], - ['hwb( none 15.195612 50 )', 'hwb(none 15.195612 50)'], - ['oklab( exp(calc(-infinity)) 0.161464 0.101954 )', 'oklab(0 0.161464 0.101954)'], - ['oklch( abs(0.115191) 0 none )', 'oklch(0.115191 0 none)'], - ['oklab( 0.492448 0 0.069194 )', 'oklab(0.492448 0 0.069194)'], - ['lch( 84.178455 99.640802 abs(28.650109) )', 'lch(84.178455 99.640802 28.650109)'], - ['rgb( from color( display-p3 0.876102 calc(3 / -1) calc(-infinity) ) b 223.681112 sin(calc(pi)) )', 'color(srgb -2147483647 275.65719315 107.12631903)'], - ['oklab( from color( xyz-d65 0.333333 none none / 0.119197 ) max(0, a) none none / 1 )', 'oklab(0.85682672 none none)'], - ['color-mix( in xyz-d65 , color( a98-rgb sin(0) none 0.684214 / 0.673742 ) 7.394039%, color( from color( xyz-d65 none 0.69295 0.155608 ) srgb alpha none calc(calc(0.044106 + 0) + 0.6666666666666666) ) 98.360391% )', 'color(xyz-d65 0.47606713 none 0.4584601 / 0.977189)'], - ['color( xyz-d50 0.487831 0.733086 0.840668 )', 'color(xyz-d50 0.487831 0.733086 0.840668)'], - ['lch( from color( xyz-d65 0 0 0.430604 ) h 96.926929 c )', 'lch(100 96.926929 142.87323694)'], - ['lch( 93.899036 150 307.155307 )', 'lch(93.899036 150 307.155307)'], - ['color( from color( xyz-d50 clamp(0.538773, 0.681664, abs(0.402534)) 0.39388 0.278334 / 0.750674 ) xyz none 0.615999 alpha )', 'color(xyz-d65 none 0.615999 0.750674 / 0.750674)'], - ['hwb( 0 none 38.479076 )', 'hwb(0 none 38.479076)'], - ['lch( 0 none 358.532777 / calc(calc(calc(65.334022% + 44.280159%) - hypot(29.402885%, 60.336181%)) + calc(max(37.720107%, 158.396042%) / cos(81.392276deg))) )', 'lch(0 none 358.532777)'], - ['oklab( none 0.322608 -0.262896 )', 'oklab(none 0.322608 -0.262896)'], - ['hwb( 221.837974 calc(55.716056 + 64.367833) 93.727107 )', 'rgb(143, 143, 143)'], - ['hsl( from color( from color( from color( xyz-d65 0.931844 none calc(0 - 1.5) ) prophoto-rgb none 0.092089 r ) rec2020 r none g ) 360 42.288011 alpha )', 'color(srgb 0.0142288 0.0057712 0.0057712)'], - ['color-mix( in hsl , color( from color( rec2020 none 0 0.560292 ) xyz calc(0.596389 + 0.333333) hypot(0.41406, 0.871889) none / 0 ) , color( from color( a98-rgb none calc(-infinity) 0.055473 ) rec2020 sin(0) none calc(0.076699 * -1.809192) ) )', 'color(srgb -0.09840127 0.00822526 -0.05678966 / 0.5)'], - ['oklab( 0 0 -0.276148 )', 'oklab(0 0 -0.276148)'], - ['oklab( from color( xyz 0.150589 0.159915 max(0, 0) ) b none 0.133333 )', 'oklab(0.13690153 none 0.133333)'], - ['color-mix( in lch , color( prophoto-rgb 0.50444 0.170769 0.889741 ) 68.41304%, color( prophoto-rgb 0.373045 none 1 / 0.491301 ) 96.0805% )', 'lch(34.57267279 136.85349223 309.32883659 / 0.70286946)'], - ['lch( sin(100) 65.460872 180 )', 'lch(0 65.460872 180)'], - ['color-mix( in xyz-d50 , color( xyz-d65 calc(1.207583 - 1.095005) 0.226745 none ) 40.515563%, color( display-p3 0.820741 none abs(0) ) 47.124324% )', 'color(xyz-d50 0.23410586 0.22791149 -0.00067165 / 0.87639887)'], - ['hsl( min(180, 340.499217) none 27.298224 )', 'hsl(180 none 27.298224)'], - ['lch( 49.020005 53.676667 clamp(16.460902, 0, calc(pi)) )', 'lch(49.020005 53.676667 16.460902)'], - ['lab( 50 calc(-1.721457 * 6.117674) none / 0.430906 )', 'lab(50 -10.53131273 none / 0.430906)'], - ['hsl( 0 52.318353 99.591746 / 0 )', 'rgba(255, 253, 253, 0)'], - ['color( srgb-linear 0.106854 0.209738 none )', 'color(srgb-linear 0.106854 0.209738 none)'], - ['hwb( none 68.650133 49.627223 )', 'hwb(none 68.650133 49.627223)'], - ['rgb( from color( xyz-d50 0.428851 0 0.666667 ) 69.873803 255 b )', 'color(srgb 0.27401491 1 0.98570239)'], - ['oklab( 1 calc(infinity) 0.34509 )', 'oklab(1 2147483647 0.34509)'], - ['oklch( calc(0 * calc(0.211728 * -2)) 0.38917 0 )', 'oklch(0 0.38917 0)'], - ['oklab( from color( from color( xyz-d50 0.332613 none 0 / 0.95549 ) display-p3-linear calc(g) alpha r ) a -0.4 l )', 'oklab(0 -0.4 0.87261312 / 0.95549)'], - ['rgb( from color( a98-rgb 0.211803 calc(e) 0 ) 73.656296 none alpha )', 'color(srgb 0.28884822 none 0.00392157)'], - ['lch( 0 0 281.286913 )', 'lch(0 0 281.286913)'], - ['oklch( 0.362881 calc(0 + 0.26666666666666666) 204.644237 )', 'oklch(0.362881 0.26666667 204.644237)'], - ['lch( 77.015672 75 111.049901 )', 'lch(77.015672 75 111.049901)'], - ['oklch( from color( from color( from color( xyz 0 0.473693 0.84973 ) prophoto-rgb 0.28492 none 0.575526 ) xyz 0.868797 none none ) 0 cos(278.719168deg) alpha )', 'oklch(0 0.15159151 1)'], - ['hwb( 323.530937 100 none )', 'hwb(323.530937 100 none)'], - ['lab( 12.814677 106.569061 13.3786 )', 'lab(12.814677 106.569061 13.3786)'], - ['oklab( max(0.993275, 0) calc(-0.004718 + 0.247928) 0.09859 / abs(0.860305) )', 'oklab(0.993275 0.24321 0.09859 / 0.860305)'], - ['hsl( 0 none 100 )', 'hsl(0 none 100)'], - ['oklch( from color( srgb-linear 0.238217 0.101447 none ) none 0.378338 0 )', 'oklch(none 0.378338 0)'], - ['color( from color( xyz 0.333333 cos(93.70311deg) 0.780172 / 31.281269% ) display-p3 alpha calc(calc(calc(b - 1.47232) + 1) - 0) 0.5 )', 'color(display-p3 0.31281269 0.4154372 0.5 / 0.31281269)'], - ['oklab( calc(3 / -0.177611) -0.4 none )', 'oklab(0 -0.4 none)'], - ['color-mix( in hsl , color( xyz 1 calc(infinity) 0.5 ) , color( display-p3 1 0.220579 0 ) 76.86457% )', 'color(srgb -545.41956313 741.35357729 648.61530543)'], - ['oklab( 0.328341 0 -0.027729 )', 'oklab(0.328341 0 -0.027729)'], - ['hsl( from color( from color( xyz-d50 0.708836 none 0.323111 ) srgb-linear 0 none abs(calc(alpha - g)) ) 360 21.708418 4.782415 )', 'color(srgb 0.05820602 0.03744228 0.03744228)'], - ['hsl( 360 91.7115 100 )', 'rgb(255, 255, 255)'], - ['oklch( from color( rec2020 max(0.451318, 0.608788) 0.195804 0.763644 ) 1 h none )', 'oklch(1 323.14746498 none)'], - ['oklch( 0.887148 none none )', 'oklch(0.887148 none none)'], - ['rgb( from color( xyz-d50 0.863759 0.113128 0.002197 ) 45.619832 none b )', 'color(srgb 0.1789013 none 0.21899882)'], - ['hsl( 46.070009 75.068166 18.801028 )', 'rgb(84, 67, 12)'], - ['rgb( none none 0.439718 )', 'color(srgb none none 0.00172438)'], - ['lch( 62.839014 none none )', 'lch(62.839014 none none)'], - ['color-mix( in oklab , color( prophoto-rgb 0 0.591102 0.668436 ) , color( srgb 0.666247 max(calc(-infinity), max(0, 0.384603)) none ) )', 'oklab(0.59258265 -0.13917653 0.02062983)'], - ['color-mix( in a98-rgb , color( xyz-d50 1 none 0.396115 ) 76.82919%, color( srgb-linear none 0.434129 0.175695 ) 2.978376% )', 'color(a98-rgb 1.31535006 0.68426253 0.75877372 / 0.79807566)'], - ['color( display-p3-linear 0.646253 0.07303 none / 0.578381 )', 'color(display-p3-linear 0.646253 0.07303 none / 0.578381)'], - ['hsl( 57.604623 none 100 )', 'hsl(57.604623 none 100)'], - ['lab( 0 -58.702606 none )', 'lab(0 -58.702606 none)'], - ['hwb( 134.812092 none none / 0.333333 )', 'hwb(134.812092 none none / 0.333333)'], - ['oklab( from color( from color( display-p3 none calc(pi) 0 ) xyz-d50 none 0.844295 calc(infinity) ) 0.881053 0.4 -0.4 )', 'oklab(0.881053 0.4 -0.4)'], - ['hwb( from color( xyz-d50 0 0.776975 0.889068 ) w w 0 )', 'color(srgb 1 1 1)'], - ['color( from color( display-p3 0.167682 none none ) display-p3 g b alpha )', 'color(display-p3 none none 1)'], - ['color-mix( in lch , color( from color( xyz-d65 none none 0 ) srgb 0.390361 0.333333 min(g, alpha) ) , color( xyz-d65 1 none cos(calc(420.565141deg / calc(e))) ) 79.494782% )', 'lch(27.60011286 1111.94894118 78.5738146)'], - ['rgb( none 0 sin(cos(-50.87619deg)) )', 'color(srgb none 0 0.00231353)'], - ['oklch( 0.465006 0.050248 6.034166 )', 'oklch(0.465006 0.050248 6.034166)'], - ['rgb( from color( xyz-d65 none 0.76427 0.459961 ) none 0 255 / none )', 'color(srgb none 0 1 / none)'], - ['hwb( from color( xyz 0.462115 none 0.670816 ) h none w )', 'hwb(306.71706687 none -67.99948502)'], - ['color( xyz-d65 0.439316 calc(0.373342) 0.077638 / 0 )', 'color(xyz-d65 0.439316 0.373342 0.077638 / 0)'], - ['lch( from color( xyz-d50 0.515302 none 0 ) calc(98.753499 - 0) none 120 / 0 )', 'lch(98.753499 none 120 / 0)'], - ['rgb( none calc(infinity) none )', 'color(srgb none 2147483647 none)'], - ['hsl( 360 37.38578 calc(0) )', 'rgb(0, 0, 0)'], - ['hsl( from color( xyz none 0.589252 none ) s none 50 )', 'hsl(127.27640896 none 50)'], - ['hwb( 182.231971 none calc(pi) )', 'hwb(182.231971 none 3.14159265)'], - ['oklch( 0.114237 0.028206 0 )', 'oklch(0.114237 0.028206 0)'], - ['color( from color( from color( from color( xyz-d65 0 0.2537 abs(min(0, 0)) ) prophoto-rgb 0.5 abs(0.336265) 0.261923 ) display-p3 none alpha calc(0.346723 / 2.049402) ) xyz-d65 y none exp(-100) )', 'color(xyz-d65 0.69366534 none 0)'], - ['oklab( from color( xyz 0.814733 0.934042 max(0, 1) ) 0.978207 none -0.4 )', 'oklab(0.978207 none -0.4)'], - ['oklab( 0.94532 0.4 hypot(0.194363, 0) )', 'oklab(0.94532 0.4 0.194363)'], - ['lab( from color( from color( display-p3-linear none 0.703001 0.732133 ) xyz-d65 none 0.721345 calc(z + alpha) / y ) l 2.578511 calc(a - 43.080823) )', 'lab(86.19511229 2.578511 -711.75957035 / 0.54434144)'], - ['color-mix( in hwb increasing hue, color( from color( from color( xyz 0.498064 none 0.333333 ) a98-rgb 0.188805 g 0.5 ) xyz-d50 0.5 0.122262 1 ) , color( from color( xyz-d65 sin(0.719695) 0.050641 0.52542 ) rec2020 0.411107 calc(alpha + 0.106328) 0 / g ) 12.709688% )', 'color(srgb 1.16359359 -0.50815787 0.67646329 / 0.87290312)'], - ['rgb( exp(66.372401) 27.236437 calc(251.398104) )', 'rgb(547608329985, 27, 251)'], - ['rgb( 159.39636 255 219.145562 )', 'rgb(159, 255, 219)'], - ['lab( from color( from color( display-p3-linear calc(-infinity) 0.567985 calc(infinity) ) srgb-linear none 0.5 b / g ) 78.425543 alpha none )', 'lab(78.425543 1 none)'], - ['rgb( none 0 cos(-76.713905deg) )', 'color(srgb none 0 0.00090123)'], - ['oklch( 0.281928 0.133333 211.468214 )', 'oklch(0.281928 0.133333 211.468214)'], - ['color( xyz 0.630249 0.982839 0.333333 )', 'color(xyz-d65 0.630249 0.982839 0.333333)'], - ['rgb( none 255 hypot(calc(326.097531 - 345.89234), 127.5) )', 'color(srgb none 1 0.50599002)'], - ['oklch( none 0.2 none )', 'oklch(none 0.2 none)'], - ['hwb( from color( from color( xyz-d50 0.234241 none 0 ) a98-rgb 0 0.900452 g ) 81.267981 33.333333 35.239871 )', 'color(srgb 0.53620387 0.64760129 0.33333333)'], - ['lab( none 95.662744 -7.738768 )', 'lab(none 95.662744 -7.738768)'], - ['lch( 0 0 240 )', 'lch(0 0 240)'], - ['lch( from color( xyz-d50 cos(222.738958deg) calc(-infinity) 0.133903 ) l 0 none / none )', 'lch(0 0 none / none)'], - ['hsl( min(25.461213, 153.696142) calc(e) 54.767722 / 0.613031 )', 'rgba(143, 139, 137, 0.613031)'], - ['lch( 25.776987 calc(3.465517) none )', 'lch(25.776987 3.465517 none)'], - ['lab( calc(pi) 119.689664 14.810442 )', 'lab(3.14159265 119.689664 14.810442)'], - ['oklab( 0.687236 -0.340022 sin(0.265751) )', 'oklab(0.687236 -0.340022 0.26263398)'], - ['hwb( from color( display-p3 none 0.06172 none ) 301.973666 cos(w) 66.666667 / calc(sin(2) / -0.231496) )', 'color(srgb 0.33333333 0.00096055 0.32240012 / 0)'], - ['lab( 79.121223 calc(-infinity) -111.278946 )', 'lab(79.121223 -2147483647 -111.278946)'], - ['lab( 27.638635 none min(-64.868484, 21.85177) / hypot(clamp(0.381539, 0.259782, 0), 0) )', 'lab(27.638635 none -64.868484 / 0.381539)'], - ['hwb( calc(e) calc(0 - calc(100)) cos(339.620146deg) )', 'rgb(253, -232, -255)'], - ['lab( calc(30.186727 - 63.309587) -77.988233 cos(-220.135907deg) )', 'lab(0 -77.988233 -0.76451758)'], - ['hwb( 244.738265 56.322904 49.889328 )', 'rgb(135, 135, 135)'], - ['oklch( none 0.382637 calc(e) )', 'oklch(none 0.382637 2.71828183)'], - ['hwb( 131.407378 75.844723 0 )', 'rgb(193, 255, 205)'], - ['color( prophoto-rgb 0.032569 0.475237 none )', 'color(prophoto-rgb 0.032569 0.475237 none)'], - ['hwb( from color( srgb-linear none 0.270119 1 / 0.145225 ) 14.496423 exp(calc(calc(-13.333333333333334 + h) * alpha)) exp(max(h, -6.440944)) )', 'color(srgb 0 0 0 / 0.145225)'], - ['lch( 70.793201 none calc(pi) )', 'lch(70.793201 none 3.14159265)'], - ['rgb( 0 0.073256 0 )', 'rgb(0, 0, 0)'], - ['color-mix( in display-p3 , color( display-p3 0.55527 0.666667 0.272185 / 0.491889 ) , color( xyz-d65 abs(calc(1.369248 - 1.489988)) 0.667412 0 ) 79.985593% )', 'color(display-p3 -0.47491625 0.99268306 -0.182807 / 0.8983046)'], - ['hsl( 280.779324 100 43.199214 )', 'rgb(150, 0, 220)'], - ['oklch( max(calc(0.6666666666666666 + cos(57.31998deg)), min(calc(nan), 0.735494)) calc(0.008515 * 1.797809) 275.567479 )', 'oklch(0 0.01530834 275.567479)'], - ['rgb( from color( prophoto-rgb none 0.666755 0 / 32.875521% ) 185.734182 none calc(25.5 * -1.472314) )', 'color(srgb 0.72836934 none -0.1472314 / 0.32875521)'], - ['rgb( from color( srgb calc(pi) 0 0.947287 ) b b alpha )', 'color(srgb 0.947287 0.947287 0.00392157)'], - ['lch( 98.826791 53.276938 none )', 'lch(98.826791 53.276938 none)'], - ['rgb( calc(pi) none 237.971593 / 0.193723 )', 'color(srgb 0.01231997 none 0.93322193 / 0.193723)'], - ['lch( 68.367755 none 216.87477 )', 'lch(68.367755 none 216.87477)'], - ['lch( from color( from color( xyz-d65 none 0.541587 none ) prophoto-rgb 0.948095 0 b / b ) 100 none 25.431348 )', 'lch(100 none 25.431348 / none)'], - ['oklab( from color( from color( rec2020 0.585541 none 0.048538 ) rec2020 0 max(0, 0.221575) 1 ) l hypot(calc(l * -2), 0.4) -0.135967 / 1 )', 'oklab(0.45086875 0.98647378 -0.135967)'], - ['oklab( from color( xyz 0.035436 0.201555 0.621213 ) 0.679384 exp(100) 0.368575 )', 'oklab(0.679384 2147483647 0.368575)'], - ['hsl( none 0 25.178668 )', 'hsl(none 0 25.178668)'], - ['hwb( from color( srgb 0.369914 0 none ) 122.673352 none none )', 'hwb(122.673352 none none)'], - ['hwb( 275.62838 50 33.333333 )', 'rgb(153, 128, 170)'], - ['hwb( none 4.600392 6.279241 )', 'hwb(none 4.600392 6.279241)'], - ['hwb( none 4.203192 17.985731 / 0.667127 )', 'hwb(none 4.203192 17.985731 / 0.667127)'], - ['rgb( from color( prophoto-rgb max(0, 0.333333) 0.333333 0.727677 ) g abs(133.868456) g / max(0, 0) )', 'color(srgb 0.40608388 0.52497434 0.40608388 / 0)'], - ['hsl( none 28.008653 none )', 'hsl(none 28.008653 none)'], - ['lab( 87.20998 calc(nan) -29.787311 )', 'lab(87.20998 0 -29.787311)'], - ['color( from color( from color( xyz-d65 none 0 exp(-65.444244) ) xyz 0.162349 0 z ) rec2020 0 0.5 clamp(0.305064, r, abs(cos(alpha))) )', 'color(rec2020 0 0.5 0.54030231)'], - ['hwb( none calc(-infinity) 0 / abs(0.176542) )', 'hwb(none -Infinity% 0 / 0.176542)'], - ['color( xyz-d65 none 0 none / calc(1) )', 'color(xyz-d65 none 0 none)'], - ['color-mix( in hsl longer hue, color( a98-rgb 0.168848 calc(-infinity) max(0.345641, calc(e)) ) , color( display-p3-linear calc(nan) 0.525492 none ) )', 'color(srgb -152928473.18858102 93141703.68594182 -106248516.33527376)'], - ['lab( 7.272301 -125 10.715107 )', 'lab(7.272301 -125 10.715107)'], - ['lab( 0 none 0 / max(1, calc(1.442574 / 0.420426)) )', 'lab(0 none 0)'], - ['color( a98-rgb none none 1 )', 'color(a98-rgb none none 1)'], - ['hsl( calc(-infinity) calc(calc(200 / 0.404724) + 0) 69.694729 / clamp(1, 1, 0) )', 'rgb(560, -204, -204)'], - ['lch( hypot(max(92.514235, clamp(89.350628, 0, 90.468082)), 100) 88.073362 none / min(0.638667, clamp(0.486593, cos(-68.693736deg), 0)) )', 'lch(100 88.073362 none / 0.486593)'], - ['color( xyz-d65 none exp(-33.333333) 0.35841 / sin(0.833075) )', 'color(xyz-d65 none 0 0.35841 / 0.74000312)'], - ['lab( from color( xyz none none calc(e) ) none -125 -125 )', 'lab(none -125 -125)'], - ['hsl( calc(calc(abs(35.785142) * 3.039588)) 18.394729 sin(83.465023) )', 'rgb(2, 3, 2)'], - ['oklab( from color( a98-rgb 0.266576 0.230976 none ) min(calc(alpha), calc(0 * 2.5)) 0.4 none )', 'oklab(0 0.4 none)'], - ['lab( from color( from color( from color( srgb-linear none none none ) rec2020 none none r ) xyz-d50 z calc(alpha / calc(exp(y))) cos(302.223934deg) ) 12.003562 -44.975483 abs(-125) )', 'lab(12.003562 -44.975483 125)'], - ['rgb( 155.104707 34.295974 85 )', 'rgb(155, 34, 85)'], - ['color-mix( in xyz-d50 , color( xyz 0.818949 0 0.5 / 0 ) 13.400894%, color( from color( xyz-d50 0.333333 0.153896 0.223388 ) xyz-d50 1 0 1 / 0.5 ) )', 'color(xyz-d50 1 0 1 / 0.43299553)'], - ['rgb( from color( xyz 1 calc(calc(0.133333 * 2.5)) max(abs(0), 0) ) 0 r g / 0.357324 )', 'color(srgb 0 1.54783241 -0.62125602 / 0.357324)'], - ['oklab( 0 hypot(-0.071331, calc(pi)) 0.300585 )', 'oklab(0 3.14240235 0.300585)'], - ['rgb( from color( xyz-d50 none 0 0 / 0 ) 211.708274 117.806828 r )', 'color(srgb 0.83022853 0.46198756 none / 0)'], - ['hwb( 0 none calc(e) )', 'hwb(0 none 2.71828183)'], - ['lab( none 26.622436 -125 )', 'lab(none 26.622436 -125)'], - ['lab( 77.744128 none abs(-2.166082) )', 'lab(77.744128 none 2.166082)'], - ['lch( none calc(nan) 207.221694 )', 'lch(none 0 207.221694)'], - ['lch( from color( from color( from color( prophoto-rgb none none 0 / 66.010506% ) srgb-linear max(0, 0.5) hypot(calc(b + 0.6666666666666666), r) g ) xyz-d50 none x calc(x + 0.6666666666666666) ) abs(calc(calc(152.80278) / calc(2.25 - -1.5))) 0 none )', 'lch(40.747408 0 none / 0.66010506)'], - ['lch( 52.360912 none none )', 'lch(52.360912 none none)'], - ['lab( calc(12.245187 * 0.41499) 103.293309 -65.429264 )', 'lab(5.08163015 103.293309 -65.429264)'], - ['hwb( 0 100 cos(352.26939deg) )', 'rgb(252, 252, 252)'], - ['lab( 76.851279 calc(pi) -50.07803 )', 'lab(76.851279 3.14159265 -50.07803)'], - ['oklch( 0.933567 0.143972 calc(infinity) / 0 )', 'oklch(0.933567 0.143972 0 / 0)'], - ['rgb( none none none )', 'color(srgb none none none)'], - ['color( xyz-d65 none 1 none )', 'color(xyz-d65 none 1 none)'], - ['rgb( calc(hypot(250.403151, abs(calc(pi)))) none calc(365.135926 / 2.554975) )', 'color(srgb 0.98205042 none 0.5604382)'], - ['lab( 0 115.652484 none / 0.5 )', 'lab(0 115.652484 none / 0.5)'], - ['lab( from color( from color( srgb none 0.217086 sin(1) ) a98-rgb g calc(0.149094 * r) 0.374653 ) none alpha alpha )', 'lab(none 1 1)'], - ['hwb( calc(0) 0 sin(50.302636) )', 'rgb(255, 0, 0)'], - ['color( xyz 0.253598 none 0.159698 )', 'color(xyz-d65 0.253598 none 0.159698)'], - ['hwb( 60.39214 13.760591 none )', 'hwb(60.39214 13.760591 none)'], - ['rgb( from color( rec2020 0 0.064924 calc(0.001009 * 4.958479) ) 227.353011 abs(96.69325) 255 / calc(b / 4) )', 'color(srgb 0.89158044 0.37918922 1 / 0)'], - ['hwb( 292.676384 95.215514 52.772005 / 0.363685 )', 'rgba(164, 164, 164, 0.363685)'], - ['color( display-p3 0.266156 0 0.878312 )', 'color(display-p3 0.266156 0 0.878312)'], - ['oklab( from color( from color( xyz 0.767703 none 0.835107 ) xyz-d50 calc(nan) max(0, 1) x ) none 0.4 0.044863 / b )', 'oklab(none 0.4 0.044863 / 0.01546202)'], - ['hsl( 0 0 0 )', 'rgb(0, 0, 0)'], - ['color-mix( in lch shorter hue, color( xyz-d50 0.107207 calc(min(sin(0.364381), 0) - calc(-infinity)) none ) 20.188113%, color( xyz-d65 none 0.706363 0.682722 / 0 ) 41.363294% )', 'lch(149642.46196748 694538.49903397 172.44569739 / 0.20188113)'], - ['lab( from color( from color( xyz-d65 none none min(calc(-infinity), 0.748335) / 0.507541 ) xyz none 0.082189 0.962638 ) b -15.385757 -81.901568 )', 'lab(0 -15.385757 -81.901568 / 0.507541)'], - ['lch( none none hypot(360, calc(infinity)) )', 'lch(none none 0)'], - ['color-mix( in hwb , color( from color( from color( xyz-d65 none 0.477713 0.187074 ) xyz-d50 sin(0) 0.44349 clamp(x, y, 0.5) ) xyz-d65 1 0 0.333333 ) , color( xyz-d50 0.475499 max(0, 0) sin(0.921134) ) 20.232208% )', 'color(srgb 1.51532117 -0.92213799 0.80739255)'], - ['oklab( 0.707075 calc(infinity) clamp(cos(321.370219deg), -0.092824, -0.215483) / hypot(0, 0.059856) )', 'oklab(0.707075 2147483647 0.78119609 / 0.059856)'], - ['color-mix( in srgb , color( from color( from color( a98-rgb 0.603371 none 0 / 0.5 ) xyz 1 none none ) xyz-d50 alpha 0.013279 0.333333 ) , color( prophoto-rgb 0.91471 1 0.886739 ) )', 'color(srgb 0.9740951 0.44221775 0.8413004 / 0.75)'], - ['color-mix( in oklch shorter hue, color( xyz-d50 0.025273 none 0 / 0.304125 ) , color( display-p3-linear 0.466459 0.287095 calc(nan) ) 79.680461% )', 'oklch(0.63370473 0.18059782 430.84766476 / 0.85860141)'], - ['oklch( from color( from color( from color( display-p3-linear 0.121922 none none ) rec2020 0.624128 b alpha ) xyz-d65 0.664619 none 0 ) 0.551782 h calc(calc(pi)) )', 'oklch(0.551782 359.11997506 3.14159265)'], - ['lch( from color( prophoto-rgb 0.034605 none 1 ) 0 c 0 / 0.354519 )', 'lch(0 193.78100579 0 / 0.354519)'], - ['rgb( 72.794731 158.534934 152.885635 )', 'rgb(73, 159, 153)'], - ['oklch( from color( display-p3 calc(sin(hypot(1.5, 1.408215)) - 0.865523) 0.126571 calc(0.062947 * -2) ) 0.5 alpha c )', 'oklch(0.5 1 0.37412518)'], - ['color( from color( xyz-d50 0.020301 0.506404 none ) a98-rgb 0 calc(b / calc(r / alpha)) 0.666667 / none )', 'color(a98-rgb 0 0 0.666667 / none)'], - ['color( xyz 1 0 calc(max(0.516477, 0.5)) )', 'color(xyz-d65 1 0 0.516477)'], - ['color-mix( in xyz-d50 , color( xyz-d50 0.170808 calc(e) cos(120.130891deg) ) , color( from color( a98-rgb 0.36008 0.118923 none ) srgb-linear 0 alpha 0.5 ) 10.466451% )', 'color(xyz-d50 0.20072977 2.51197919 -0.40190652)'], - ['rgb( from color( rec2020 0.032479 none 0.093152 ) 0 104.748357 none / sin(0.240574) )', 'color(srgb 0 0.41077787 none / 0.23826014)'], - ['lab( none -51.142576 -125 )', 'lab(none -51.142576 -125)'], - ['rgb( 85.629942 54.382257 247.771918 )', 'rgb(86, 54, 248)'], - ['rgb( 188.624522 251.998438 105.341323 / calc(0.086269 * 4) )', 'rgba(189, 252, 105, 0.345076)'], - ['lab( from color( from color( xyz-d65 0.559356 abs(0.798031) none ) xyz none cos(-265.451154deg) min(0, 0.398815) / alpha ) 0 abs(exp(a)) l )', 'lab(0 2147483647 -70.95421936)'], - ['rgb( from color( srgb-linear 0.532879 abs(abs(0.93547)) 0 / 0.2457 ) 63.82406 g exp(calc(calc(0 + r))) / r )', 'color(srgb 0 -226.07010683 2147483647)'], - ['lch( from color( xyz-d65 none calc(e) none ) c l h / 0 )', 'lch(100 145.37319307 157.52294722 / 0)'], - ['hsl( from color( from color( xyz none 0.554991 calc(0.083312 + calc(2 / 3.930671)) / 0.495605 ) rec2020 0.644824 none none ) none exp(alpha) h / 0 )', 'hsl(none 1.64149104 350.6929663 / 0)'], - ['color( a98-rgb 1 0.395223 none )', 'color(a98-rgb 1 0.395223 none)'], - ['hwb( 268.619738 calc(13.689368 * -1.414339) 50 )', 'rgb(35, -49, 128)'], - ['rgb( from color( xyz-d65 calc(calc(-infinity) + 0.451413) clamp(0.5, 0.541497, 0.878055) cos(78.332035deg) ) r 0 calc(105.261258 + calc(92.636504 + 42.162596)) )', 'color(srgb -13314.8423176 7.1e-7 0.9414132)'], - ['hsl( 248.667745 53.456037 none / clamp(0.333333, exp(100), 0.157496) )', 'hsl(248.667745 53.456037 none / 0.333333)'], - ['rgb( none calc(273.056619 / 1.5) 56.68033 )', 'color(srgb none 0.71387351 0.2222758)'], - ['lch( sin(clamp(50, 2.299663, calc(calc(pi) - 70.417464))) none none )', 'lch(0 none none)'], - ['color( rec2020 calc(0.75 - 1.073739) sin(1) 0.406914 )', 'color(rec2020 -0.323739 0.84147098 0.406914)'], - ['lch( none cos(-209.520902deg) none )', 'lch(none 0 none)'], - ['lab( none 53.788747 -4.223257 )', 'lab(none 53.788747 -4.223257)'], - ['lab( abs(1.45519) cos(50.348193deg) 10.254851 / 0.333333 )', 'lab(1.45519 0.63812043 10.254851 / 0.333333)'], - ['hsl( 360 sin(95.318364) 50 )', 'rgb(129, 126, 126)'], - ['lab( 48.946938 41.666667 cos(118.231909deg) )', 'lab(48.946938 41.666667 -0.4730415)'], - ['rgb( calc(cos(193.906506deg)) 0 21.729772 )', 'rgb(-1, 0, 22)'], - ['hwb( max(360, 32.136008) 10.853689 55.625583 )', 'rgb(113, 28, 28)'], - ['oklch( from color( rec2020 1 none calc(0.738784) ) c 0.2098 145.142474 )', 'oklch(0.3912609 0.2098 145.142474)'], - ['hwb( none 10.608216 19.710266 )', 'hwb(none 10.608216 19.710266)'], - ['color( display-p3 0.275485 0 0.801117 )', 'color(display-p3 0.275485 0 0.801117)'], - ['rgb( from color( prophoto-rgb none none none ) min(b, b) none calc(0) )', 'color(srgb 0 none 0)'], - ['rgb( 85 calc(nan) 88.755383 )', 'rgb(85, 0, 89)'], - ['rgb( 142.859912 none none / 32.488145% )', 'color(srgb 0.56023495 none none / 0.32488145)'], - ['rgb( 209.070929 250.51008 none )', 'color(srgb 0.819886 0.98239247 none)'], - ['hwb( 157.128218 max(100, 84.228142) 20.68229 )', 'rgb(211, 211, 211)'], - ['lab( from color( from color( xyz 0.423174 0.665938 none ) xyz-d50 z 0.985015 0 ) 63.649558 none abs(alpha) )', 'lab(63.649558 none 1)'], - ['oklab( from color( a98-rgb 0.655384 0.770744 calc(e) ) l none b )', 'oklab(1 none -0.56401464)'], - ['color( a98-rgb 0.780853 sin(0.419395) 0.344542 )', 'color(a98-rgb 0.780853 0.40720796 0.344542)'], - ['lab( calc(0 + hypot(66.66666666666667, 0)) -125 -119.053167 / 1 )', 'lab(66.66666667 -125 -119.053167)'], - ['oklch( none exp(50.832615) calc(-infinity) )', 'oklch(none 2147483647 0)'], - ['color( srgb 0.619679 calc(calc(nan) * -2) 0.616511 )', 'color(srgb 0.619679 0 0.616511)'], - ['hwb( none none none )', 'hwb(none none none)'], - ['lab( 63.932135 none none / 0.008675 )', 'lab(63.932135 none none / 0.008675)'], - ['hwb( 347.591418 none none )', 'hwb(347.591418 none none)'], - ['hsl( none 61.299654 50 )', 'hsl(none 61.299654 50)'], - ['color( from color( xyz-d50 1 max(1, calc(calc(e))) 0 / calc(exp(calc(0 + 63.698217)) / 3.141427) ) rec2020 clamp(1, calc(g), 0.478126) hypot(0.500682, 1) b / none )', 'color(rec2020 1 1.11833915 -0.44258515 / none)'], - ['color( rec2020 exp(-100) min(calc(1), 0.114021) none )', 'color(rec2020 0 0.114021 none)'], - ['hsl( 333.300112 none max(40.529265, cos(175.47931deg)) / 0 )', 'hsl(333.300112 none 40.529265 / 0)'], - ['rgb( 183.381521 min(0, calc(pi)) 215.906565 / 0 )', 'rgba(183, 0, 216, 0)'], - ['lab( from color( xyz-d65 none 0.274295 calc(-infinity) ) alpha -71.076996 49.674152 )', 'lab(1 -71.076996 49.674152)'], - ['oklab( 0 cos(112.231167deg) calc(pi) / 0 )', 'oklab(0 -0.37834437 3.14159265 / 0)'], - ['hwb( 229.382763 90.286567 clamp(21.732885, 69.866305, calc(e)) )', 'rgb(206, 206, 206)'], - ['hsl( exp(52.056852) 42.11039 57.282635 / calc(2.684805 / -0.975829) )', 'rgba(100, 192, 174, 0)'], - ['hsl( none 63.666502 21.719022 )', 'hsl(none 63.666502 21.719022)'], - ['hsl( from color( xyz-d65 none 0.19631 cos(calc(max(-204.534493deg, 114.719652deg))) ) none 0 28.549995 )', 'hsl(none 0 28.549995)'], - ['hsl( calc(166.775601 + 2.413701) 50 19.034603 )', 'rgb(24, 73, 64)'], - ['oklab( from color( rec2020 0.892718 calc(nan) 0 / min(max(0.12825, 0.78081), 0.437486) ) 0.333333 none alpha )', 'oklab(0.333333 none 0.437486 / 0.437486)'], - ['hwb( 360 none 50 )', 'hwb(0 none 50)'], - ['hsl( none exp(calc(-150 - min(-0.385798, 80.340421))) hypot(65.614476, 29.562171) / 34.891451% )', 'hsl(none 0 71.96652982 / 0.34891451)'], - ['hwb( 0 none min(47.274002, 63.01172) )', 'hwb(0 none 47.274002)'], - ['oklab( none -0.4 0.306903 )', 'oklab(none -0.4 0.306903)'], - ['hwb( 0 73.531586 42.471953 )', 'rgb(162, 162, 162)'], - ['oklab( from color( rec2020 0.5 0 0.382633 ) none none abs(a) )', 'oklab(none none 0.22269539)'], - ['hsl( 70.909773 none 100 )', 'hsl(70.909773 none 100)'], - ['hsl( min(22.651935, 35.095572) 50 none )', 'hsl(22.651935 50 none)'], - ['oklab( abs(calc(calc(e))) 0.160039 0.4 / 41.948388% )', 'oklab(1 0.160039 0.4 / 0.41948388)'], - ['rgb( calc(pi) 96.206175 168.783892 )', 'rgb(3, 96, 169)'], - ['lch( from color( xyz-d50 0.666667 1 0.5 ) none 13.475003 240 )', 'lch(none 13.475003 240)'], - ['color( from color( xyz-d50 max(calc(1.5 / 3.082567), 0.813878) 0.438431 0.95029 ) a98-rgb none calc(infinity) alpha )', 'color(a98-rgb none 2147483647 1)'], - ['hwb( 360 none 30.458406 )', 'hwb(0 none 30.458406)'], - ['rgb( none 156.126284 none )', 'color(srgb none 0.61225994 none)'], - ['hwb( 360 none 28.294605 )', 'hwb(0 none 28.294605)'], - ['oklch( from color( from color( from color( xyz 0.333333 calc(pi) exp(46.79484) ) display-p3-linear none calc(r - alpha) 0.333333 ) xyz 1 z 0 / alpha ) 0 calc(0.240315 + 0.238544) calc(pi) )', 'oklch(0 0.478859 3.14159265)'], - ['color( xyz-d65 0 0.723062 0.43945 )', 'color(xyz-d65 0 0.723062 0.43945)'], - ['hsl( calc(calc(33.471777 + 0) * 5.39066) calc(100) 89.052653 )', 'rgb(199, 255, 255)'], - ['lch( from color( from color( xyz-d50 1 0.35757 0.091081 / 0.174736 ) srgb g none none / calc(calc(0.495574 * min(b, alpha)) / g) ) 0 none 193.298421 )', 'lch(0 none 193.298421 / 0)'], - ['rgb( from color( from color( xyz-d65 0.5 0.493817 sin(1) ) xyz-d50 none none calc(calc(y * z) / y) ) none sin(74.789061) none )', 'color(srgb none -0.00224385 none)'], - ['hwb( from color( display-p3-linear 1 0 none ) 0 0 cos(158.039807deg) )', 'color(srgb 1.00927444 0 0)'], - ['oklch( none 0.164684 128.22577 / 0.216126 )', 'oklch(none 0.164684 128.22577 / 0.216126)'], - ['color( from color( from color( from color( prophoto-rgb 0.947754 none calc(1.127801 - 0.401975) ) xyz-d65 alpha 0 none ) xyz-d50 y z max(0, 0.5) ) xyz 0.10453 none sin(z) )', 'color(xyz-d65 0.10453 none 0.61749011)'], - ['lab( clamp(50, sin(89.982756), 33.333333) -85.423848 sin(-90.145482) / 0 )', 'lab(50 -85.423848 -0.81959567 / 0)'], - ['hsl( none 5.270581 33.333333 )', 'hsl(none 5.270581 33.333333)'], - ['rgb( from color( xyz-d50 0.765229 0.653634 none / cos(293.857924deg) ) alpha none none )', 'color(srgb 0.00158616 none none / 0.40447008)'], - ['rgb( 127.5 8.984456 226.600431 )', 'rgb(128, 9, 227)'], - ['color( prophoto-rgb exp(cos(278.397098deg)) none calc(0.158799 * 4.913083) / calc(1.5 / -1) )', 'color(prophoto-rgb 1.15723429 none 0.78019267 / 0)'], - ['color( prophoto-rgb none 1 0.462528 )', 'color(prophoto-rgb none 1 0.462528)'], + ['hwb( 360 87.400439 none )', 'hwb(0 87.400439% none)'], + ['oklch( from color( from color( from color( xyz-d65 0.5 0.856769 0.767765 ) display-p3-linear none alpha none ) xyz-d50 z alpha none ) cos(97.014972deg) l 360 )', 'oklch(0 0.9222415 0)'], + ['hwb( from color( display-p3-linear 0.011233 0.5 calc(0 - 0.75) ) h 100 0 )', 'color(srgb 1 1 1)'], + ['lch( from color( xyz-d50 0.578736 exp(calc(calc(3.67988) * 6.107084)) 0.959173 ) 19.797026 36.178141 172.951705 / none )', 'lch(19.797026 36.178141 172.951705 / none)'], + ['hsl( 107.887242 none 0 )', 'hsl(107.887242 none 0%)'], + ['hsl( none calc(0 / abs(-1)) 92.858535 )', 'hsl(none 0% 92.858535%)'], + ['hwb( 138.404427 62.110983 84.266373 )', 'rgb(108, 108, 108)'], + ['oklch( 0.90253 none none )', 'oklch(0.90253 none none)'], + ['oklch( 0.5 none 67.491527 )', 'oklch(0.5 none 67.491527)'], + ['oklch( from color( xyz-d65 0.666667 1 0.666695 ) none calc(0.6000000000000001 - 0.378488) calc(72 * -2) )', 'oklch(none 0.221512 216)'], + ['lab( 70.887152 clamp(-27.412018, 97.506335, -125) 47.195108 )', 'lab(70.887152 -27.412018 47.195108)'], + ['hsl( calc(nan) clamp(sin(38.77756), 50, 88.811691) calc(0 + 19.914849) )', 'rgb(76, 25, 25)'], + ['hsl( 166.229225 none 28.123067 / 60.575894% )', 'hsl(166.229225 none 28.123067% / 0.60575894)'], + ['lch( max(82.837151, 6.899842) 0 none )', 'lch(82.837151 0 none)'], + ['hsl( 54.463856 none clamp(16.069748, 57.774317, 0) )', 'hsl(54.463856 none 16.069748%)'], + ['color( from color( xyz-d65 0 0.300825 calc(-infinity) ) xyz-d50 z 0 0.392595 )', 'color(xyz-d50 -1614637723.9622715 0 0.392595)'], + ['lab( 58.973531 -125 -32.430391 / 0.889424 )', 'lab(58.973531 -125 -32.430391 / 0.889424)'], + ['lab( 33.333333 -109.370108 25.524702 )', 'lab(33.333333 -109.370108 25.524702)'], + ['lab( from color( xyz-d50 none min(0.466838, 0.015644) 0.09335 ) none 41.666667 calc(e) / l )', 'lab(none 41.666667 2.71828183)'], + ['lab( from color( from color( from color( xyz 0.112728 0.608425 calc(clamp(calc(0.542247 - 0), 0, calc(pi)) + 0.524291) ) xyz-d50 abs(0.945357) none max(alpha, 0.877819) ) rec2020 0.64518 calc(0.769699) calc(-infinity) ) clamp(0, calc(abs(0) * exp(l)), a) none cos(clamp(calc(365.385832deg - -123.232153deg), 237.929685deg, 68.83013deg)) )', 'lab(0 none -0.62412488)'], + ['oklch( calc(-infinity) 0.020469 21.169579 )', 'oklch(0 0.020469 21.169579)'], + ['color( from color( xyz-d50 0.086843 0 0 ) rec2020 g alpha sin(0) )', 'color(rec2020 -0.30812418 1 0)'], + ['oklch( from color( display-p3-linear 0.146091 calc(1.786457 / 2.611871) min(0.931653, 0.014094) ) 0 none 241.429941 )', 'oklch(0 none 241.429941)'], + ['hwb( 0 80.583212 65.394185 )', 'rgb(141, 141, 141)'], + ['lab( 98.63488 calc(infinity) -111.620109 )', 'lab(98.63488 2147483647 -111.620109)'], + ['rgb( 15.021281 48.723159 none )', 'color(srgb 0.05890698 0.19107121 none)'], + ['lab( 0 calc(-80.976588) none )', 'lab(0 -80.976588 none)'], + ['hsl( none 0 none )', 'hsl(none 0% none)'], + ['hwb( calc(-infinity) 72.38265 89.569287 )', 'rgb(114, 114, 114)'], + ['hsl( 197.579568 2.522991 13.648823 )', 'rgb(34, 35, 36)'], + ['color( from color( from color( from color( xyz 0.160343 0 1 ) prophoto-rgb g alpha none ) xyz alpha calc(y / calc(2.630008 + calc(pi))) min(0, 0.58992) ) srgb none 0 none )', 'color(srgb none 0 none)'], + ['hsl( from color( rec2020 0 none 0.244476 ) 0 0 none )', 'hsl(0 0% none)'], + ['color( a98-rgb calc(0.078532 * calc(pi)) 0.524297 0.307195 )', 'color(a98-rgb 0.24671555 0.524297 0.307195)'], + ['color( from color( a98-rgb none hypot(calc(-infinity), 0) sin(clamp(calc(0.389851 + 0), 0.411908, 0.908061)) ) srgb 0.5 0 0.125659 )', 'color(srgb 0.5 0 0.125659)'], + ['rgb( 0.72561 78.958953 247.808598 )', 'rgb(1, 79, 248)'], + ['oklab( from color( xyz-d50 calc(0.163664 * calc(pi)) 0.971854 exp(calc(155.699279 / 3.853467)) ) 1 none alpha )', 'oklab(1 none 1)'], + ['color-mix( in hsl , color( srgb-linear calc(0 / -1) none 1 ) 50.103653%, color( prophoto-rgb 0.740279 hypot(0.373006, 0.137838) 0 ) 88.355198% )', 'color(srgb 1.02317361 -0.14024559 0.36533895)'], + ['lch( 93.644818 none none )', 'lch(93.644818 none none)'], + ['lch( 66.23702 none calc(0) )', 'lch(66.23702 none 0)'], + ['hsl( 180 37.305829 calc(exp(hypot(-70.377196, -100)) + 0.364299) / 84.610215% )', 'rgba(547608329985, 547608329985, 547608329985, 0.84610215)'], + ['hsl( 34.032171 0 2.585354 )', 'rgb(7, 7, 7)'], + ['lab( 41.091286 -41.666667 none )', 'lab(41.091286 -41.666667 none)'], + ['lch( none 45.756011 360 )', 'lch(none 45.756011 0)'], + ['oklch( from color( display-p3-linear calc(-infinity) 0 calc(0 / exp(calc(e))) ) abs(c) 0.028334 cos(-16.02677deg) )', 'oklch(1 0.028334 0.96113281)'], + ['color( from color( a98-rgb hypot(0.441295, 0.250898) 0.129619 0.793012 ) a98-rgb alpha r b )', 'color(a98-rgb 1 0.50763282 0.793012)'], + ['color( a98-rgb cos(143.643281deg) 0 none )', 'color(a98-rgb -0.80534183 0 none)'], + ['hwb( none 1.912003 calc(nan) )', 'hwb(none 1.912003% 0%)'], + ['rgb( calc(-infinity) 45.629366 calc(64.785731 + 79.096862) )', 'rgb(-547608329985, 46, 144)'], + ['rgb( 85 calc(e) none )', 'color(srgb 0.33333333 0.01065993 none)'], + ['oklab( from color( xyz-d50 0.896587 none none ) 0 0.238907 b / 0 )', 'oklab(0 0.238907 -0.12316819 / 0)'], + ['hwb( 0 85.349249 none )', 'hwb(0 85.349249% none)'], + ['hsl( 201.613291 68.217647 none )', 'hsl(201.613291 68.217647% none)'], + ['lab( calc(e) none -41.666667 )', 'lab(2.71828183 none -41.666667)'], + ['lch( from color( srgb none 0.558902 0 ) none 118.225326 0 )', 'lch(none 118.225326 0)'], + ['oklab( 0 -0.259509 -0.08242 )', 'oklab(0 -0.259509 -0.08242)'], + ['hwb( 70.824738 52.214188 25.687249 )', 'rgb(179, 189, 133)'], + ['oklch( 1 0.056999 48.801693 )', 'oklch(1 0.056999 48.801693)'], + ['color( xyz-d50 0.5 calc(e) clamp(0.705022, 0.827752, calc(0.005006 + 0)) / 0.493065 )', 'color(xyz-d50 0.5 2.71828183 0.705022 / 0.493065)'], + ['rgb( 107.504384 44.715789 63.392179 / calc(infinity) )', 'rgb(108, 45, 63)'], + ['hwb( cos(calc(-315.484535deg)) 40.545692 88.205864 )', 'rgb(80, 80, 80)'], + ['color( from color( display-p3-linear calc(e) exp(-98.38475) 0.191592 ) xyz-d50 none clamp(0.595533, y, x) y / none )', 'color(xyz-d50 none 0.6684061 0.6684061 / none)'], + ['rgb( 246.797529 86.72983 cos(-209.768805deg) )', 'rgb(247, 87, -1)'], + ['hwb( calc(infinity) min(69.411012, 8.767027) none )', 'hwb(0 8.767027% none)'], + ['lab( 100 7.756526 calc(calc(calc(-2.681244 + 1.267682) + -16.28401) * -1.587916) )', 'lab(100 7.756526 28.10225774)'], + ['lab( from color( from color( display-p3 none 0 0.388669 / 69.7914% ) xyz clamp(calc(-infinity), alpha, 0.976685) 0.105852 0.114207 / x ) l abs(-125) b / 1 )', 'lab(41.77753835 125 7.35004285)'], + ['lch( 82.622221 min(135.095523, 69.060088) none )', 'lch(82.622221 69.060088 none)'], + ['lch( calc(min(exp(27.877497), hypot(44.637185, 7.440287)) + 66.66666666666667) 150 none )', 'lch(100 150 none)'], + ['hsl( calc(0) calc(pi) calc(e) / 0.829731 )', 'rgba(7, 7, 7, 0.829731)'], + ['color( from color( srgb clamp(0, 0.634402, 0.491322) 0.495654 0 ) srgb 0.666667 0.836133 calc(alpha / 2.333333) )', 'color(srgb 0.666667 0.836133 0.42857149)'], + ['oklch( abs(0.012187) 0.174512 calc(e) )', 'oklch(0.012187 0.174512 2.71828183)'], + ['lab( 50 -65.596642 -125 )', 'lab(50 -65.596642 -125)'], + ['lab( from color( display-p3 0.603859 0.363116 0.679708 ) calc(0 * l) none calc(clamp(187.5, calc(-55.549845 + 103.859751), l) - 109.880088) )', 'lab(0 none 77.619912)'], + ['lch( 81.458684 exp(33.333333) 360 / 86.723537% )', 'lch(81.458684 2147483647 0 / 0.86723537)'], + ['lab( 0 -125 none )', 'lab(0 -125 none)'], + ['oklab( from color( xyz 0.567475 none 0 ) none 0.4 0.094503 )', 'oklab(none 0.4 0.094503)'], + ['hsl( from color( xyz-d65 none 0.679317 0.98113 ) none 0 0 )', 'hsl(none 0% 0%)'], + ['hwb( 180 sin(abs(9.789634)) calc(pi) )', 'rgb(-1, 247, 247)'], + ['color-mix( in a98-rgb , color( xyz-d50 0.489153 none calc(cos(calc(-523.863347deg / -1)) + 0.195743) ) 31.927141%, color( srgb-linear calc(sin(0) + calc(0.259102 + 0.393838)) 0.597294 none / 1 ) )', 'color(a98-rgb 0.90417175 0.79109967 -1.00800428)'], + ['hsl( none calc(27.156506) none / 24.46059% )', 'hsl(none 27.156506% none / 0.2446059)'], + ['color( display-p3-linear 0 0.05651 exp(calc(-211.278218 / -1)) )', 'color(display-p3-linear 0 0.05651 2147483647)'], + ['hwb( from color( prophoto-rgb 0.977927 none none / 0.5 ) calc(infinity) 0 16.795119 )', 'color(srgb 0.83204881 0 0 / 0.5)'], + ['color( xyz-d50 0 none 0.44829 )', 'color(xyz-d50 0 none 0.44829)'], + ['oklab( 0.333333 0 calc(-1.2000000000000002 / 2.750828) )', 'oklab(0.333333 0 -0.43623229)'], + ['hsl( 221.886439 61.838269 none / 0 )', 'hsl(221.886439 61.838269% none / 0)'], + ['hwb( 104.981522 20.51168 39.715689 )', 'rgb(78, 154, 52)'], + ['color-mix( in display-p3 , color( from color( xyz-d65 none none none / calc(0.218675) ) display-p3 0.996139 none 0 ) 72.641616%, color( from color( from color( xyz 0.570819 none 0.412319 / 0.218509 ) xyz-d50 cos(300.823578deg) z calc(z + 0.651235) ) srgb-linear 0 exp(b) none ) 15.020544% )', 'color(display-p3 0.96792541 1.74099396 0 / 0.19167029)'], + ['color( from color( rec2020 0.324233 0.814872 hypot(0.781188, 0.543327) ) xyz-d65 calc(e) 0 0.744472 / z )', 'color(xyz-d65 2.71828183 0 0.744472 / 0.95896008)'], + ['oklch( 0 min(cos(117.781088deg), 0.367944) none )', 'oklch(0 0 none)'], + ['lab( 100 0 -125 )', 'lab(100 0 -125)'], + ['rgb( none none 112.84908 )', 'color(srgb none none 0.44254541)'], + ['hsl( from color( xyz-d65 0 sin(0) 0.218724 ) max(h, exp(l)) none 0 )', 'hsl(53.49007873 none 0%)'], + ['color-mix( in rec2020 , color( xyz-d65 0.420172 0.213928 0.666667 ) , color( xyz-d50 0.377623 0 cos(calc(-741.081187deg / 0.850594)) ) 28.960699% )', 'color(rec2020 0.78935286 0.07544304 0.28461934)'], + ['rgb( 0 15.509206 calc(191.25 - 18.32535) )', 'rgb(0, 16, 173)'], + ['hwb( 0 64.381789 77.944851 )', 'rgb(115, 115, 115)'], + ['hwb( 194.829358 18.67291 none )', 'hwb(194.829358 18.67291% none)'], + ['color( xyz 0.5 0 0.364238 )', 'color(xyz-d65 0.5 0 0.364238)'], + ['color( display-p3-linear 0.412889 none hypot(0.108002, 0.45978) )', 'color(display-p3-linear 0.412889 none 0.47229448)'], + ['oklch( 0.991763 0 176.405777 )', 'oklch(0.991763 0 176.405777)'], + ['oklab( calc(-infinity) -0.140801 0.304542 )', 'oklab(0 -0.140801 0.304542)'], + ['rgb( calc(pi) 189.024459 none )', 'color(srgb 0.01231997 0.74127239 none)'], + ['lch( 33.333333 110.597099 136.062921 )', 'lch(33.333333 110.597099 136.062921)'], + ['lch( none min(calc(450 / 2.880474), 0) 210.274682 )', 'lch(none 0 210.274682)'], + ['hwb( from color( xyz 0.634983 calc(pi) 0 / 0.754393 ) none 92.192066 alpha )', 'hwb(none 92.192066% 0.754393% / 0.754393)'], + ['lch( from color( display-p3-linear 0 none 0.519872 ) none 129.61557 none )', 'lch(none 129.61557 none)'], + ['lch( from color( xyz none none calc(nan) / 0.775841 ) 0 none l )', 'lch(0 none 0 / 0.775841)'], + ['oklch( 0.656642 0.197865 120 )', 'oklch(0.656642 0.197865 120)'], + ['oklab( from color( xyz-d50 0.807268 0.32067 min(0.40868, 0.810885) ) 0 max(0, hypot(0.4, calc(-0.030582 * b))) -0.027123 )', 'oklab(0 0.40000441 -0.027123)'], + ['lch( 38.548982 80.839976 0 )', 'lch(38.548982 80.839976 0)'], + ['rgb( from color( display-p3 0.922505 0.5 sin(max(0.541511, 0)) ) 131.390712 0 g / 0.193651 )', 'color(srgb 0.51525769 0 0.4708239 / 0.193651)'], + ['rgb( none 76.483413 calc(sin(321.062193) - 182.434759) )', 'color(srgb none 0.29993495 -0.71315268)'], + ['hwb( 0 0 16.023368 )', 'rgb(214, 0, 0)'], + ['hwb( from color( srgb none 0.652326 none ) 101.709879 33.333333 0 )', 'color(srgb 0.5365569 1 0.33333333)'], + ['rgb( from color( display-p3-linear calc(nan) 0.5 none / calc(0.881721) ) b none 61.381502 )', 'color(srgb none none 0.24071177 / 0.881721)'], + ['hsl( from color( display-p3 0.535358 none none ) calc(l) none alpha )', 'hsl(24.23893524 none 1%)'], + ['oklch( 0.657911 0.4 calc(16.293217 * calc(-infinity)) )', 'oklch(0.657911 0.4 0)'], + ['rgb( from color( xyz-d65 0.192155 0.333333 0 ) none 0 clamp(127.5, 176.360588, 240.734481) )', 'color(srgb none 0 0.69161015)'], + ['oklch( none 0.214368 none )', 'oklch(none 0.214368 none)'], + ['hwb( from color( xyz calc(0.14707 * clamp(4.1478, 3.877667, -0.77518)) calc(1.119738 - 1.5) 0.709594 ) alpha h abs(78.597237) )', 'color(srgb 0.79842146 0.79842146 0.79842146)'], + ['hsl( from color( xyz 0.848891 0.431353 calc(calc(0.392394 / -1) + 0.123864) ) none 0 none )', 'hsl(none 0% none)'], + ['color-mix( in prophoto-rgb , color( from color( display-p3-linear calc(min(cos(-45.159548deg), 0.008445) - 0.83005) 0.686898 1 ) xyz-d65 none x max(max(0, 0.795382), 0.5) ) 85.237681%, color( from color( xyz 0.5 0.606049 0.5 ) xyz 1 1 0 ) 80.268279% )', 'color(prophoto-rgb 1.0964032 0.4234334 0.46147698)'], + ['oklch( 0.07468 none 360 )', 'oklch(0.07468 none 0)'], + ['color( xyz calc(abs(0.163285) * 3.904298) 0.919335 0.902373 )', 'color(xyz-d65 0.6375133 0.919335 0.902373)'], + ['lch( calc(150 - 0) none 0 )', 'lch(100 none 0)'], + ['lch( 16.164091 2.690988 none )', 'lch(16.164091 2.690988 none)'], + ['hwb( 214.968358 85.6802 73.004626 )', 'rgb(138, 138, 138)'], + ['rgb( calc(255) 0 none )', 'color(srgb 1 0 none)'], + ['color( srgb-linear 0 0.626796 calc(pi) )', 'color(srgb-linear 0 0.626796 3.14159265)'], + ['hsl( 242.818995 calc(e) 29.423347 / sin(0.345869) )', 'rgba(73, 73, 77, 0.33901434)'], + ['lab( 88.179984 16.240531 31.825772 )', 'lab(88.179984 16.240531 31.825772)'], + ['oklch( 0.779858 none 132.664512 )', 'oklch(0.779858 none 132.664512)'], + ['oklch( none 0.330179 198.911573 )', 'oklch(none 0.330179 198.911573)'], + ['oklab( max(hypot(0.966104, 0), 0.944187) calc(-infinity) none )', 'oklab(0.966104 -2147483647 none)'], + ['hsl( calc(nan) 0 clamp(8.151629, calc(pi), calc(pi)) )', 'rgb(21, 21, 21)'], + ['lab( 26.673297 -75.013175 calc(calc(calc(-51.981194 * 1.989347) - 211.098857) - -55.650272) )', 'lab(26.673297 -75.013175 -258.85721734)'], + ['hsl( 268.505084 41.385756 none )', 'hsl(268.505084 41.385756% none)'], + ['color-mix( in srgb , color( from color( rec2020 calc(0.648646 + exp(30.088095)) none 0.799828 ) xyz-d50 none none alpha ) , color( srgb calc(calc(-infinity)) 0 0.59714 ) )', 'color(srgb -2147483647 506.91917288 0)'], + ['lab( from color( xyz-d50 min(0.630491, calc(e)) 0.5 0.283017 / 0.764744 ) none none a / calc(alpha * 4) )', 'lab(none none 37.11959068)'], + ['lch( from color( xyz-d50 0 hypot(0.333333, 0.689882) 0.651966 / 0.515995 ) 55.292901 c calc(h) )', 'lch(55.292901 388.56490088 180.2785414 / 0.515995)'], + ['lch( 73.947082 143.372067 none )', 'lch(73.947082 143.372067 none)'], + ['hsl( 184.068159 60.713417 sin(23.305326) )', 'rgb(-1, -4, -4)'], + ['rgb( 169.882763 0 0 )', 'rgb(170, 0, 0)'], + ['lab( exp(7.164194) 76.797146 -37.521246 )', 'lab(100 76.797146 -37.521246)'], + ['hsl( from color( from color( from color( xyz-d65 0.640197 cos(-140.610089deg) calc(0 / 1.845756) / 0 ) xyz-d50 0.364978 0 none ) srgb-linear 1 g none ) none 34.368797 none / calc(0 + 0) )', 'hsl(none 34.368797% none / 0)'], + ['hsl( 87.052469 1.789603 0 )', 'rgb(0, 0, 0)'], + ['lch( sin(calc(67.546834 - 100)) calc(e) max(0, calc(e)) )', 'lch(0 2.71828183 2.71828183)'], + ['oklch( none 0.015011 180 )', 'oklch(none 0.015011 180)'], + ['lab( 70.723038 none 1.708723 )', 'lab(70.723038 none 1.708723)'], + ['hwb( from color( from color( from color( xyz-d50 0.70824 sin(0.617742) calc(0 / 1.5) ) a98-rgb calc(abs(g) * 5.654729) 1 0.5 ) xyz alpha alpha 0.88516 / 0.333333 ) 180 b calc(w) )', 'color(srgb -0.10750392 0.10008605 0.10008605 / 0.333333)'], + ['oklch( from color( xyz 0.731925 0.504303 calc(1) ) 1 none 169.253276 )', 'oklch(1 none 169.253276)'], + ['rgb( 42.734825 calc(calc(-infinity)) 26.151235 / 46.921044% )', 'rgba(43, -547608329985, 26, 0.46921044)'], + ['rgb( none 28.384833 calc(255) )', 'color(srgb none 0.11131307 1)'], + ['rgb( calc(315.133726 - 20.130989) 25.682903 min(calc(infinity), calc(infinity)) )', 'rgb(295, 26, 547608329985)'], + ['lab( from color( display-p3 0.985932 0.689827 calc(infinity) / 1 ) max(0, 0) min(31.125646, sin(alpha)) 125 )', 'lab(0 0.84147098 125)'], + ['color( a98-rgb 0.469468 clamp(0.907093, min(0, calc(0.324828)), 0.161473) none )', 'color(a98-rgb 0.469468 0.907093 none)'], + ['lch( calc(nan) min(117.058827, 52.211435) max(10.858233, calc(min(5.567971, 24.534393) * 2.5)) )', 'lch(0 52.211435 13.9199275)'], + ['lab( 100 -32.019475 125 / 0 )', 'lab(100 -32.019475 125 / 0)'], + ['hwb( none 100 0 )', 'hwb(none 100% 0%)'], + ['oklch( none calc(0.021415 / 4) 185.781931 )', 'oklch(none 0.00535375 185.781931)'], + ['oklch( from color( xyz none none 0 ) 0 none 0 )', 'oklch(0 none 0)'], + ['oklab( from color( from color( from color( srgb-linear 0.78642 0.923694 calc(pi) ) xyz-d65 x z 0.807103 ) display-p3 min(g, 0.5) none calc(infinity) / alpha ) min(1, b) a none )', 'oklab(0 -937173.82275857 none)'], + ['lch( 96.489788 none 268.731514 )', 'lch(96.489788 none 268.731514)'], + ['hwb( 235.503096 15.303526 calc(pi) )', 'rgb(39, 55, 247)'], + ['oklch( 0.175124 0.398179 103.679753 )', 'oklch(0.175124 0.398179 103.679753)'], + ['oklab( 0.374014 -0.4 calc(infinity) )', 'oklab(0.374014 -0.4 2147483647)'], + ['rgb( hypot(255, 255) 255 calc(abs(hypot(138.264497, 382.5)) - 116.192901) / min(47.246912%, 66.903079%) )', 'rgba(361, 255, 291, 0.47246912)'], + ['color( xyz 0.279771 0.001492 min(calc(calc(0.095947 + 0.031113) * 0.878689), 0.947537) )', 'color(xyz-d65 0.279771 0.001492 0.11164622)'], + ['lab( 64.679206 clamp(18.393616, -31.404007, 105.178129) none )', 'lab(64.679206 18.393616 none)'], + ['hwb( none exp(-2.462176) min(calc(abs(13.835308) * calc(infinity)), calc(27.554618 - 96.995669)) )', 'hwb(none 0.08524925% -69.441051%)'], + ['color( from color( xyz none calc(-infinity) 0.242782 ) xyz-d50 none none 0.07164 )', 'color(xyz-d50 none none 0.07164)'], + ['color-mix( in a98-rgb , color( from color( xyz-d50 0.192478 0.891825 0.286418 ) rec2020 clamp(abs(alpha), 0.907939, b) none 0.5 ) 38.951861%, color( from color( from color( srgb-linear calc(pi) none none ) xyz 0 0 z ) srgb r b 0.850806 / none ) )', 'color(a98-rgb 0.41370437 none 0.68601219)'], + ['oklch( 0.766693 sin(0.255273) 0 )', 'oklch(0.766693 0.25250957 0)'], + ['hsl( from color( xyz-d65 calc(infinity) calc(0 + 0.042167) 0.186493 ) none s none / l )', 'hsl(none 406.14316958% none)'], + ['color( from color( xyz 0.845336 1 calc(0.479987) ) srgb none r r / 0.860548 )', 'color(srgb none 0.9835558 0.9835558 / 0.860548)'], + ['hwb( exp(26.756028) 95.484194 31.119658 )', 'rgb(192, 192, 192)'], + ['oklch( none 0.082201 197.08137 )', 'oklch(none 0.082201 197.08137)'], + ['lch( 0 3.310794 17.552987 )', 'lch(0 3.310794 17.552987)'], + ['color( from color( xyz-d65 none min(0.739685, calc(calc(e) - 0.417672)) 0.755213 / 0.416736 ) display-p3-linear exp(b) 0.669156 none / none )', 'color(display-p3-linear 1.94703569 0.669156 none / none)'], + ['lch( none calc(100) 180 )', 'lch(none 100 180)'], + ['hsl( 186.322018 100 72.78341 )', 'rgb(116, 240, 255)'], + ['oklab( 0.468278 hypot(hypot(calc(e), 0.4), -0.062504) -0.391153 )', 'oklab(0.468278 2.74826543 -0.391153)'], + ['hwb( from color( display-p3-linear 1 0.179577 0.635868 ) h none 33.333333 / 1 )', 'hwb(322.02011481 none 33.333333%)'], + ['color( srgb none calc(infinity) none / max(98.941573%, 58.127208%) )', 'color(srgb none 2147483647 none / 0.98941573)'], + ['lch( none 23.715105 0 )', 'lch(none 23.715105 0)'], + ['color-mix( in oklab , color( xyz 0.409033 calc(pi) 0.595973 ) , color( from color( xyz-d65 0.53184 none 0.303818 / 0.04103 ) xyz z calc(alpha / -0.381214) 0.171043 ) 21.055048% )', 'oklab(1.35227713 -0.75760346 0.27568118 / 0.79808841)'], + ['lch( 2.819158 5.991908 none )', 'lch(2.819158 5.991908 none)'], + ['color-mix( in oklch increasing hue, color( xyz-d50 1 0.999324 none / calc(1.217873 / 0.419849) ) , color( rec2020 0.964957 0.141304 none ) 1.142927% )', 'oklch(0.99011473 0.25587269 99.04195066)'], + ['oklch( calc(nan) 0.372821 9.110964 )', 'oklch(0 0.372821 9.110964)'], + ['lab( sin(cos(-251.093888deg)) 111.940462 5.664055 )', 'lab(0 111.940462 5.664055)'], + ['lch( none cos(-103.358537deg) none )', 'lch(none 0 none)'], + ['lch( from color( xyz 0.107004 0 0.608241 ) none none sin(abs(calc(-infinity))) )', 'lch(none none 0)'], + ['lch( 0 none 300.218561 )', 'lch(0 none 300.218561)'], + ['oklab( calc(0.6666666666666666 + 0.049275) -0.17368 none )', 'oklab(0.71594167 -0.17368 none)'], + ['color-mix( in xyz , color( xyz none 0.106347 exp(-1.857346) ) 67.70549%, color( a98-rgb calc(-infinity) none sin(0.1637) ) )', 'color(xyz-d65 -192256827513344500000 0.106347 -2910393768139678000)'], + ['hwb( abs(302.694028) calc(-infinity) 80.042088 )', 'rgb(NaN, NaN, NaN)'], + ['rgb( 246.972492 143.28368 calc(91.337724 + 0) )', 'rgb(247, 143, 91)'], + ['hsl( 104.415099 calc(-infinity) max(1.36727, calc(nan)) )', 'rgb(0, 0, 0)'], + ['oklab( 0.768937 -0.318844 none )', 'oklab(0.768937 -0.318844 none)'], + ['lch( from color( from color( xyz-d65 0.333333 1 0.760719 ) xyz-d65 none 0.893894 0.922927 / 0 ) h clamp(h, 56.418897, h) none )', 'lch(100 179.89922391 none / 0)'], + ['color( xyz clamp(0.121869, 0, cos(-175.177592deg)) 0.995548 0.052212 )', 'color(xyz-d65 0.121869 0.995548 0.052212)'], + ['lab( calc(nan) none none / 0.277594 )', 'lab(0 none none / 0.277594)'], + ['rgb( 226.0536 none 132.418066 )', 'color(srgb 0.88648471 none 0.51928653)'], + ['color( xyz none 0.551983 0.095292 )', 'color(xyz-d65 none 0.551983 0.095292)'], + ['rgb( from color( xyz-d65 none calc(0.042555 - 0) 0.510512 / 92.69456% ) calc(142.634209 + b) 0 calc(45.365848 * alpha) / min(g, exp(r)) )', 'color(srgb 1.31471362 0 0.16490852)'], + ['lab( 50 101.600669 -125 / 0.889945 )', 'lab(50 101.600669 -125 / 0.889945)'], + ['oklab( from color( xyz-d65 calc(nan) 0.006828 1 ) l -0.394811 b )', 'oklab(0.16781202 -0.394811 -0.43505754)'], + ['oklch( 0.655265 none 137.969675 )', 'oklch(0.655265 none 137.969675)'], + ['color( srgb calc(1.464257 / calc(pi)) 0.5 0.992722 )', 'color(srgb 0.46608748 0.5 0.992722)'], + ['rgb( 208.768184 0 127.5 )', 'rgb(209, 0, 128)'], + ['hsl( none 23.335684 0 )', 'hsl(none 23.335684% 0%)'], + ['oklch( 0 none none / 0.297483 )', 'oklch(0 none none / 0.297483)'], + ['lch( calc(141.343721 / calc(12 / 0.965012)) 50.01366 118.816084 / 0.615961 )', 'lch(11.36653224 50.01366 118.816084 / 0.615961)'], + ['color( a98-rgb 0.26095 none 0.718006 )', 'color(a98-rgb 0.26095 none 0.718006)'], + ['lab( calc(nan) -107.977611 -125 )', 'lab(0 -107.977611 -125)'], + ['lch( 0 7.508256 none )', 'lch(0 7.508256 none)'], + ['lch( none 36.665453 none )', 'lch(none 36.665453 none)'], + ['color( xyz-d65 0.959112 0.919979 0.15578 / 19.12262% )', 'color(xyz-d65 0.959112 0.919979 0.15578 / 0.1912262)'], + ['lch( from color( srgb none 0.240085 cos(max(calc(-128.91318deg), -250.242909deg)) ) 35.256978 52.104449 l )', 'lch(35.256978 52.104449 10.79835843)'], + ['lab( from color( srgb 0 0 none / 4.828929% ) none none a )', 'lab(none none 0 / 0.04828929)'], + ['oklab( 0.5 -0.294364 none )', 'oklab(0.5 -0.294364 none)'], + ['rgb( none 49.027009 calc(0 + 74.909097) )', 'color(srgb none 0.19226278 0.29376116)'], + ['hwb( 58.783027 12.297225 66.666667 )', 'rgb(85, 84, 31)'], + ['oklab( from color( display-p3-linear 0.795747 hypot(0.024521, 0) 0.847574 ) l none a )', 'oklab(0.68694158 none 0.27679053)'], + ['lch( sin(71.040165) 150 none )', 'lch(0.93787906 150 none)'], + ['rgb( from color( xyz 0.827039 none 0 / clamp(hypot(0.556097, 0), max(0.8121, 0.793969), 0.333333) ) 29.069012 none alpha )', 'color(srgb 0.11399613 none 0.00218077 / 0.556097)'], + ['oklab( from color( xyz-d50 0.936363 abs(0.347886) none / 49.810417% ) b -0.351683 none )', 'oklab(0.15502798 -0.351683 none / 0.49810417)'], + ['lch( 50 144.310787 none )', 'lch(50 144.310787 none)'], + ['color( from color( xyz-d65 1 calc(min(0.2, 0.075497) * calc(infinity)) 0.617777 / 56.863112% ) xyz y z 0 )', 'color(xyz-d65 2147483647 0.617777 0 / 0.56863112)'], + ['lab( from color( from color( from color( xyz 1 none 0.543379 / 0 ) xyz-d50 none 0.679214 alpha / 0 ) prophoto-rgb min(0.904059, 0.034161) none none ) none -125 64.735224 )', 'lab(none -125 64.735224 / 0)'], + ['color( display-p3-linear 0.722362 0 0.172585 )', 'color(display-p3-linear 0.722362 0 0.172585)'], + ['color-mix( in prophoto-rgb , color( from color( xyz-d50 1 none calc(-infinity) ) xyz-d65 none z 0 ) 65.673625%, color( xyz-d50 0.805819 calc(1) 0.340644 ) 25.388359% )', 'color(prophoto-rgb 0.89042858 -137187.38739715 -11924.50951514 / 0.91061984)'], + ['oklab( from color( xyz-d50 0.487266 0.567739 1 ) l l calc(abs(alpha) + calc(-infinity)) )', 'oklab(0.82959372 0.82959372 -2147483647)'], + ['hwb( none calc(min(33.333333, sin(0)) + 32.106748) calc(291.901738 / 2.08681) )', 'hwb(none 32.106748% 139.87940349%)'], ]; for (const test of tests) { diff --git a/packages/css-color-parser/test/test.mjs b/packages/css-color-parser/test/test.mjs index 20fed5eb6d..f7faf31cf6 100644 --- a/packages/css-color-parser/test/test.mjs +++ b/packages/css-color-parser/test/test.mjs @@ -11,6 +11,8 @@ import './basic/lab.mjs'; import './basic/lch.mjs'; import './basic/named-colors.mjs'; import './basic/none.mjs'; +import './basic/none-exhaustive.mjs'; +import './basic/powerless-exhaustive.mjs'; import './basic/relative-color.mjs'; import './basic/variables.mjs'; diff --git a/packages/css-color-parser/test/util/serialize.mjs b/packages/css-color-parser/test/util/serialize.mjs index 3e206ed324..6506fc4ccf 100644 --- a/packages/css-color-parser/test/util/serialize.mjs +++ b/packages/css-color-parser/test/util/serialize.mjs @@ -1,5 +1,5 @@ import { serializeRGB, serializeP3, serializeOKLCH, serializeHSL, color } from '@csstools/css-color-parser'; -import { isTokenNumeric, stringify, tokenize } from '@csstools/css-tokenizer'; +import { isTokenDimension, isTokenNumeric, isTokenPercentage, mutateUnit, stringify, tokenize } from '@csstools/css-tokenizer'; import { parseComponentValue } from '@csstools/css-parser-algorithms'; export function serialize_sRGB_data(x, gamutMapping = true) { @@ -56,7 +56,14 @@ export function reducePrecisionWholeValue(color) { const y = Math.round(token[4].value * factor) / factor; - token[1] = y.toString(); + if (isTokenDimension(token)) { + token[4].value = y; + mutateUnit(token, token[4].unit); + } else if (isTokenPercentage(token)) { + token[1] = y.toString() + '%'; + } else { + token[1] = y.toString(); + } } } diff --git a/packages/css-color-parser/test/util/update-exhaustive-tests.mjs b/packages/css-color-parser/test/util/update-exhaustive-tests.mjs new file mode 100644 index 0000000000..dff17f11cf --- /dev/null +++ b/packages/css-color-parser/test/util/update-exhaustive-tests.mjs @@ -0,0 +1,21 @@ +import fs from 'fs'; + +import { computedValue, reducePrecisionWholeValue } from './serialize.mjs'; + +const input = fs.readFileSync(0, 'utf-8'); + +let output = input; + +const array_notation_computed_args_single_quote = /\['([^']*)', '([^']*)'/g; + +output = output.replaceAll(array_notation_computed_args_single_quote, (a, b) => { + const result = reducePrecisionWholeValue(computedValue(b)); + if (!result) { + return a; + } + + return `['${b}', '${(result)}'`; +}); + +process.stdout.write(output); + diff --git a/packages/css-color-parser/test/wpt/color-computed-color-mix-function.mjs b/packages/css-color-parser/test/wpt/color-computed-color-mix-function.mjs index a565a74e2a..dc5ac025dc 100644 --- a/packages/css-color-parser/test/wpt/color-computed-color-mix-function.mjs +++ b/packages/css-color-parser/test/wpt/color-computed-color-mix-function.mjs @@ -72,7 +72,7 @@ import { serialize_sRGB_data } from '../util/serialize.mjs'; ['color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))', canonicalize('hsl(120deg 20% 40%)')], ['color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))', canonicalize('hsl(75deg 30% 60%)')], ['color-mix(in hsl, hsl(120deg 20% 40%), hsl(30deg 20% none))', canonicalize('hsl(75deg 20% 40%)')], - ['color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))', canonicalize('hsl(30deg 20% 60%)')], + ['color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))', canonicalize('hsl(none 20% 60%)')], ['color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))', canonicalize('hsl(60deg 40% 40%)')], ['color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))', canonicalize('hsl(60deg 40% 40% / 0.5)')], @@ -213,7 +213,7 @@ import { serialize_sRGB_data } from '../util/serialize.mjs'; ['color-mix(in lch, lch(10 20 30deg), lch(none none none))', canonicalize('lch(10 20 30)')], ['color-mix(in lch, lch(10 20 none), lch(50 60 70deg))', canonicalize('lch(30 40 70)')], ['color-mix(in lch, lch(10 20 30deg), lch(50 60 none))', canonicalize('lch(30 40 30)')], - ['color-mix(in lch, lch(none 20 30deg), lch(50 none 70deg))', canonicalize('lch(50 20 50)')], + ['color-mix(in lch, lch(none 20 30deg), lch(50 none 70deg))', canonicalize('lch(50 20 30)')], ['color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg))', canonicalize('lch(30 40 50)')], ['color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg / 0.5))', canonicalize('lch(30 40 50 / 0.5)')], ['color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg / none))', canonicalize('lch(30 40 50 / none)')], @@ -293,14 +293,14 @@ import { serialize_sRGB_data } from '../util/serialize.mjs'; ['color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(none none none))', canonicalize('oklch(0.1 0.2 30)')], ['color-mix(in oklch, oklch(0.1 0.2 none), oklch(0.5 0.6 70deg))', canonicalize('oklch(0.3 0.4 70)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 none))', canonicalize('oklch(0.3 0.4 30)')], - ['color-mix(in oklch, oklch(none 0.2 30deg), oklch(0.5 none 70deg))', canonicalize('oklch(0.5 0.2 50)')], + ['color-mix(in oklch, oklch(none 0.2 30deg), oklch(0.5 none 70deg))', canonicalize('oklch(0.5 0.2 30)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg))', canonicalize('oklch(0.3 0.4 50)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg / 0.5))', canonicalize('oklch(0.3 0.4 50 / 0.5)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg / none))', canonicalize('oklch(0.3 0.4 50 / none)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(0.5 none none / none))', canonicalize('oklch(0.5 0.2 30 / 0.25)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(none 0.5 none / none))', canonicalize('oklch(0.1 0.5 30 / 0.25)')], - ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(none none 90deg / none))', canonicalize('oklch(0.1 0.2 90 / 0.25)')], + ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(none none 90deg / none))', canonicalize('oklch(0.1 0.2 30 / 0.25)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(0.5 0.5 none / none))', canonicalize('oklch(0.5 0.5 30 / 0.25)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(none none none / 0.5))', canonicalize('oklch(0.1 0.2 30 / 0.5)')], ['color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(0.5 none none / 0.5))', canonicalize('oklch(0.5 0.2 30 / 0.5)')], diff --git a/plugins/postcss-relative-color-syntax/test/basic.expect.css b/plugins/postcss-relative-color-syntax/test/basic.expect.css index be819329c3..c26573df76 100644 --- a/plugins/postcss-relative-color-syntax/test/basic.expect.css +++ b/plugins/postcss-relative-color-syntax/test/basic.expect.css @@ -105,7 +105,7 @@ .spec-example-25 { --mygray: rgb(152, 152, 152); - --mymuted: rgb(185, 136, 182); + --mymuted: rgb(201, 131, 153); } .spec-example-26 { diff --git a/plugins/postcss-relative-color-syntax/test/basic.preserve-true.expect.css b/plugins/postcss-relative-color-syntax/test/basic.preserve-true.expect.css index c7d29ab568..d56e7aa466 100644 --- a/plugins/postcss-relative-color-syntax/test/basic.preserve-true.expect.css +++ b/plugins/postcss-relative-color-syntax/test/basic.preserve-true.expect.css @@ -188,7 +188,7 @@ .spec-example-25 { --mygray: rgb(152, 152, 152); - --mymuted: rgb(185, 136, 182); + --mymuted: rgb(201, 131, 153); } @supports (color: lab(from red l 1 1% / calc(alpha + 0.1))) {