Can anyone help me understand specific colors when represented by hexadecimal values? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone help me understand specific colors when represented by hexadecimal values?

I don't understand how I can write yellow using hexadecimal values

7th May 2018, 5:57 PM
Sabai
Sabai - avatar
6 Answers
+ 2
its easy like just like rgb rgb works like this: rgb(red 0-255, green 0-255, blue 0-255) yellow looks like this here rgb(255,255,0) hexadecimal works almost the same #red green blue #000000 is black here #ffffff is white here the first 2 are red second 2 are green the thirth 2 are blue so if we want yellow (mix of red and green, no blue) we have to write this #ffff00 little explaination: the values are growing like this: 0-1-2-3-4-5-6-7-8-9-a-b-c-d-e-f i hope this is explained good enough
7th May 2018, 6:02 PM
Roel
Roel - avatar
0
why you need hex i personaly only use hex for specialchars
7th May 2018, 6:00 PM
Lexfuturorum
Lexfuturorum - avatar
0
I just would like to know how to use them even in those special chars #Feichtinger
7th May 2018, 6:03 PM
Sabai
Sabai - avatar
0
Thank you Roel I got something! Let me review the Diagram of how these RGB colors are related.
7th May 2018, 6:08 PM
Sabai
Sabai - avatar
0
just like the normal specialchars just with a hexvalue see https://www.w3schools.com/charsets/ref_utf_geometric.asp for more info
7th May 2018, 6:42 PM
Lexfuturorum
Lexfuturorum - avatar
0
but they unli usefull for the funny ones like ਼
7th May 2018, 6:44 PM
Lexfuturorum
Lexfuturorum - avatar