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 #483d8b | Schriftfarbwert #fffafa | |||||
Detail | : | Hintergrund #483d8b | Detail | : | Schrift #fffafa | |
Farbwert | : | #483d8b | Farbwert | : | #fffafa | |
Farbe | : | darkslateblue | Farbe | : | snow | |
HTML | : | #483d8b | HTML | : | #fffafa | |
HTML (Wert) | : | #483d8b | HTML (Wert) | : | #fffafa | |
CSS | : | #483d8b | CSS | : | #fffafa | |
CSS (Wert) | : | #483d8b | CSS (Wert) | : | #fffafa | |
CSS (kürzest) | : | #483d8b | CSS (kürzest) | : | #fffafa | |
CSS (RGB) | : | rgb(72,61,139) | CSS (RGB) | : | rgb(255,250,250) | |
CSS (%RGB) | : | rgb(28%,23%,54%) | CSS (%RGB) | : | rgb(100%,98%,98%) |
Verlauf Hintergrundfarbwert #483d8b nach Schriftfarbwert #fffafa | |||||||
#483d8b | #62589a | #7c73aa | #968eba | #b0a9ca | #cac4da | #e4dfea | #fffafa |
#483d8b | #62589a | #7c73aa | #968eba | #b0a9ca | #cac4da | #e4dfea | #fffafa |
Kombination von #483d8b und #fffafa | |||||||
Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum tristique erat, ac interdum justo cursus in. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras id velit ante. | Die Ähnlichkeit von #fffafa und #483d8b beträgt 58.25%. Die Lesbarkeit dieser Farbkombination liegt damit bei 41.75%. Auf Hintergrund #483d8b ist #fffafa ungeeignet, da die Farben zu ähnlich sind. |
Hintergrundfarbwert #483d8b | Schriftfarbwert #fffafa | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#483d8b | #483d8b | #483d8b | #483d8b | #fffafa | #fffafa | #fffafa | #fffafa |
#62589b | #62589b | #3d3477 | #3d3477 | #fffafa | #fffafa | #dad6d6 | #dad6d6 |
#7c74ac | #7c74ac | #332b63 | #332b63 | #fffbfb | #fffbfb | #b6b2b2 | #b6b2b2 |
#9690bc | #9690bc | #29224f | #29224f | #fffcfc | #fffcfc | #918e8e | #918e8e |
#b0abcd | #b0abcd | #1e1a3b | #1e1a3b | #fffcfc | #fffcfc | #6d6b6b | #6d6b6b |
#cac7dd | #cac7dd | #141127 | #141127 | #fffdfd | #fffdfd | #484747 | #484747 |
#e4e3ee | #e4e3ee | #0a0813 | #0a0813 | #fffefe | #fffefe | #242323 | #242323 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Für dieses Beispiel ändern wir die Textfarbe von <blockquote> auf Farbwert #fffafa und die Hintergrundfarbe von <blockquote> auf Farbwert #483d8b. Die Schriftart ändern wir auf courier new und verringern die Schriftgröße auf 85%.
<style type="text/css"><!-- blockquote { color: #fffafa; font-family: courier new; font-size: 85%; background-color: #483d8b; } //--> </style>
Weiteres zu blockquote lesen Sie in Blockorientierte Elemente in HTML. Beschreibung des Befehl <blockquote>.