von Thomas Salvador.
Farben werden in HTML entweder mit ihrem Namen oder mit ihrem Wert beschrieben.
HTML verfügt seit jeher über 17 Standard Farbnamen.
Sie entstehen dadurch, dass die 8 Grundfarben jeweils maximal und zu 50% enthalten sind.
Zu diesen 16 Farben kommt mit grey eine alternative Schreibweise für gray.
Hintergrundfarbe olive | Schriftfarbwert #c0c0c0 | |||||
Detail | : | Hintergrund olive | Detail | : | Schrift #c0c0c0 | |
Farbe | : | olive | Farbwert | : | #c0c0c0 | |
Farbwert | : | #808000 | Farbe | : | silver | |
HTML | : | olive | HTML | : | #c0c0c0 | |
HTML (Wert) | : | #808000 | HTML (Wert) | : | #c0c0c0 | |
CSS | : | olive | CSS | : | #c0c0c0 | |
CSS (Wert) | : | #808000 | CSS (Wert) | : | #c0c0c0 | |
CSS (kürzest) | : | #808000 | CSS (kürzest) | : | #c0c0c0 | |
CSS (RGB) | : | rgb(128,128,0) | CSS (RGB) | : | rgb(192,192,192) | |
CSS (%RGB) | : | rgb(50%,50%,0%) | CSS (%RGB) | : | rgb(75%,75%,75%) |
Verlauf Hintergrundfarbe olive nach Schriftfarbwert #c0c0c0 | |||||||
#808000 | #89891b | #929236 | #9b9b52 | #a4a46d | #adad89 | #b6b6a4 | #c0c0c0 |
#808000 | #89891b | #929236 | #9b9b52 | #a4a46d | #adad89 | #b6b6a4 | #c0c0c0 |
Kombination von olive und #c0c0c0 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum tristique erat, ac interdum justo cursus in. Cras id velit ante. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. | Die Ähnlichkeit von #c0c0c0 und olive ergibt sich zu 89.02%. Die Lesbarkeit dieser Farbkombination liegt damit bei 10.98%. Auf Hintergrund olive ist #c0c0c0 ungeeignet, weil die Unterschiede in der Helligkeit und Farbe unzureichend sind. |
Hintergrundfarbe olive | Schriftfarbwert #c0c0c0 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#808000 | #808000 | #808000 | #808000 | #c0c0c0 | #c0c0c0 | #c0c0c0 | #c0c0c0 |
#929224 | #929224 | #6d6d00 | #6d6d00 | #c9c9c9 | #c9c9c9 | #a4a4a4 | #a4a4a4 |
#a4a448 | #a4a448 | #5b5b00 | #5b5b00 | #d2d2d2 | #d2d2d2 | #898989 | #898989 |
#b6b66d | #b6b66d | #494900 | #494900 | #dbdbdb | #dbdbdb | #6d6d6d | #6d6d6d |
#c8c891 | #c8c891 | #363600 | #363600 | #e4e4e4 | #e4e4e4 | #525252 | #525252 |
#dadab6 | #dadab6 | #242400 | #242400 | #ededed | #ededed | #363636 | #363636 |
#ececda | #ececda | #121200 | #121200 | #f6f6f6 | #f6f6f6 | #1b1b1b | #1b1b1b |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <thead> auf Farbwert #c0c0c0 und die Hintergrundfarbe von <thead> auf Farbe olive. Die Schriftart ändern wir auf arial und als Schriftgröße setzen wir 13px.
<style type="text/css"><!-- thead { background-color:olive; font-size:13px; color:#c0c0c0; font-family:arial; } //--> </style>
Mehr zum Thema thead können Sie in Tabellen in HTML nachsehen. Weiteres zum hier genutzten HTML-Befehl <thead>.
Hintergrund | Farbwert | Farbe | und | Schrift | Farbwert | Farbkombination |
---|---|---|---|---|---|---|
aqua | #00ffff | + | aqua | #00ffff | aqua / olive | |
black | #000000 | + | black | #000000 | black / olive | |
blue | #0000ff | + | blue | #0000ff | blue / olive | |
fuchsia | #ff00ff | + | fuchsia | #ff00ff | fuchsia / olive | |
gray | #808080 | + | gray | #808080 | gray / olive | |
grey | #808080 | + | grey | #808080 | grey / olive | |
green | #008000 | + | green | #008000 | green / olive | |
lime | #00ff00 | + | lime | #00ff00 | lime / olive | |
maroon | #800000 | + | maroon | #800000 | maroon / olive | |
navy | #000080 | + | navy | #000080 | navy / olive | |
olive | #808000 | + | olive | #808000 | olive / olive | |
purple | #800080 | + | purple | #800080 | purple / olive | |
red | #ff0000 | + | red | #ff0000 | red / olive | |
silver | #c0c0c0 | + | silver | #c0c0c0 | silver / olive | |
teal | #008080 | + | teal | #008080 | teal / olive | |
white | #ffffff | + | white | #ffffff | white / olive | |
yellow | #ffff00 | + | yellow | #ffff00 | yellow / olive |