+ 3

What there is RGB Hexadecimal Code for choosing colors in'HTML' instead of writing colour name.

Colours in HTML

3rd Oct 2018, 2:14 AM
Deepak Sharma
Deepak Sharma - avatar
7 Respuestas
+ 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)
3rd Oct 2018, 5:24 AM
Roel
Roel - avatar
+ 3
Because they provide for 16 million different colours. Can you imagine needing 16 million names!!!!
3rd Oct 2018, 8:15 PM
Duncan
Duncan - avatar
+ 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.
4th Oct 2018, 3:11 PM
Bil Al
Bil Al - avatar
+ 2
yes
6th Oct 2018, 3:23 PM
Tarun Kumar Nanda
Tarun Kumar Nanda - avatar
+ 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.
3rd Oct 2018, 4:08 PM
Seniru
Seniru - avatar
+ 1
i think so
6th Oct 2018, 3:23 PM
Tarun Kumar Nanda
Tarun Kumar Nanda - avatar
0
hexadecimal: color: #000000 rgb: color: rgb(255,0,0)
3rd Oct 2018, 4:24 PM
Jorge Palacio
Jorge Palacio - avatar