how can i know the code of colors | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can i know the code of colors

8th Nov 2019, 3:21 PM
Muhammad Adamu Dan'iya
Muhammad Adamu Dan'iya - avatar
4 Answers
+ 8
The color codes are the representation of RGB. You just need to memorize one code i.e. #RRGGBB where RR represents the red color, GG represents the green color and BB represents the blue color. The color code for each color R, G or B ranges from 00 to FF which are hex values. The higher the value in each segment, more the color it contains. For example: #000000 means no color in each segment so it represents black color. #FFFFFF means the Code consists of 100% red, 100% green and 100% green. This link may also be helpful : https://www.smashingmagazine.com/2012/10/the-code-side-of-color/
8th Nov 2019, 4:37 PM
Nova
Nova - avatar
+ 6
9th Nov 2019, 12:44 AM
ASM
ASM - avatar
+ 2
Wow! Now THIS is very useful! :) ;)
9th Nov 2019, 6:37 PM
Lev
+ 1
Just search for something like "rgb to hex". You will get an field where you can adjust your needed color. And below that there is the rgb value. Then you can copy paste to the place you need. Note: Maybe it only works with Mozilla browser.
10th Nov 2019, 10:07 AM
Random.stroke