I saw something about opacity and I Wis to apply it to a background color. How do I go about it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I saw something about opacity and I Wis to apply it to a background color. How do I go about it?

It's in CSS. I learnt it can be applicable to other features not only images

8th Oct 2020, 8:30 AM
Babalola Ibrahim
Babalola Ibrahim - avatar
1 Answer
+ 7
rgba(255, 0, 0, 0.5) This has red color with 50% opacity. RGB means red,green,blue and A means alpha. Alpha means opacity
8th Oct 2020, 8:31 AM
Steve Sajeev
Steve Sajeev - avatar