|
50 | 50 | "html": "Convert from linear RGB to CIE XYZ" |
51 | 51 | }, |
52 | 52 | { |
53 | | - "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." |
| 53 | + "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." |
54 | 54 | }, |
55 | 55 | { |
56 | 56 | "html": "Convert D50-adapted XYZ to Lab" |
57 | 57 | } |
58 | 58 | ] |
59 | 59 | }, |
60 | 60 | { |
61 | | - "html": "Conversion to Oklab is similar,\n\tbut the chromatic adaptation step\n\tis only needed for <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>.", |
| 61 | + "html": "Conversion to Oklab is similar,\n\tbut the chromatic adaptation step\n\tis only needed for <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>.", |
62 | 62 | "rationale": "convert", |
63 | 63 | "steps": [ |
64 | 64 | { |
|
68 | 68 | "html": "Convert from linear RGB to CIE XYZ" |
69 | 69 | }, |
70 | 70 | { |
71 | | - "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." |
| 71 | + "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." |
72 | 72 | }, |
73 | 73 | { |
74 | 74 | "html": "Convert D65-adapted XYZ to Oklab" |
75 | 75 | } |
76 | 76 | ] |
77 | 77 | }, |
78 | 78 | { |
79 | | - "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> also requires multiple steps,\n\tand again in practice all but the last step are linear calculations and can be combined.", |
| 79 | + "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> also requires multiple steps,\n\tand again in practice all but the last step are linear calculations and can be combined.", |
80 | 80 | "rationale": "convert", |
81 | 81 | "steps": [ |
82 | 82 | { |
83 | 83 | "html": "Convert Lab to (D50-adapted) 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 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." |
| 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 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." |
87 | 87 | }, |
88 | 88 | { |
89 | 89 | "html": "Convert from (D65-adapted) CIE XYZ to linear RGB" |
|
94 | 94 | ] |
95 | 95 | }, |
96 | 96 | { |
97 | | - "html": "Conversion from Oklab is similar,\n\tbut the chromatic adaptation step\n\tis only needed for <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>.", |
| 97 | + "html": "Conversion from Oklab is similar,\n\tbut the chromatic adaptation step\n\tis only needed for <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>.", |
98 | 98 | "rationale": "convert", |
99 | 99 | "steps": [ |
100 | 100 | { |
101 | 101 | "html": "Convert Oklab to (D65-adapted) XYZ" |
102 | 102 | }, |
103 | 103 | { |
104 | | - "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." |
| 104 | + "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." |
105 | 105 | }, |
106 | 106 | { |
107 | 107 | "html": "Convert from (D65-adapted) CIE XYZ to linear RGB" |
|
0 commit comments