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 skyblue | Schriftfarbwert #ba55d3 | |||||
Detail | : | Hintergrund skyblue | Detail | : | Schrift #ba55d3 | |
Farbe | : | skyblue | Farbwert | : | #ba55d3 | |
Farbwert | : | #87ceeb | Farbe | : | mediumorchid | |
HTML | : | skyblue | HTML | : | #ba55d3 | |
HTML (Wert) | : | #87ceeb | HTML (Wert) | : | #ba55d3 | |
CSS | : | skyblue | CSS | : | #ba55d3 | |
CSS (Wert) | : | #87ceeb | CSS (Wert) | : | #ba55d3 | |
CSS (kürzest) | : | #87ceeb | CSS (kürzest) | : | #ba55d3 | |
CSS (RGB) | : | rgb(135,206,235) | CSS (RGB) | : | rgb(186,85,211) | |
CSS (%RGB) | : | rgb(52%,80%,92%) | CSS (%RGB) | : | rgb(72%,33%,82%) |
Verlauf Hintergrundfarbe skyblue nach Schriftfarbwert #ba55d3 | |||||||
#87ceeb | #8ebce7 | #95abe4 | #9c9ae0 | #a488dd | #ab77d9 | #b266d6 | #ba55d3 |
#87ceeb | #8ebce7 | #95abe4 | #9c9ae0 | #a488dd | #ab77d9 | #b266d6 | #ba55d3 |
Kombination von skyblue und #ba55d3 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum tristique erat, ac interdum justo cursus in. Cras id velit ante. 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. | #ba55d3 eignet sich nicht als Schriftfarbe auf Hintergrund skyblue. Die Helligkeit und Farben sind sich zu ähnlich. Die Ähnlichkeit der Farben #ba55d3 und skyblue ergibt sich zu 89.22%. Die Lesbarkeit dieser Kombination von Farben ergibt sich zu 10.78%. |
Hintergrundfarbe skyblue | Schriftfarbwert #ba55d3 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#87ceeb | #87ceeb | #87ceeb | #87ceeb | #ba55d3 | #ba55d3 | #ba55d3 | #ba55d3 |
#98d5ed | #98d5ed | #73b0c9 | #73b0c9 | #c36dd9 | #c36dd9 | #9f48b4 | #9f48b4 |
#a9dcf0 | #a9dcf0 | #6093a7 | #6093a7 | #cd85df | #cd85df | #843c96 | #843c96 |
#bae3f3 | #bae3f3 | #4d7586 | #4d7586 | #d79de5 | #d79de5 | #6a3078 | #6a3078 |
#cbeaf6 | #cbeaf6 | #395864 | #395864 | #e1b6ec | #e1b6ec | #4f245a | #4f245a |
#dcf1f9 | #dcf1f9 | #263a43 | #263a43 | #ebcef2 | #ebcef2 | #35183c | #35183c |
#edf8fc | #edf8fc | #131d21 | #131d21 | #f5e6f8 | #f5e6f8 | #1a0c1e | #1a0c1e |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <del> auf Farbwert #ba55d3 und die Hintergrundfarbe von <del> auf Farbe skyblue. Als Schriftart setzen wir monospace und setzen die Schriftgröße auf 14pt.
<style type="text/css"><!-- del { font-size:14pt; font-family:monospace; color:#ba55d3; background-color:skyblue; } //--> </style>
Weiteres zum Tag del ist in der HTML Referenz unter <del> gezeigt.