DEV Community

Discussion on: 8 SCSS Best Practices to Keep in Mind

Collapse
 
jafuentest profile image
Juan A. Fuentest Torcat

What's wrong with background-color: #000; ??

Collapse
 
liaowow profile image
Annie Liao

That one was not about colors, but using .class vs. #id, which is debatable, as you might notice from the comments. I should've kept the color code consistent, sorry for the confusion. That said, the guideline prefers RGB values, and here's their full explainer on colors: github.com/we-make-websites/wmw-co...

Collapse
 
jafuentest profile image
Juan A. Fuentest Torcat

It makes sense, I never thought about the readability of rgb vs hex. Probably cause I've been using hex for years xD