+ 1

why should we use colorcode...? as we indicate colors as white black etc easily by writing its name(eg. bgcolor="white"

6th Jun 2016, 2:55 PM
Govindhrazz Allu
Govindhrazz Allu - avatar
3 Réponses
+ 3
With the codes you have the flexibility of changing the color. You can get millions of color combinations using the color codes, as opposed to just a few, when using names.
6th Jun 2016, 4:55 PM
James Flanders
+ 2
You can use both but there's very very limited number of colors which have own names like: red, green, blue, tomato, olive.. 140 or something like that. On the other hand, we have like 16 million combinations of color mixes and shades.. That's why you need hex-codes if you want to use other colors than those with names.
6th Jun 2016, 10:07 PM
ZinC
ZinC - avatar
0
<p style="color:blue;" > esto es un párrafo azul </p>
7th Jun 2016, 1:47 AM
Daniel Bonilla
Daniel Bonilla - avatar