1

I am more and more using rgba color codes for text in my stylesheets as it easily sets a lighter or darker variation of the color I need (white 80%, black 40%, etc.).

Is there a downside in using rgba color codes as opposed to hexa codes for text? If I want a text to be grey, is rgba(0,0,0,.5) heavier to render than #898989?

Thanks!

Cécile Boucheron
  • 649
  • 1
  • 6
  • 11

1 Answers1

0

I think this is more of a personal option. To me, using hexa codes is easier. It's the same thing at the end of it all. I think it really doesn't matter which one you choose, and won't make any noticeable difference concerning the performance. So, use what makes you more productive! :)

Guilherme Vaz
  • 380
  • 1
  • 2
  • 14