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 | Schriftfarbe tomato | |||||
Detail | : | Hintergrund antiquewhite | Detail | : | Schrift tomato | |
Farbe | : | antiquewhite | Farbe | : | tomato | |
Farbwert | : | #faebd7 | Farbwert | : | #ff6347 | |
HTML | : | antiquewhite | HTML | : | tomato | |
HTML (Wert) | : | #faebd7 | HTML (Wert) | : | #ff6347 | |
CSS | : | antiquewhite | CSS | : | tomato | |
CSS (Wert) | : | #faebd7 | CSS (Wert) | : | #ff6347 | |
CSS (kürzest) | : | #faebd7 | CSS (kürzest) | : | #ff6347 | |
CSS (RGB) | : | rgb(250,235,215) | CSS (RGB) | : | rgb(255,99,71) | |
CSS (%RGB) | : | rgb(98%,92%,84%) | CSS (%RGB) | : | rgb(100%,38%,27%) |
Verlauf Hintergrundfarbe antiquewhite nach Schriftfarbe tomato | |||||||
#faebd7 | #fad7c2 | #fbc4ad | #fcb099 | #fc9d84 | #fd8970 | #fe765b | #ff6347 |
#faebd7 | #fad7c2 | #fbc4ad | #fcb099 | #fc9d84 | #fd8970 | #fe765b | #ff6347 |
Kombination von antiquewhite und tomato | |||||||
Cras id velit ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras vestibulum tristique erat, ac interdum justo cursus in. | tomato eignet sich nicht als Schriftfarbe auf Hintergrund antiquewhite. Die Unterschiede in der Helligkeit und Farbe sind nicht ausreichend. Die Ähnlichkeit der Farben tomato und antiquewhite beträgt 88.02%. Die Lesbarkeit dieser Kombination von Farben bewerte ich mit 11.98%. |
Hintergrundfarbe antiquewhite | Schriftfarbe tomato | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#faebd7 | #faebd7 | #faebd7 | #faebd7 | #ff6347 | #ff6347 | #ff6347 | #ff6347 |
#faeddc | #faeddc | #d6c9b8 | #d6c9b8 | #ff7961 | #ff7961 | #da543c | #da543c |
#fbf0e2 | #fbf0e2 | #b2a799 | #b2a799 | #ff8f7b | #ff8f7b | #b64632 | #b64632 |
#fcf3e8 | #fcf3e8 | #8e867a | #8e867a | #ffa595 | #ffa595 | #913828 | #913828 |
#fcf6ed | #fcf6ed | #6b645c | #6b645c | #ffbcb0 | #ffbcb0 | #6d2a1e | #6d2a1e |
#fdf9f3 | #fdf9f3 | #47433d | #47433d | #ffd2ca | #ffd2ca | #481c14 | #481c14 |
#fefcf9 | #fefcf9 | #23211e | #23211e | #ffe8e4 | #ffe8e4 | #240e0a | #240e0a |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Für dieses Beispiel ändern wir die Textfarbe von <acronym> auf Farbe tomato und die Hintergrundfarbe von <acronym> auf Farbe antiquewhite. Als Schriftart wählen wir arial. Als Schriftgröße setzen wir 9px.
<style type="text/css"><!-- acronym { color: tomato; background-color: antiquewhite; font-size: 9px; font-family: arial; } //--> </style>
Möglichkeiten vom hier verwendeten Tag acronym lesen Sie in der HTML Referenz unter <acronym>.