Make me learn rgb colors in html. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Make me learn rgb colors in html.

I'm not getting it

24th May 2019, 11:33 AM
thiru
3 Answers
+ 2
rgb as the name said its a representation of color by the intensity of red green and blue mixed to get the color. the intensity is ranging between 0 to 255 or 0 to FF. for example we want a red-ish color, that means we need to increase the intensity of red above the other. R: 255; G: 0; B:0; what about a purple ? its a we know its a mix of red and blue. so it'll be R: 255; G: 0; B: 255; sometimes we see color in hexadecimal notation, its actually the same, first 2 digit is red next 2 is green and last 2 digit is blue. for example for color red is #FF0000 FF 00 00 255 0 0 and purple is #FF00FF FF 00 FF 255 0 255
24th May 2019, 12:49 PM
Taste
Taste - avatar
+ 1
Thank you Mr.taste
24th May 2019, 6:00 PM
thiru
0
I tried it a number of times but still I'm in the same state
24th May 2019, 11:34 AM
thiru