RGBA code for red color

jay picture jay · Mar 6, 2011 · Viewed 78.2k times · Source

I'm looking for RGBA code for red color with opacity: Can someone tell me how can i find about it?(or where i can learn more about RGBA colors? Thanks.

Answer

McKayla picture McKayla · Mar 6, 2011
rgba(red, green, blue, alpha)

The range for red, green and blue is 0-255. The high the number, the more presence the color shows.

The range for alpha is 0.0-1.0. The higher the number, the higher the opacity.

Fully opaque red would be rgba(255, 0, 0, 1)