2022-01-18
2333
#css
Coner Murphy
87061
Jan 18, 2022 â‹… 8 min read

An advanced guide to setting colors in CSS

Coner Murphy Web developer, content creator, and tech entrepreneur building phytype.com. I post about web dev, tech entrepreneurship, and financial freedom on my Twitter and blog.

Recent posts:

here's why everyone's going crazy over Zod 4

Here’s why everyone’s going crazy over Zod 4

Zod 4 is not just an update; it’s a leap forward for schema validation in TypeScript that truly lives up to the hype.

Popoola Temitope
May 5, 2025 â‹… 4 min read
A guide to the CSS cursor property

Creating custom mouse cursors with CSS

Learn what custom cursors are and how to use CSS and JavaScript to create custom cursors that will give your website a creative edge.

Samson Omojola
May 5, 2025 â‹… 8 min read
best JavaScript and HTML5 game engines

Best JavaScript and HTML5 game engines (updated for 2025)

Check out this guide, which ranks the top 10 JavaScript/HTML5 game engines by popularity, capability, and use case.

Solomon Eseme
May 2, 2025 â‹… 15 min read

React Compiler RC: What it means for React devs

The React team officially released the first Release Candidate (RC). Let’s go over what’s new in RC and what it means for React developers.

David Omotayo
May 2, 2025 â‹… 7 min read
View all posts

2 Replies to "An advanced guide to setting colors in CSS"

  1. HEX is actually easier and faster than RGB. The HEX color code consists of the same three parts, red, green and blue, defined in two-digit HEX values ranging from 00 (=0 in decimal) to FF (= 255 in decimal ). So, a bright red would be #FF0000 in HEX and RGB(255,0,0) in, well, RGB. That’s FF or 255 of red, 0 of green, 0 of blue. Which one is faster to type and cleaner to read?

Leave a Reply