|  | 
| 65 | 65 |           "html": "Convert from linear RGB to CIE XYZ" | 
| 66 | 66 |         }, | 
| 67 | 67 |         { | 
| 68 |  | -          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①①\">D65</a> whitepoint\n\t\t\t(used by <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-srgb\" id=\"ref-for-valdef-color-srgb⑥\">sRGB</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-display-p3\" id=\"ref-for-valdef-color-display-p3⑥\">display-p3</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb\" id=\"ref-for-valdef-color-a98-rgb③\">a98-rgb</a> and <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-rec2020\" id=\"ref-for-valdef-color-rec2020④\">rec2020</a>)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50④\">D50</a> whitepoint used in Lab,\n\t\t\twith the linear Bradford transform. <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb⑤\">prophoto-rgb</a> already has a <span id=\"ref-for-d50⑤\">D50</span> whitepoint." | 
|  | 68 | +          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①②\">D65</a> whitepoint\n\t\t\t(used by <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-srgb\" id=\"ref-for-valdef-color-srgb⑥\">sRGB</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-display-p3\" id=\"ref-for-valdef-color-display-p3⑧\">display-p3</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb\" id=\"ref-for-valdef-color-a98-rgb③\">a98-rgb</a> and <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-rec2020\" id=\"ref-for-valdef-color-rec2020④\">rec2020</a>)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50④\">D50</a> whitepoint used in Lab,\n\t\t\twith the linear Bradford transform. <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb⑤\">prophoto-rgb</a> already has a <span id=\"ref-for-d50⑤\">D50</span> whitepoint." | 
| 69 | 69 |         }, | 
| 70 | 70 |         { | 
| 71 | 71 |           "html": "Convert D50-adapted XYZ to Lab" | 
|  | 
| 83 | 83 |           "html": "Convert from linear RGB to CIE XYZ" | 
| 84 | 84 |         }, | 
| 85 | 85 |         { | 
| 86 |  | -          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50⑥\">D50</a> whitepoint (used by <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb⑦\">prophoto-rgb</a>)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①②\">D65</a> whitepoint used in Oklab,\n\t\t\twith the linear Bradford transform." | 
|  | 86 | +          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50⑥\">D50</a> whitepoint (used by <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb⑦\">prophoto-rgb</a>)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①③\">D65</a> whitepoint used in Oklab,\n\t\t\twith the linear Bradford transform." | 
| 87 | 87 |         }, | 
| 88 | 88 |         { | 
| 89 | 89 |           "html": "Convert D65-adapted XYZ to Oklab" | 
| 90 | 90 |         } | 
| 91 | 91 |       ] | 
| 92 | 92 |     }, | 
| 93 | 93 |     { | 
| 94 |  | -      "html": "Conversion from Lab to predefined spaces like <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-display-p3\" id=\"ref-for-valdef-color-display-p3⑦\">display-p3</a> or <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-rec2020\" id=\"ref-for-valdef-color-rec2020⑤\">rec2020</a>\n\talso requires multiple steps,\n\tand again in practice all but the last step are linear calculations and can be combined.", | 
|  | 94 | +      "html": "Conversion from Lab to predefined spaces like <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-display-p3\" id=\"ref-for-valdef-color-display-p3⑨\">display-p3</a> or <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-rec2020\" id=\"ref-for-valdef-color-rec2020⑤\">rec2020</a>\n\talso requires multiple steps,\n\tand again in practice all but the last step are linear calculations and can be combined.", | 
| 95 | 95 |       "rationale": "convert", | 
| 96 | 96 |       "steps": [ | 
| 97 | 97 |         { | 
| 98 | 98 |           "html": "Convert Lab to (D50-adapted) XYZ" | 
| 99 | 99 |         }, | 
| 100 | 100 |         { | 
| 101 |  | -          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50⑦\">D50</a> whitepoint (used by Lab)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①③\">D65</a> whitepoint used in sRGB and most other RGB spaces,\n\t\t\twith the linear Bradford transform. <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb⑧\">prophoto-rgb</a>' does not require this step." | 
|  | 101 | +          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50⑦\">D50</a> whitepoint (used by Lab)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①④\">D65</a> whitepoint used in sRGB and most other RGB spaces,\n\t\t\twith the linear Bradford transform. <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb⑧\">prophoto-rgb</a>' does not require this step." | 
| 102 | 102 |         }, | 
| 103 | 103 |         { | 
| 104 | 104 |           "html": "Convert from (D65-adapted) CIE XYZ to linear RGB" | 
|  | 
| 116 | 116 |           "html": "Convert Oklab to (D65-adapted) XYZ" | 
| 117 | 117 |         }, | 
| 118 | 118 |         { | 
| 119 |  | -          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①④\">D65</a> whitepoint (used by Oklab)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50⑧\">D50</a> whitepoint used in <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb①⓪\">prophoto-rgb</a>,\n\t\t\twith the linear Bradford transform." | 
|  | 119 | +          "html": "If needed, convert from a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d65\" id=\"ref-for-d65①⑤\">D65</a> whitepoint (used by Oklab)\n\t\t\tto the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-color-4/#d50\" id=\"ref-for-d50⑧\">D50</a> whitepoint used in <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb\" id=\"ref-for-valdef-color-prophoto-rgb①⓪\">prophoto-rgb</a>,\n\t\t\twith the linear Bradford transform." | 
| 120 | 120 |         }, | 
| 121 | 121 |         { | 
| 122 | 122 |           "html": "Convert from (D65-adapted) CIE XYZ to linear RGB" | 
|  | 
0 commit comments