---
title: "Declaring color with oklch()"
publication: "Frontend Focus"
issue: 565
published_at: "2022-10-26"
canonical_url: "https://frontendfoc.us/issues/565"
---

Plus the WebKit features you need to know about in Safari 16.1, and speaking out on CSS speech. |       

Together with [![Userfront\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_600,h_110/e_make_transparent/co_white,e_outline:7/lnopbsxefrqqsjq14fvr.png)](https://userfront.com/tutorials/react-authentication)         

#​565 — October 26, 2022 | [Read on the web](https://frontendfoc.us/issues/565)       

![](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1666778954/m0sk3zo56n0gppdnckfu.png) 

Image via: [Evil Martians](https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl)  

[OKLCH in CSS](https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl) — The new [CSS Color Module 4](https://www.w3.org/TR/css-color-4/) adds many fresh ways to declare color in CSS, including the experimental `oklch()` — this post dives into why it’s the most interesting, how it works, and why you may want to adopt it over RGB and HSL someday. (_[Support is limited right now](https://caniuse.com/mdn-css_types_color_oklch)_.) 

Andry Sitnik & Travis Turner   

[Let's Talk About Web Components](https://bradfrost.com/blog/post/lets-talk-about-web-components/) — Brad looks at how web components can help deliver design system component libraries and their compatibility with JS libraries and frameworks. Noting that “_web components are part of the web_”. That they are good for the web, and that “_we should be rooting for them_”. 

Brad Frost   [![\](https://copm.s3.amazonaws.com/ad184f80.png)](https://userfront.com/tutorials/react-authentication) 

[React Authentication, Simplified](https://userfront.com/tutorials/react-authentication) — In this article, we lay out a new approach to authentication (plus access control & SSO) in React applications. 

Userfront sponsor   

[Why We Need CSS Speech](https://tink.uk/why-we-need-css-speech/) — The CSS Speech Module (currently [a candidate recommendation](https://www.w3.org/TR/css-speech-1/)) is a set of CSS properties intended to let authors design the aural presentation of content. Léonie notes how currently the spec is too big, and needs slimming down so it can move forward. 

Léonie Watson     

**⚡️ IN BRIEF**   

- The proposed ['Element Capture' API](https://github.com/WICG/proposals/issues/73) will allow a site to capture an HTML element as a video stream.
- [Here's a handy roundup of recent developments in the browser devtool space](https://www.smashingmagazine.com/2022/10/devtools-updates-halloween-edition/) across Firefox, Chrome, Safari, and Edge.
- The CSS Working Group has [published two First Public Working Drafts](https://www.w3.org/blog/news/archives/9723), one defining the [View Transition API](https://www.w3.org/TR/2022/WD-css-view-transitions-1-20221025/), and another for [scroll-linked animations](https://www.w3.org/TR/2022/WD-scroll-animations-1-20221025/).
- Google is [ending support for future Chrome updates on Windows 7 / 8.1](https://support.google.com/chrome/thread/185534985/sunsetting-support-for-windows-7-8-1-in-early-2023?hl=en) early next year.
- Mozilla "[deserves our love](https://www.theregister.com/2022/10/24/firefox_pdf_column/)" for implementing a better PDF reader in the new Firefox 106.
- 🎂 [Happy 21st birthday](https://www.webdesignmuseum.org/web-design-history/wayback-machine-2001) to the ever valuable Wayback Machine — _launched in October 2001_.
- If you're looking for some inspiration, [this site brings together the 'best' dark mode implementations](https://darkmodes.com/) from across the internet.    

📙 **Tutorials, Articles & Opinion** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1666734533/xy4w3401klcmrfhqcbyy.jpg)](https://webkit.org/blog/13399/webkit-features-in-safari-16-1/)  

[WebKit Features in Safari 16.1](https://webkit.org/blog/13399/webkit-features-in-safari-16-1/) — Safari 16 is now available on both macOS Ventura and iPadOS 16. This post digs into the new features this version brings, including [Web Push](https://webkit.org/blog/12945/meet-web-push/) notifications, [passkeys](https://developer.apple.com/videos/play/wwdc2022/10092/), support for animated AVIF images, [scroll to text fragment](https://wicg.github.io/scroll-to-text-fragment/) (_that's the ability to specify a text snippet in the URL fragment_), and plenty of nice CSS fixes. 

Jen Simmons (WebKit)   

[Building a Better Web - A Faster YouTube on the Web](https://web.dev/better-youtube-web-part1/) — Here’s a case study looking over the changes the YouTube Web team has made to improve performance and increase Core Web Vitals pass rates at the video giant. 

Addy Osmani & Sriram Krishnan (Google)   [![\](https://res.cloudinary.com/cpress/image/upload/w_330,e_sharpen:60,q_auto/v1666735822/ya8tu0rvbwqk4tncz6be.png)](https://web.dev/css-animated-grid-layouts/) 

[CSS Animated Grid Layouts](https://web.dev/css-animated-grid-layouts/) — Chrome 107 joins other browsers in now supporting interpolation of `grid-template-columns` and `grid-template-rows`. As explained here, this allows for smooth transitions between states (instead of snapping at the halfway point of an animation). 

Bramus   

[Futuristic CSS](https://www.smashingmagazine.com/2022/10/futuristic-css/) — Takes a look at some far-fetched and futuristic CSS features that might one day make their way to the browser. 

Sacha Greif   

[Highly Customizable Background Gradients](https://cloudfour.com/thinks/highly-customizable-background-gradients/) — How to create a complex but highly customizable background gradients that can be modified easily using CSS custom properties. 

Scott Vandehey  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1666736999/oxi3drkf55fritrevwnj.png)](https://patrickbrosset.com/articles/2022-10-24-do-you-really-understand-CSS-radial-gradients/)  

[Do You Really Understand CSS `radial-gradients`?](https://patrickbrosset.com/articles/2022-10-24-do-you-really-understand-CSS-radial-gradients/) — A fairly comprehensive dive into how radial gradients function, with plenty of detail that will no doubt help you improve your understanding of them too. 

Patrick Brosset   

[Speaking up For Sass](https://www.brycewray.com/posts/2021/04/speaking-up-for-sass/) — In this post from last year the author concedes that although it may not be the ‘coolest’ thing right now, Sass/SCSS is still an invaluable part of web development. (_This post has resurfaced again recently [due to this Hacker News thread](https://news.ycombinator.com/item?id=33299506)_.) 

Bryce Wray   

[Twitter Reminds Us About Alt Text, But How Good Are We At It?](https://uxdesign.cc/twitter-reminds-about-alt-text-but-how-good-are-we-at-it-f300af5d7787) — Humble observations on how people describe photos, artworks, and memes. 

Slava Shestopalov   

[Shortcut Brings Product and Engineering Together. Try It for Free](https://shortcut.com/?utm_source=cooperFRONTEND&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=pmeng) 

Shortcut (formerly Clubhouse.io) sponsor   

[What is Cross-Origin Resource Sharing (CORS)?](https://simplelocalize.io/blog/posts/what-is-cors/) 
Jakub Pomykała   

[How to Use `storage` in Web Extensions](https://davidwalsh.name/chrome-extension-storage) 
David Walsh   

[Is There Too Much CSS Now?](https://css-tricks.com/is-there-too-much-css-now/) 
Sacha Greif  

🔧 **Code, Tools & Resources**  

[a17t: A Tailwind CSS Plugin to Build UIs with Atomic Components](https://a17t.miles.land/) — This works as a kind of step up from Tailwind. You don’t have to build from nothing, but the components aren’t too opinionated, providing a fairly neutral design language to work with. 

Miles McCain   

[DevTools-X: A Cross-Platform Collection of Offline-First Developer Utilities](https://github.com/fosslife/devtools-x) — A collection of tools similar to those native to Mac/Windows. Includes utilities for color, images, JSON, Regex, SQL, and even a live React playground. 

fosslife   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1666703988/tdhr1ajporo5ffhlhdis.png)](https://github.com/Rezmason/matrix)  

[Matrix: A Web Implementation of the 'Raining Green Code' from the _Matrix_ Movies](https://github.com/Rezmason/matrix) — [See it in action here](https://rezmason.github.io/matrix/). This has been around for a while but it recently was [mentioned](https://www.vice.com/en/article/88qvn3/coder-makes-matrix-green-rain-simulator-that-lilly-wachowski-says-is-better-than-the-original) in _Vice Motherboard_, and commented on by one of the creators of the film franchise. 

Rezmason   

[Send Email, Push and SMS with Smart Routing, with Just 8 Lines of Code](https://www.courier.com/?utm_campaign=cooper-press&utm_source=email&utm_medium=frontend-focus-10-26-sponsored-link&utm_content=homepage) — Send notifications from right within your application using the Courier API. One call, that's all, and send any template to any channel. 

Courier.com sponsor   

[Satori: Convert HTML and CSS to SVG](https://github.com/vercel/satori) — A new ‘enlightened’ library from Vercel. Supports the JSX syntax. 

Vercel   

[98.css: CSS for Building Faithful Recreations of Windows 98](https://jdan.github.io/98.css/) — We last linked this three years ago, but it’s doing the rounds again. If for any reason you need your site’s interface to look like Windows first did 24 years ago.. 😆 

Jordan Scales     

🧑‍💻 JOBS  

[Software Engineer](https://www.stickermule.com/career/6de4ccd8-7e58-4b65-9a25-62354972bdbd) — Join our "kick ass" team. Our software team operates from 17 countries and we're always looking for more exceptional engineers. 
Stickermule   

[Find Frontend Engineering Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-frontendfocus%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired   

[Software Engineer (Security)](https://www.stickermule.com/career/2482befb-4aa7-4372-98d7-042aaf774315) — Join our "kick ass" team. Our software team operates from 17 countries and we're looking for more exceptional engineers to join our Security team. 
Sticker Mule      

📬 

**Got a new email address?** You can [change your email here](https://frontendfoc.us/edit_subscription/*|UID|*). 

--- 

**Bored of us?** Click [here to stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll take a look. 

--- 

Published by Cooper Press Ltd.
Curated by [Chris Brandrick](https://twitter.com/chrisbrandrick) & [Peter Cooper](https://twitter.com/cooperx86).
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*)  

[Ipx.](https://frontendfoc.us/open/565/*|UID|*?ipx=t)
