Rgba stands for red, green, blue and what?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Rgba stands for red, green, blue and what??

i figure the code "rgba" is the abbreviation for Red, Blue, Green, and something starts with "a". Is "a" stands for "area"? My guess is that when the graphic is 3D, the value of "a" could then specify which color is for which surface. Could someone help me understand this??

3rd Sep 2018, 4:02 PM
Johnny Jiang
Johnny Jiang - avatar
2 Answers
+ 14
a is alpha which is for opacity. It ranges from 0.0 (completely transparent) to 1.0 (completely opaque)
3rd Sep 2018, 4:05 PM
Harsh
Harsh - avatar
4th Sep 2018, 8:50 AM
Janningā­
Janningā­ - avatar