meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Hasty Treat - Neat Things in CSS Color - Current and Coming!

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.9 • 1.2K Ratings

🗓️ 11 October 2021

⏱️ 27 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about all things color in CSS, both current and coming soon! Sentry - Sponsor If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up. Sanity - Sponsor Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax. Show Notes 04:39 - color-contrast() Part of CSS5! Maybe. The color-contrast() functional notation takes a color value and compares it to a list of other color values, selecting the one with the highest contrast from the list. 06:01 - Accent color https://davidwalsh.name/css-accent-color 07:34 - currentcolor https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword 08:54 - Profiled color values - color() https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color() 11:00 - color-mix() https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix() The color-mix() functional notation takes two color values and returns the result of mixing them in a given colorspace by a given amount. Would be handy for programmatically generating colors - 10% more blue for a border? Sure! 14:18 - Space-separated functional color notations rgba(255 255 255 0) instead of rgba(255,255,255,0.5) 15:28 - RGB and HSL with Alpha rgb() and hsl() can take alpha and percent values - rgb(0 0 0 / 50%) or rgb(0 0 0 / 0.5) 18:22 - Hex + Alpha values RRGGBBAA How do you remember?!?! Transparent 21:49 - lch(), lab(), hwb() notation CIELAB color space aka Lab is a color space. A color space is an organization of colors in coordination color profiling supported by various physical devices, it supports reproducible representations of color Lab is intended as perceptually uniform Perceptually uniform - a perceptual uniform color space ensures that the difference between two colors (as perceived by the human eye) is proportional to the Euclidian distance within the given color space. https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/ Links https://developer.mozilla.org/en-US/docs/Web/CSS/color_value https://twitter.com/argyleink Tweet us your tasty treats! Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday Monday Monday open wide dev fans get ready to stuff your face with javascript CSS node module barbecue tips get work flows break dancing soft skills web development the hastiest the

0:13.5

Carrazius the tastiest web development treats coming in hot. Here is West

0:19.2

Barracuda boss and Scott L. Toro Lugo to Linsky

0:25.2

Oh

0:27.2

Welcome to syntax on this Monday episode of syntax. We're going to be talking about the neat things of CSS. I'm your host

0:37.7

Scott to Linsky and my while I'm your co-host Scott to Linsky and with me as always is my co-host

0:44.7

West boss

0:46.2

Everybody what's an iron both doing like a standoff right now to see who who can like talk who's supposed to be talking right now

0:53.2

And so we'll pick it up

0:55.6

Who will pick it up that combined with video latency equals lots of lots of long pauses so in this episode

1:01.7

We're going to be talking all about the neat things in CSS color current incoming and we're just going to be talking about CSS color stuff because you know what

1:09.7

There's a lot of options in CSS and a lot of future options things that I'm personally really looking forward to tools that we've had in CSS

1:17.2

Three processors that have been here and things that could be coming to the browser new color spaces all that and more

1:23.6

So this episode is sponsored by two of our favorite S named companies century and

1:28.9

Sanity almost that santry and sanity

1:32.5

Sentry and sanity now

1:34.5

Sentry is the third place to track all of your errors and exceptions and that's sentry.io is the website

1:40.3

They have an awesome interface. You can catalog you can send things to get hub you can keep track of

1:46.9

Who had what error how many times that error came about what operating system the user data any of that stuff that you want to have one deep

1:54.0

Bug and error or let's just say there's a pesky error that comes about as a browser thing

1:57.8

You can't do anything about you just go go say hey, you know, I want to ignore this error

2:01.2

And I never want to never want to think about it again

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.