+ 3
What there is RGB Hexadecimal Code for choosing colors in'HTML' instead of writing colour name.
Colours in HTML
7 odpowiedzi
+ 1
RGB and hexadecimal:
rgb:
syntax = rgb(0-255,0-255,0-255);
the first number between 0 and 255 is the "red" value
the second one is for "green" and the last one is for "blue". note that together they will be white (incase of rgb(255,255,255) and black incase of rgb(0,0,0);
hexadecimal
syntax = #ff0077 or # f07
hexadecimal uses values from 0 (0) to 15 (f) and the order for the red green blue is the same
first 2 are for red (#ff0000) second 2 for green (#00ff00) and last ones for blue (#00ff00)
+ 3
Because they provide for 16 million different colours. Can you imagine needing 16 million names!!!!
+ 2
You can choose 16 million color with hexadecimal or color codes instead of color names and for a professional it becomes very essential to use a unique color for designing.
+ 2
yes
+ 1
There r many ways of defining colors. But we can choose only limited amount of colors by color names.
But RGB /hex helps to choose many color shade.
+ 1
i think so
0
hexadecimal:
color: #000000
rgb:
color: rgb(255,0,0)