Tools for learn RGB css colors? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Tools for learn RGB css colors?

5th May 2018, 9:46 PM
Cristopher Pereira Moreira
Cristopher Pereira Moreira - avatar
4 Answers
+ 12
Red Green Blue xx xx xx x is a hexadecimal value (0 to F) not much more to it besides experimentation ;)
5th May 2018, 9:57 PM
Burey
Burey - avatar
+ 4
few helpful links of online tools I use for picking colors in the code itself https://code.sololearn.com/W5Of8safsGpc/?ref=app
8th May 2018, 3:38 PM
Morpheus
Morpheus - avatar
+ 2
In RGB each color is represented by a number 0 - 255. 256 positions. That's 2^8. In Hex there are 16 numbers 0-F. To get 256 we need 2 hex decimals. 16×16=256. So for red The RGB is 255, 0, 0. In hex that is FF (16x16=256, but it starts at 0 so 255). 00 is 0 for G and 00 is 0 for B. 00 = 0 01 = 1 0A = 11 1F = 16 etc So when you look at a hex you probably won't know the exact color but you can guess because you'll know the relative amounts of r g and b. Practice with a color wheel in your favorite graphics software or on a website to see what the different combinations do.
5th May 2018, 10:15 PM
Adam
Adam - avatar