{"id":1069,"date":"2024-03-01T10:56:39","date_gmt":"2024-03-01T16:56:39","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=1069"},"modified":"2024-03-01T10:56:39","modified_gmt":"2024-03-01T16:56:39","slug":"okay-color-spaces","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/okay-color-spaces\/","title":{"rendered":"Okay, Color Spaces"},"content":{"rendered":"\n<p><a href=\"https:\/\/ericportis.com\/posts\/2024\/okay-color-spaces\/\">Eric Portis did a bang up job explaining color spaces<\/a> on the web. sRGB is, as Eric puts it &#8220;the web\u2019s dominant, default color space&#8221;, but he doesn&#8217;t spend much time on that. Thanks to recent evolutions in web tech, we have access to a wider gamut of colors (P3) and more color spaces than we&#8217;ve had before. <\/p>\n\n\n\n<p>What is a color space? It is a way of modeling colors on a 3D graph this is&#8230; made up. They aren&#8217;t scientific truths or anything. They are just ideas from smart people that help us <em>do useful things <\/em>with colors, like interpolate between them for gradients. A color space might take on this responsibility: be able to change <em>one<\/em> of the values and have the result be predictable and and consistent. That&#8217;s what OKLCH does, why I&#8217;m <a href=\"https:\/\/chriscoyier.net\/2023\/01\/22\/ok-oklch-%F0%9F%91%91\/\">hot on it<\/a>, and I think you should at least know about it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eric Portis did a bang up job explaining color spaces on the web. sRGB is, as Eric puts it &#8220;the web\u2019s dominant, default color space&#8221;, but he doesn&#8217;t spend much time on that. Thanks to recent evolutions in web tech, we have access to a wider gamut of colors (P3) and more color spaces than [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[81,7],"class_list":["post-1069","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-color","tag-css"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2024\/03\/color-space-thumb.jpg?fit=1000%2C500&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/1069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=1069"}],"version-history":[{"count":1,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/1069\/revisions"}],"predecessor-version":[{"id":1100,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/1069\/revisions\/1100"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/1101"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=1069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=1069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=1069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}