S
S
SerenePawn2018-09-22 18:30:56
css
SerenePawn, 2018-09-22 18:30:56

Are hex transparent colors different from rgba()?

At random, I accidentally discovered an "anomaly" in HEX colors, which I did not see anyone talking about. I didn’t quite understand how to find it, maybe Google should have scoured better. The bottom line is that everyone is used to using rgba(), but if you use #0009 (translucent black = #00000099) instead, would there be a difference? Do browsers that don't support rgba() support this? Or is it all the same?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2018-09-22
@SerenePawn

https://stackoverflow.com/questions/7015302/css-he...

A
Anton Chukseev, 2018-09-22
@Toxa-proger

No, but rgba() is more convenient for gradient - less writing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question