JS Party: JavaScript, CSS, Web Development cover image

CSS Color Party 🎉

JS Party: JavaScript, CSS, Web Development

CHAPTER

JavaScript and the Relational Color Syntax

In the browser, there's math in the CSS specs on how to resolve that. So you've got like color number one is hex something, right? You're like SDR color. And then the other color is OKLCH something turbo rad cyan. Well, it will interpolate in one color space, but you can put colors from two. There's also a lot of color libraries to work with. Eventually, there's going to be an object model for it so that you'll get a rich object back That has the channels already broken out for you into RGB or LCH and stuff like that.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner