0

can anyone care to explain the hexadecimal color values in an easy way?

perhaps i am too dumb to understand the hex colors.

3rd Jun 2019, 12:45 PM
Siyavush Nazhmudinov
Siyavush Nazhmudinov - avatar
9 Antworten
+ 4
You have three numbers between 0 and 255, that describe the red, green and blue part of your color. Best is to play around with it to get a feeling. Then you only have to learn how hex works. Basically, with regular numbers you count up from 0 to 9, then you go over to the next digit. With hex, you count up from 0 to 15 before you open up the next digit. And since there are only 10 digits, you make do with the letters from a to f as a substitute for 10 to 15. https://code.sololearn.com/WkfBz8inbI6c/?ref=app https://code.sololearn.com/co2yThgC1yQA/?ref=app
3rd Jun 2019, 2:27 PM
HonFu
HonFu - avatar
+ 9
Just go on google find some site choose color and paste in your code 😂 Little explain: #ffffff or short #fff is white, #000000 is black, #RRGGBB - red,green-blue starting from 0 to f, 0=dark, f=light, other is just combination of thise. Is best to use some site for that. To find perfect color. So #ff0000 is red and so on. With practice you will just see hex and know what color it is .
3rd Jun 2019, 2:10 PM
PanicS
PanicS - avatar
+ 8
Well even me dont know that i use sites 😂 With using you will remember, and writte without thinking. Just try to find hex of each color you use. And dont think that much about it.
3rd Jun 2019, 2:21 PM
PanicS
PanicS - avatar
+ 3
A hexadecimal color is specified with: #RRGGBB. RR (red), GG (green) and BB (blue) are hexadecimal integers between 00 and FF specifying the intensity of the color.
3rd Jun 2019, 12:59 PM
Bug Slayer
+ 2
Sanja Panic in challenges i always fail at guessing colors 😂 HonFu that's really helpful , thanks
3rd Jun 2019, 2:41 PM
Siyavush Nazhmudinov
Siyavush Nazhmudinov - avatar
+ 1
Do you understand hexadecimal numbers? Because that would have to come first
3rd Jun 2019, 2:00 PM
HonFu
HonFu - avatar
+ 1
Y.K i know the meaning of the syntax but what i am struggling with is actually how do i understand sth like c4b2d8 😂
3rd Jun 2019, 2:16 PM
Siyavush Nazhmudinov
Siyavush Nazhmudinov - avatar
+ 1
Sanja Panic right, practicing with code might help 👌
3rd Jun 2019, 2:17 PM
Siyavush Nazhmudinov
Siyavush Nazhmudinov - avatar
0
HonFu no that's the main problem, i guess I have go back to kindergarten stuff where they teach mixing colors
3rd Jun 2019, 2:14 PM
Siyavush Nazhmudinov
Siyavush Nazhmudinov - avatar