von Thomas Salvador.
Farben werden in HTML entweder mit ihrem Namen oder mit ihrem Wert beschrieben.
Netscape führte seinerzeit die websicheren Farben ein. Neben diesen Farbwerten, die einem bestimmten Schema folgen, definierte man noch 120 Werte und ordnete ihnen Namen zu.
Hintergrundfarbwert #bdb76b | Schriftfarbe burlywood | |||||
Detail | : | Hintergrund #bdb76b | Detail | : | Schrift burlywood | |
Farbwert | : | #bdb76b | Farbe | : | burlywood | |
Farbe | : | darkkhaki | Farbwert | : | #deb887 | |
HTML | : | #bdb76b | HTML | : | burlywood | |
HTML (Wert) | : | #bdb76b | HTML (Wert) | : | #deb887 | |
CSS | : | #bdb76b | CSS | : | burlywood | |
CSS (Wert) | : | #bdb76b | CSS (Wert) | : | #deb887 | |
CSS (kürzest) | : | #bdb76b | CSS (kürzest) | : | #deb887 | |
CSS (RGB) | : | rgb(189,183,107) | CSS (RGB) | : | rgb(222,184,135) | |
CSS (%RGB) | : | rgb(74%,71%,41%) | CSS (%RGB) | : | rgb(87%,72%,52%) |
Verlauf Hintergrundfarbwert #bdb76b nach Schriftfarbe burlywood | |||||||
#bdb76b | #c1b76f | #c6b773 | #cbb777 | #cfb77b | #d4b77f | #d9b783 | #deb887 |
#bdb76b | #c1b76f | #c6b773 | #cbb777 | #cfb77b | #d4b77f | #d9b783 | #deb887 |
Kombination von #bdb76b und burlywood | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras id velit ante. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Cras vestibulum tristique erat, ac interdum justo cursus in. | burlywood eignet sich nicht als Schriftfarbe auf Hintergrund #bdb76b, da weder der Helligkeitsunterschied noch der Farbunterschied gross genug sind. Die Ähnlichkeit von burlywood und #bdb76b beträgt 94.69%. Die Lesbarkeit dieser Farbkombination liegt damit bei 5.31%. |
Hintergrundfarbwert #bdb76b | Schriftfarbe burlywood | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#bdb76b | #bdb76b | #bdb76b | #bdb76b | #deb887 | #deb887 | #deb887 | #deb887 |
#c6c180 | #c6c180 | #a29c5b | #a29c5b | #e2c298 | #e2c298 | #be9d73 | #be9d73 |
#cfcb95 | #cfcb95 | #87824c | #87824c | #e7cca9 | #e7cca9 | #9e8360 | #9e8360 |
#d9d5aa | #d9d5aa | #6c683d | #6c683d | #ecd6ba | #ecd6ba | #7e694d | #7e694d |
#e2e0bf | #e2e0bf | #514e2d | #514e2d | #f0e0cb | #f0e0cb | #5f4e39 | #5f4e39 |
#ecead4 | #ecead4 | #36341e | #36341e | #f5eadc | #f5eadc | #3f3426 | #3f3426 |
#f5f4e9 | #f5f4e9 | #1b1a0f | #1b1a0f | #faf4ed | #faf4ed | #1f1a13 | #1f1a13 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <center> auf Farbe burlywood und die Hintergrundfarbe von <center> auf Farbwert #bdb76b. Als Schriftart setzen wir arial und ändern die Schriftgröße auf 12px.
<style type="text/css"><!-- center { color: burlywood; background-color: #bdb76b; font-family: arial; font-size: 12px; } //--> </style>
Weiteres zum Thema lesen Sie in Grundlegende Gestaltungselemente in HTML. Mehr zum HTML-Tag <center>.