0
Make me learn rgb colors in html.
I'm not getting it
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
+ 1
Thank you Mr.taste
0
I tried it a number of times but still I'm in the same state