La tabla de colores HTML
En HTML, los colores se definen mediante tres números hexadecimales que representan los tonos rojo, azul y verde, usando la codificación RGB del color elegido.
Los códigos de colores HTML
Así, la sintaxis para codificar un color en HTML es la siguiente:
color="#RRGGBB"
RR, GG y BB simbolizan, cada uno, un número hexadecimal entre 00 y FF para el rojo, el verde y el azul respectivamente.
Con esta sintaxis, se pueden utilizar más de 16 millones de colores en las páginas web. Sin embargo, como no todos los navegadores reconocen los colores del mismo modo, W3C recomienda usar los colores a continuación, que han recibido nombres específicos. Por lo tanto, puede (y se aconseja) representar los colores de esta forma:
color="nombre_del_color"
Nombre del color | Código RGB | |
---|---|---|
Aliceblue | Aliceblue | #F0F8FF |
Antiquewhite | Antiquewhite | #FAEBD7 |
Aqua | Aqua | #00FFFF |
Aquamarine | Aquamarine | #7FFFD4 |
Azure | Azure | #00FFFF |
Beige | Beige | #F5F5DC |
Bisque | Bisque | #FFE4C4 |
Black | Black | #000000 |
Blanchedalmond | Blanchedalmond | #FFEBCD |
Blue | Blue | #0000FF |
Blueviolet | Blueviolet | #8A2BE2 |
Brown | Brown | #A52A2A |
Burlywood | Burlywood | #DEB887 |
Cadetblue | Cadetblue | #5F9EA0 |
Chartreuse | Chartreuse | #7FFF00 |
Chocolate | Chocolate | #D2691E |
Coral | Coral | #FF7F50 |
Cornflowerblue | Cornflowerblue | #6495ED |
Cornsilk | Cornsilk | #FFF8DC |
Crimson | Crimson | #DC143C |
Cyan | Cyan | #00FFFF |
Darkblue | Darkblue | #00008B |
Darkcyan | Darkcyan | #008B8B |
Darkgoldenrod | Darkgoldenrod | #B8860B |
Darkgray | Darkgray | #A9A9A9 |
Darkgreen | Darkgreen | #006400 |
Darkkhaki | Darkkhaki | #BDB76B |
Darkmagenta | Darkmagenta | #8B008B |
Darkolivegreen | Darkolivegreen | #556B2F |
Darkorange | Darkorange | #FF8C00 |
Darkorchid | Darkorchid | #9932CC |
Darkred | Darkred | #8B0000 |
Darksalmon | Darksalmon | #E9967A |
Darkseagreen | Darkseagreen | #8FBC8F |
Darkslateblue | Darkslateblue | #483D8B |
Darkslategray | Darkslategray | #2F4F4F |
Darkturquoise | Darkturquoise | #00CED1 |
Darkviolet | Darkviolet | #9400D3 |
Deeppink | Deeppink | #FF1493 |
Deepskyblue | Deepskyblue | #00BFFF |
Dimgray | Dimgray | #696969 |
Dodgerblue | Dodgerblue | #1E90FF |
Firebrick | Firebrick | #B22222 |
floralwhite | floralwhite | #FFFAF0 |
forestgreen | forestgreen | #228B22 |
fuchsia | fuchsia | #FF00FF |
gainsboro | gainsboro | #DCDCDC |
ghostwhite | ghostwhite | #F8F8FF |
gold | gold | #FFD700 |
goldenrod | goldenrod | #DAA520 |
gray | gray | #808080 |
green | green | #008000 |
greenyellow | greenyellow | #ADFF2F |
honeydew | honeydew | #F0FFF0 |
hotpink | hotpink | #FF69B4 |
indianred | indianred | #CD5C5C |
indigo | indigo | #4B0082 |
ivory | ivory | #FFFFF0 |
khaki | khaki | #F0E68C |
lavender | lavender | #E6E6FA |
lavenderblush | lavenderblush | #FFF0F5 |
lawngreen | lawngreen | #7CCMC00 |
lemonchiffon | lemonchiffon | #FFFACD |
lightblue | lightblue | #ADD8E6 |
lightcoral | lightcoral | #F08080 |
lightcyan | lightcyan | #E0FFFF |
lightgoldenrodyellow | lightgoldenrodyellow | #FAFAD2 |
lightgreen | lightgreen | #90EE90 |
lightgrey | lightgrey | #D3D3D3 |
lightpink | lightpink | #FFB6C1 |
lightsalmon | lightsalmon | #FFA07A |
lightseagreen | lightseagreen | #20B2AA |
lightskyblue | lightskyblue | #87CEFA |
lightslategray | lightslategray | #778899 |
lightsteelblue | lightsteelblue | #B0C4DE |
lightyellow | lightyellow | #FFFFE0 |
lime | lime | #00FF00 |
limegreen | limegreen | #32CD32 |
linen | linen | #FAF0E6 |
magenta | magenta | #FF00FF |
maroon | maroon | #800000 |
mediumaquamarine | mediumaquamarine | #66CDAA |
mediumblue | mediumblue | #0000CD |
mediumorchid | mediumorchid | #BA55D3 |
mediumpurple | mediumpurple | #9370DB |
mediumseagreen | mediumseagreen | #3CB371 |
mediumslateblue | mediumslateblue | #7B68EE |
mediumspringgreen | mediumspringgreen | #00FA9A |
mediumturquoise | mediumturquoise | #48D1CC |
mediumvioletred | mediumvioletred | #C71585 |
midnightblue | midnightblue | #191970 |
mintcream | mintcream | #F5FFFA |
mistyrose | mistyrose | #FFE4E1 |
moccasin | moccasin | #FFE4B5 |
navajowhite | navajowhite | #FFDEAD |
navy | navy | #000080 |
oldlace | oldlace | #FDF5E6 |
olive | olive | #808000 |
olivedrab | olivedrab | #6B8E23 |
orange | orange | #FFA500 |
orangered | orangered | #FF4500 |
orchid | orchid | #DA70D6 |
palegoldenrod | palegoldenrod | #EEE8AA |
palegreen | palegreen | #98FB98 |
paleturquoise | paleturquoise | #AFEEEE |
palevioletred | palevioletred | #DB7093 |
papayawhip | papayawhip | #FFEFD5 |
peachpuff | peachpuff | #FFDAB9 |
peru | peru | #CD853F |
pink | pink | #FFC0CB |
plum | plum | #DDA0DD |
powderblue | powderblue | #B0E0E6 |
purple | purple | #800080 |
red | red | #FF0000 |
rosybrown | rosybrown | #BC8F8F |
royalblue | royalblue | #4169E1 |
saddlebrown | saddlebrown | #8B4513 |
salmon | salmon | #FA8072 |
sandybrown | sandybrown | #F4A460 |
seagreen | seagreen | #2E8B57 |
seashell | seashell | #FFF5EE |
sienna | sienna | #A0522D |
silver | silver | #C0C0C0 |
skyblue | skyblue | #87CEEB |
slateblue | slateblue | #6A5ACD |
slategray | slategray | #708090 |
snow | snow | #FFFAFA |
springgreen | springgreen | #00FF7F |
steelblue | steelblue | #4682B4 |
tan | tan | #D2B48C |
teal | teal | #008080 |
thistle | thistle | #D8BFD8 |
tomato | tomato | #FF6347 |
turquoise | turquoise | #40E0D0 |
violet | violet | #EE82EE |
wheat | wheat | #F5DEB3 |
white | white | #FFFFFF |
whitesmoke | whitesmoke | #F5F5F5 |
yellow | yellow | #FFFF00 |
yellowgreen | yellowgreen | #9ACD32 |
Foto: ©123RF
Consulta también
- Tabla de código de colores
- Colores en notepad++ - Mejores respuestas
- Tabla de colores html pdf - Mejores respuestas
- Código postal de chile - Guide
- Descargar contraseña de facebook sin código - Foro Facebook
- Código universal para desbloquear netbook gobierno ✓ - Foro portátiles
- Codigo postal peru para linkedin ✓ - Foro mensajerías y chat
- Código de 6 dígitos para hackear facebook ✓ - Foro Facebook
El documento « Todos los códigos de colores HTML (tabla completa) » se encuentra disponible bajo una licencia Creative Commons. Puedes copiarlo o modificarlo libremente. No olvides citar a CCM (es.ccm.net) como tu fuente de información.