AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.