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.
Hintergrundfarbe antiquewhite | Schriftfarbwert #32cd32 | |||||
Detail | : | Hintergrund antiquewhite | Detail | : | Schrift #32cd32 | |
Farbe | : | antiquewhite | Farbwert | : | #32cd32 | |
Farbwert | : | #faebd7 | Farbe | : | limegreen | |
HTML | : | antiquewhite | HTML | : | #32cd32 | |
HTML (Wert) | : | #faebd7 | HTML (Wert) | : | #32cd32 | |
CSS | : | antiquewhite | CSS | : | #32cd32 | |
CSS (Wert) | : | #faebd7 | CSS (Wert) | : | #32cd32 | |
CSS (kürzest) | : | #faebd7 | CSS (kürzest) | : | #32cd32 | |
CSS (RGB) | : | rgb(250,235,215) | CSS (RGB) | : | rgb(50,205,50) | |
CSS (%RGB) | : | rgb(98%,92%,84%) | CSS (%RGB) | : | rgb(19%,80%,19%) |
Verlauf Hintergrundfarbe antiquewhite nach Schriftfarbwert #32cd32 | |||||||
#faebd7 | #dde6bf | #c0e2a7 | #a4de90 | #87d978 | #6bd561 | #4ed149 | #32cd32 |
#faebd7 | #dde6bf | #c0e2a7 | #a4de90 | #87d978 | #6bd561 | #4ed149 | #32cd32 |
Kombination von antiquewhite und #32cd32 | |||||||
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. Cras id velit ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. | Auf Hintergrund antiquewhite ist #32cd32 ungeeignet. Sowohl Helligkeit als auch die Farben sind zu ähnlich. Die Ähnlichkeit der Farben #32cd32 und antiquewhite ergibt sich zu 91.39%. Die Lesbarkeit dieser Kombination bewerte ich mit 8.61%. |
Hintergrundfarbe antiquewhite | Schriftfarbwert #32cd32 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#faebd7 | #faebd7 | #faebd7 | #faebd7 | #32cd32 | #32cd32 | #32cd32 | #32cd32 |
#faeddc | #faeddc | #d6c9b8 | #d6c9b8 | #4fd44f | #4fd44f | #2aaf2a | #2aaf2a |
#fbf0e2 | #fbf0e2 | #b2a799 | #b2a799 | #6cdb6c | #6cdb6c | #239223 | #239223 |
#fcf3e8 | #fcf3e8 | #8e867a | #8e867a | #89e289 | #89e289 | #1c751c | #1c751c |
#fcf6ed | #fcf6ed | #6b645c | #6b645c | #a7e9a7 | #a7e9a7 | #155715 | #155715 |
#fdf9f3 | #fdf9f3 | #47433d | #47433d | #c4f0c4 | #c4f0c4 | #0e3a0e | #0e3a0e |
#fefcf9 | #fefcf9 | #23211e | #23211e | #e1f7e1 | #e1f7e1 | #071d07 | #071d07 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Wir ändern für dieses Beispiel die Textfarbe von <address> auf Farbwert #32cd32 und die Hintergrundfarbe von <address> auf Farbe antiquewhite. Die Schriftart ändern wir auf sans-serif. Als Schriftgröße entscheiden wir uns für 13px.
<style type="text/css"><!-- address { color: #32cd32; font-size: 13px; font-family: sans-serif; background-color: antiquewhite; } //--> </style>
Weiteres zum Thema address erfahren Sie in Blockorientierte Elemente in HTML. Weiteres zum Befehl address lesen Sie in der HTML Referenz unter <address>.