Should you use rgba(0, 0, 0, 0) or rgba(255, 255, 255, 0) for transparency in CSS?
The last parameter to the rgba() function is the “alpha” or “opacity” parameter. If you set it to 0 it will mean “completely transparent”, and the first three parameters (the red, green, and blue channels) won’t matter because you won’t be able to see the color anyway. With that in mind, I would choose rgba(0, 0, 0, 0) because: it’s less typing, it keeps a … Read more