+ 4
Cn someone pls explain the HTML color
Like those hexa-decimal colors like those 000FFF nd so on
7 odpowiedzi
+ 3
hex = hexadecimal
int = integer
Think about a normal integer, has digits 0-9, when you reach 10 int, it will equal 10 int 😐.
Sounds dumb, but that understanding is useful to understand hexadecimals.
Think about hexadecimal, has digits 0-9 and A(10)-F(15), when you reach 10 hex, it will equal 16 int.
99 int equals:
9(10^1)+9(10^0)
=9*10+9*1
=99
FF hex equals:
F(10^1)+F(10^0)
=F*10+F*1
=FF
In RGB color syntax, there are 6 hexadecimals, which is divided in to 3 separate hexadecimals with 2 digits:
(hex, hex, hex)
Using it is like you would blend 3 colors.
First, will define, how much Red you want to blend in.
Second will define, how much Green you want to blend in.
Third will define, how much Blue you want to blend in.
There are some simple color codes:
Black= 000000
Red= FF0000
Green= 00FF00
Blue= 0000FF
Red+Green= Yellow= FFFF00
Red+Blue= Pink= FF00FF
Green+Blue= Light Blue= 00FFFF
Red+Green+Blue= White= FFFFFF
+ 7
Example: #456 #RGB
4-amount of red color.
5-amount of green color.
6-amount of blue color.
Valid color numbers;
0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
<darker. Lighter>
Colors that aproach to 0 are darker.
Colors that aproach to f are lighter.
I recommend you to use the #RGB with 3 numbers (like #456) and not with 6 (like #445566) until you fully understand how it works , because it is easier with only 3 numbers.
+ 4
This is RGB which stands for red green blue the first tho numbers are the red the second two are grenn and the third blue. But those numbers are hex-decimal so the digits are not 0-9 but they are 0-F aka 0 1 2 3...9 A B C D E F.
+ 4
And when you combine red green and blue you can make every color
+ 4
U need to search and calm down to understand hexadecimal colour
It's kinda cunning
- 1
you design your colours on css