Search
New Nintendo Switch Is In Mario Colors And Looks Fantastic
12.1.2021
Yeah, the Switch originally launched in red + blue, but this new colour scheme for the console is even more red + blue.Read more
The PS5's DualSense Is The Perfect Canvas
7.1.2021
One of my first thoughts upon seeing the futuristic armored look of the PlayStation 5’s Dualsense controller was, “Man, I bet that’s going to look awesome with a custom paint job.” Indulging my pink and black obsession, the painting pros at Colorware have confirmed my hypothesis.Read more
Custom Properties as State
5.1.2021
Here’s a fun idea from James Stanley: a CSS file (that presumably updates daily) containing CSS custom properties for “seasonal” colors (e.g. spring is greens, fall is oranges). You’d then use the values to theme your site, knowing that those …
The post Custom...
Holy Cayde-6, You Can Buy Back Your Old Colors In Destiny 2
3.12.2020
Earlier today, I wrote about how I’ve been playing a whole lot of Destiny 2 these days. I messed around with Bungie’s hilariously good-vs.-evil shooter at launch, then dipped out. Returning after a few years away for the recent Beyond Light expansion meant reacquainting myself with a whole lot...
Mixing Colors in Pure CSS
16.11.2020
Red + Blue = Purple… right?
Is there some way to express that in CSS? Well, not easily. There is a proposal draft for a color-mix function and some degree of interest from Chrome, but it doesn’t seem right around the corner. It would be nice to have native CSS color mixing, as it would give...
CSS in 3D: Learning to Think in Cubes Instead of Boxes
23.10.2020
My path to learning CSS was a little unorthodox. I didn’t start as a front-end developer. I was a Java developer. In fact, my earliest recollections of CSS were picking colors for things in Visual Studio.
It wasn’t until later that I got to tackle and find my love for the front end....
Using JavaScript to Adjust Saturation and Brightness of RGB Colors
6.10.2020
Lately I’ve been taking a look into designing with color (or “colour” as we spell it where I’m from in New Zealand). Looking at Adam Wathan and Steve Schroger’s advice on the subject, we find that we’re going to need more than just five nice looking hex codes from a color palette...
Using a brightness() filter to generically highlight content
12.9.2020
Rick Strahl:
I can’t tell you how many times over the years I’ve implemented a custom ‘button’ like CSS implementation. Over the years I’ve used images, backgrounds, gradients, and opacity to effectively ‘highlight’ a control. All that works of course,...
Collective #622
10.9.2020
react-three-flex * AVIF has landed * Parsel * How they test * Colors for your data visualizations
The post Collective #622 appeared first on Codrops
Nailing the Perfect Contrast Between Light Text and a Background Image
7.8.2020
Have you ever come across a site where light text is sitting on a light background image? If you have, you’ll know how difficult that is to read. A popular way to avoid that is to use a transparent overlay. But this leads to an important question: Just how transparent should that overlay...
Privacy-Enhancing Protocol Cashfusion Completes Security Analysis
30.7.2020
Just a few days prior to the Bitcoin Cash anniversary, BCH fans found out that the Cashfusion audit from Kudelski Security is now complete. Electron Cash engineer Jonald Fyookball announced the audit was finished and said the protocol “passed, mostly with flying colors.” Last February...
New in Chrome: CSS Overview
1.7.2020
Here’s a fancy new experimental feature in Chrome! Now, we can get an overview of the CSS used on a site, from how many colors there are to the number of unused declarations… even down to the total number of defined media queries.
Again, this is an experimental feature. Not only does that...
Collective #608
4.6.2020
ScrollTrigger * A user’s guide to CSS variables * Twin * CUBE CSS * Consoleimg * Colors in CSS
The post Collective #608 appeared first on Codrops
The Expanding Gamut of Color on the Web
27.5.2020
CSS was introduced to the web all the way back in 1996. At the time, most computer monitors were pretty terrible. The colors of CSS — whether defined with the RGB, HSL, or hexadecimal format — catered to the monitors of the time, all within the sRGB colorspace.
Most newer devices have a wide-gamut...
Collective #601
9.4.2020
LCH colors in CSS * Frontend Mentor * Responsive Images the Simple Way * Button?Design * Interactive Timetable
Collective #601 was written by Pedro Botelho and published on Codrops
How to build a bad design system
31.3.2020
I didn’t realize this until it was far too late, but one of the biggest mistakes that’s made on a design systems team is a common mismanagement issue: there are too many people in a meeting and they have too many dang opinions.
Is there a conversation about the color of your buttons that’s taking...
Wide Gamut Color in CSS with Display-P3
31.3.2020
Here’s something I’d never heard of before: Display-P3 support in CSS Color Module Level 4 spec. This is a new color profile supported by certain displays and it introduces a much wider range of colors that we can choose from.
Right now the syntax looks something like this in CSS:
header...
Hex Opacity Table
6.3.2020
We’ve used hex colors for years but 8-digit hexadecimal is still relatively new. While rgba is simple to understand, 8-digit hex is more difficult, as you need to provide a hex representation of a numeric value. The following is a hexadecimal chart of opacity! 100 FF 99 FC 98 FA 97 F7 96...
4 Ways to Animate the Color of a Text Link on Hover
3.3.2020
Let’s create a pure CSS effect that changes the color of a text link on hover… but slide that new color in instead of simply swapping colors.
There are four different techniques we can use to do this. Let’s look at those while being mindful of important things, like accessibility, performance,...
Chameleonic Header
26.2.2020
Nice demo from Sebastiano Guerriero. When a fixed-position header moves from overlapping differently-colored backgrounds, the colors flop out to be appropriate for that background. Sebastiano's technique is very clever, involving multiple copies of the header within each section (where the copies...