+ 3
How do you read hexadecimal colors?
I have difficulties in understanding Hexadecimal colors and the rgb (xxx,xxx,xxx) thing. There must be some easy way to understand these. Someone enlighten me please.
2 Answers
+ 5
Every hexadecimal value is expressed like this #RRGGBB where R stands for *red*, G for *green* amd B for *blue*. Now you can add values from A-F to 0-9...Every value determines the shade of each color...If it is close to F, the color is strong and vice-versa...
Eg: #FF0000 is red
#FF00FF stands for red+blue=violet and so on...
+ 3
# RR GG BB
RR specifies the amount of red
GG the amount of green
BB the amount of blue
one unit e.g. for red ranges from 0 to F
i.e. it can be
0 1 2 3 4 5 6 7 8 9 A B C D E F
then
#FF0000
means red
#00FF00
means green
#00CC00
still green
you can also specify only 3 chars
#F00 means red
etc
now
all equal -> white
#FFF
#FFFFFF
all 0 -> black
#000000
#000
#666 -> grey