3min chapter

JS Party: JavaScript, CSS, Web Development cover image

CSS Color Party 🎉

JS Party: JavaScript, CSS, Web Development

CHAPTER

CSS for Lightening and Darkening Colors

The color mix function allows you to lighten and darken colors. There's also one called relative color syntax, which allows you to derive colors from other ones. This is again like a designer give you a hex color and you need to do manipulations on it. You can now say colors. We're going to use the color function like we were talking about earlier with display P three color open parentheses for example.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode