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:

Build an image editor with Fabric.js v6

In web development projects, developers typically create user interface elements with standard DOM elements. Sometimes, web developers need to create […]

Shalitha Suranga
Sep 9, 2024 â‹… 12 min read

Creating toast notifications using Solid Toast

Toast notifications are messages that appear on the screen to provide feedback to users. When users interact with the user […]

Chimezie Innocent
Sep 6, 2024 â‹… 7 min read
Deno Adoption Guide: Overview, Examples, And Alternatives

Deno adoption guide: Overview, examples, and alternatives

Deno’s features and built-in TypeScript support make it appealing for developers seeking a secure and streamlined development experience.

Emmanuel Odioko
Sep 5, 2024 â‹… 10 min read
Types vs. Interfaces in TypeScript

Types vs. interfaces in TypeScript

It can be difficult to choose between types and interfaces in TypeScript, but in this post, you’ll learn which to use in specific use cases.

Yan Sun
Sep 5, 2024 â‹… 9 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