Dev Tips: DevTools: Accessible colour suggestions  🎨

Dev Tips

 

DevTools: Accessible colour suggestions

I'll be doing an AMA in a few hours! Feel free to ask anything you're curious about!
 

Introduction

For a while now, DevTools has been able to check whether the foreground text colour has a good enough contrast against the background color.

The contrast ratio tool typically presents a colour spectrum where you can experiment with finding more accessible colours to make text more legible. This process is now even easier as DevTools provides an accessible colour suggestion which you can apply with a single click.
 

How to use this feature

  1. Inspect a text based element with Chrome DevTools.
  2. Locate the color property (it's in the Styles pane).
  3. Next to the color property, select the small coloured square. This opens the colour picker tool.
  4. Select the text labelled 'Contrast ratio'.
  5. Select a colour suggestion.
 

Conclusion

Applying minimum contrast ratio (AA) or enhanced contrast ratio (AAA) colours to text on your page can greatly improve the legibility for your users, so do try out this feature - it's currently in Canary but should make its way to stable soon.

Extra: Aside from suggesting accessible colours, DevTools can also suggest an entire colour palette based on the colours it has determined are present on your page.


See the web version of this email here: umaar.com/dev-tips/236-accessible-colour-suggestions
 

Email Marketing Powered by Mailchimp

Copyright © 2020 Umar, All rights reserved.
You are receiving this email because you signed up for Dev Tips.

unsubscribe from this list    update subscription preferences 

Older messages

A few updates from me ⭐️

Friday, August 28, 2020

Updates from me, including new blog posts, and information on my courses A few updates from me ⭐️ Hi there! I send ~5 personal emails a year. In this one, I have useful content to share with you! But

Dev Tips: JavaScript: Native Smooth Scrolling ⚡️

Thursday, August 6, 2020

Dev Tips JavaScript: Native Smooth Scrolling A quick note from me I'll be doing a Smashing Workshop on Testing + Browser Automation, please check it out, or their other workshops. They've been

Dev Tips: DevTools: Customise Your User Agent

Thursday, July 30, 2020

Dev Tips DevTools: Customise Your User Agent Introduction You can set a custom user agent in the Network Overrides Pane. If for example, a website changes its behaviour based on the user agent (a

Dev Tips: DevTools: Tips for changing values in HTML & CSS

Thursday, July 23, 2020

Dev Tips DevTools: Tips for changing values in HTML & CSS Introduction You can easily change numeric values in DevTools. This is a handy feature for when you want to quickly prototype CSS property

Dev Tips: DevTools:️ How deactivated CSS styles works

Thursday, July 16, 2020

Dev Tips DevTools: How copying and pasting deactivated CSS styles works DevTools has some small, yet handy features when it comes to dealing with styles. If you copy some deactivated style rules, they

You Might Also Like

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 438 Release Date Nov 21, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual