Background Colors | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Background Colors

How do I make a lighter or darker background, or blend two colours?

19th Oct 2018, 8:04 AM
James Dawson Rabena
James Dawson Rabena - avatar
2 Answers
+ 2
background-color:#ff0000; You can use gradient to work with multiple colors!! https://www.sololearn.com/learn/CSS/2242/
19th Oct 2018, 8:21 AM
AL Araf
AL Araf - avatar
+ 1
For changing color opacity use rgba If this helps https://code.sololearn.com/Wg0xa1VCx8bA/?ref=app For multiple colors in background If this helps https://code.sololearn.com/W6hZ56Duci5c/?ref=app Hope this helps ☺️☺️.
19th Oct 2018, 8:44 AM
Meet Mehta
Meet Mehta - avatar