A few good tips on adjusting the color hue, opacity, and evenly distributing color handles.
Here are some helpful gradient tips for @Figma:
— Joshua Guo (@jgspace_design) September 6, 2023
- Scroll: Adjust the color hue.
- Option / Alt + Scroll: Adjust the opacity.
- Double-click handle: Evenly distribute the color handles. pic.twitter.com/N8gI79r8ho
Somehow I missed that deep dive into color theory, perception of contrast, and human physiology by Andrew Somers, author of APCA and a co-author of the future WCAG 3 accessibility guidelines. “This new method directly considers perceptual lightness/darkness differences of text against a background, and generates a “lightness contrast” value, noted as Lc. From here, we can determine the minimum size and weight of a font that is going to be fluently readable, and together these calculated predictions can guide our design choices.” He provides some practical guidelines for the transitional period, where we know that existing guidelines are expected to be revised or replaced. (Worth mentioning that my tool Accessible Palette supports both WCAG 2 and APCA contrast algorithms. Also, see the new Polychrom plugin below.)
Molly shares the best practices for working with color that she learned from the Adobe Spectrum design system.
💡 Figma tip: 5 color best practices I'm stealing from Adobe Spectrum while I update my design system to include variables ✨🎨
— Molly Hellmuth (@molly_hellmuth) August 11, 2023
Keep reading for tips & examples.. pic.twitter.com/rVMX1Zp6oJ
The introduction of wide gamut Display P3 colors to the design tools “broke” the familiar hex notation that all of them have been relying on. The transition to modern notations will be painful and take time. I share some context in this thread, but the main takeaway is to NOT use the #RRGGBB
values for hand-off or external tools when working with P3 colors.
The newly introduced Display P3 support in @figma is a good opportunity to talk about use of the hex format for colors in design tools. The #RRGGBB format comes from CSS and is limited to sRGB. Using it for P3 colors creates a few problems. 🌈🧵 pic.twitter.com/Eqqq7VClyz
— Eugene Fedorenko (@efedorenko) August 7, 2023
Andrey Sitnik (author of PostCSS and Autoprefixer, used on pretty much every website) goes a little deeper into platform-independent (CSS) vs. platform-specific (Figma, Photoshop) implementation of P3. He also added “Figma P3 hex” as one of the accepted formats to OkLCH Color Picker, which makes using Figma values in OkLCH much easier.
Figma has added P3 support, but there is a tricky.
— @sitnik_en@mastodon.social (@sitnikcode) August 8, 2023
↓ A little thread about:
— Why do you need P3 colors?
— An in-depth review of Figma’s P3 implementation
— How to design apps with P3 colors
— Why you need https://t.co/o86BbxR7Td to bring P3 colors to CSS pic.twitter.com/9IASqGf5AS
Christine Vallaure reminds us of using Selection Colors for applying variables to multiple objects.
Tip: Quickly add #figma color variables. Don't select each element individually -make a bulk selection and jump to "Selection colors" at the end of your properties panel. Easy and efficient! This way, you ensure you don't miss any elements and can even out slight color imbalances pic.twitter.com/NZsHU9a16A
— Christine Vallaure (@moonlearning) July 31, 2023
An interesting challenge from Miguel Solorio — how to make nested icons in a component inherit color overrides when switching between outline and solid styles without having to outline the strokes? Two solutions that surfaced in comments are using a mask or a union.
👀🔎 Have been trying to figure out how to make nested icons in @figma components inherit color overrides when switching between outline and solid styles without having to outline the strokes. Does anyone know of any ✨ magic ✨ to make that happen? My research tells me no... pic.twitter.com/aamVgToJgQ
— Miguel Solorio (@miguelsolorio_) August 2, 2023
So excited about this release! I spent a good chunk of my Config talk discussing workarounds for using wide gamut colors in Figma, and this update addresses them all. See this thread by Qi Linzhi on the engineering challenges of implementing support for Display P3.
The next thing I hope for is a more precise way to select colors. Figma relies on hex values in the UI, but they’re supposed to be limited to sRGB and aren’t representative of what you’ll see in the browser. The Dev Mode uses the correct color(display-p3 R G B)
syntax as an output, but that doesn’t help much with input. Besides that, I’d like to see when the color is outside of the sRGB range and what is its closest fallback. OkLCH isn’t the easiest color space to use, but OkLCH picker gets that part right.
Jan Toman made an unofficial Figma library of variables and styles that use the default Tailwind CSS configuration.
Library with all colors from Radix Colors, an open-source color system for designing beautiful, accessible websites and apps. Also made by Jan using variables and light/dark modes.
Luis shares good tips and thoughts on using, naming, and organizing color variables, as well as setting up modes for themes. Additionally, he summed up all of the above into a Variable starter kit on the Figma Community.
Been asked a lot over the past few days about how to get started with colour variables, so here are some pointers 🖍️
— luis. (@disco_lu) June 30, 2023
Hope this is useful! pic.twitter.com/7OEpNh3v4m
Did you know that you can use math inside color values in Figma? Really cool.
Figma Tip: Use Math Inside Any Field 🧮
— Michael Yagudaev 🧑🏻💻🇨🇦 (@yagudaev) June 6, 2023
You can use +, -, *, /, ^, (, ) with a number.
Super helpful for animations. pic.twitter.com/yKgU5hIV4G
Denislav Jeliazkov from UI Learn shows quick ways to improve the use of colors in interfaces.
You know I love color tooling! GitHub has been doing some excellent work on its color system, which is the foundation of the Primer design system. Last year they wrote about building internal color tooling for theme building, and in the new post, they share their process for making contrast changes in both default light and dark modes as part of GitHub’s larger accessibility strategy.
So happy to see that this geeky tool hit 2nd place as a Product of the Day at ProductHunt last week! Its author Roman Shamin collaborated with me on Accessible Palette in the past and built a few other projects featured in this newsletter. While the UI of the color picker may seem complicated at first, its guiding principle was educating and demonstrating new concepts underlying the OKLCH and LCH color spaces. It’s my go-to tool for working with these color spaces and wide-gamut P3 colors.
For additional context, see an in-depth article OKLCH in CSS: why we moved from RGB and HSL by Roman’s co-author on using OKLCH color space in code, as well as my article Accessible Palette: stop using HSL for color systems on using perceptually uniform color spaces as a foundation for design systems.
Figma always supported #RGB
and #RRGGBB
CSS syntaxes in color fills, but now you can also use rgb()
, rgba()
, hsl()
, and hsla()
. Pretty neat!
This new color palette generator took “design Twitter” by storm last week, and for a good reason! “Poline is an enigmatic color palette generator, that harnesses the mystical witchcraft of polar coordinates. Its methodology, defying conventional color science, is steeped in the esoteric knowledge of the early 20th century. This magical technology defies explanation, drawing lines between anchors to produce visually striking and otherworldly palettes.”
While Figma doesn’t have native support for color tokens yet, Luis kicks off a discussion of how they might work in the future. His approach is similar to how I usually organize color tokens in CSS, so hopefully that will be the direction they take!
There are a lot of questions at the moment about colour tokens and Figma soooo
— luis. (@disco_lu) February 15, 2023
I thought I'd thread some thoughts on it to create a healthy discussion in public 🧂 pic.twitter.com/M2SINRwMER
A preview of a new Figma plugin that offers Paper-like paint mixing. That demo brought so many memories! Paper used to be my go-to drawing app on the iPad a decade ago. Love to see some of its smart UI elements getting a second life as Figma plugins.
Colorwell is a new Figma plugin that offers you Paper-like paint mixing. Use and store a 5 color palette for mixing. You can also drag an image in to sample a palette from.
— Dustin Mierau (@dmierau) February 3, 2023
Mixing uses a Kubelka-Munk model to mix colors in a way that’s similar to mixing paint. 🙂
Coming soon! pic.twitter.com/aP1kwsjOzH
Dan Hollick with a great thread on light and dark modes, perceived contrast, APCA, and why we tend to tint dark backgrounds blue.
Why is making a dark mode greyscale so hard to get right?
— Dan Hollick 🇿🇦 (@DanHollick) February 1, 2023
Well, of course it has to do with the weird way humans perceive colour and contrast. 👇 pic.twitter.com/3Z8SKxghSk