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 lightcyan | Schriftfarbwert #00ced1 | |||||
Detail | : | Hintergrund lightcyan | Detail | : | Schrift #00ced1 | |
Farbe | : | lightcyan | Farbwert | : | #00ced1 | |
Farbwert | : | #e0ffff | Farbe | : | darkturquoise | |
HTML | : | lightcyan | HTML | : | #00ced1 | |
HTML (Wert) | : | #e0ffff | HTML (Wert) | : | #00ced1 | |
CSS | : | lightcyan | CSS | : | #00ced1 | |
CSS (Wert) | : | #e0ffff | CSS (Wert) | : | #00ced1 | |
CSS (kürzest) | : | #e0ffff | CSS (kürzest) | : | #00ced1 | |
CSS (RGB) | : | rgb(224,255,255) | CSS (RGB) | : | rgb(0,206,209) | |
CSS (%RGB) | : | rgb(87%,100%,100%) | CSS (%RGB) | : | rgb(0%,80%,81%) |
Verlauf Hintergrundfarbe lightcyan nach Schriftfarbwert #00ced1 | |||||||
#e0ffff | #c0f8f8 | #a0f1f1 | #80eaeb | #60e3e4 | #40dcde | #20d5d7 | #00ced1 |
#e0ffff | #c0f8f8 | #a0f1f1 | #80eaeb | #60e3e4 | #40dcde | #20d5d7 | #00ced1 |
Kombination von lightcyan und #00ced1 | |||||||
Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 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. | #00ced1 eignet sich nicht als Schriftfarbe auf Hintergrund lightcyan. Die Helligkeit und Farben sind sich zu ähnlich. Die Ähnlichkeit von #00ced1 und lightcyan beträgt 91.18%. Die Lesbarkeit dieser Farbkombination ergibt sich zu 8.82%. |
Hintergrundfarbe lightcyan | Schriftfarbwert #00ced1 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#e0ffff | #e0ffff | #e0ffff | #e0ffff | #00ced1 | #00ced1 | #00ced1 | #00ced1 |
#e4ffff | #e4ffff | #c0dada | #c0dada | #24d5d7 | #24d5d7 | #00b0b3 | #00b0b3 |
#e8ffff | #e8ffff | #a0b6b6 | #a0b6b6 | #48dcde | #48dcde | #009395 | #009395 |
#edffff | #edffff | #809191 | #809191 | #6de3e4 | #6de3e4 | #007577 | #007577 |
#f1ffff | #f1ffff | #606d6d | #606d6d | #91eaeb | #91eaeb | #005859 | #005859 |
#f6ffff | #f6ffff | #404848 | #404848 | #b6f1f1 | #b6f1f1 | #003a3b | #003a3b |
#faffff | #faffff | #202424 | #202424 | #daf8f8 | #daf8f8 | #001d1d | #001d1d |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Die Textfarbe soll sich von Farbe lightcyan auf Farbwert #00ced1 ändern, wenn man mit der Maus darauf zeigt. Wir bereiten zunächst eine Formatierung von <tfoot> in Farbe lightcyan vor.
In diesem Beispiel legen wir Farbe lightcyan als Textfarbe von <tfoot> fest.
<style type="text/css"><!-- tfoot { color:lightcyan; } //--> </style>Nun fordern wir, dass bei Mausberührung die Textfarbe auf #00ced1 gesetzt wird.
<style type="text/css"><!-- tfoot:hover { color:#00ced1; } //--> </style>
Weiteres zum Thema lesen Sie in Tabellen in HTML. Möglichkeiten vom Befehl tfoot erfahren Sie in der HTML Referenz unter <tfoot>.