von Thomas Salvador.
Graustufen gehören zu den unbunten Farben und zeichnen sich dadurch aus, dass ihre Farbwerte für Rot, Grün und Blau gleich sind.
Graustufen enthalten natürlich alle 16 Graustufen und insbesondere die unbunten Grundfarben Schwarz und Weiß.
Um 256 Graustufen in HTML bzw. CSS zu erzeugen, wählen wir Farbwerte rr, gg und bb mit Werten von 0 bis 255 (d.h. hexadezimal 00 bis ff).
Hintergrundfarbwert #a3a3a3 | Schriftfarbwert #212121 | |||||
Detail | : | Hintergrund #a3a3a3 | Detail | : | Schrift #212121 | |
Farbwert | : | #a3a3a3 | Farbwert | : | #212121 | |
Farbe | : | gray163 | Farbe | : | gray33 | |
HTML | : | #a3a3a3 | HTML | : | #212121 | |
HTML (Wert) | : | #a3a3a3 | HTML (Wert) | : | #212121 | |
CSS | : | #a3a3a3 | CSS | : | #212121 | |
CSS (Wert) | : | #a3a3a3 | CSS (Wert) | : | #212121 | |
CSS (kürzest) | : | #a3a3a3 | CSS (kürzest) | : | #212121 | |
CSS (RGB) | : | rgb(163,163,163) | CSS (RGB) | : | rgb(33,33,33) | |
CSS (%RGB) | : | rgb(63%,63%,63%) | CSS (%RGB) | : | rgb(12%,12%,12%) |
Verlauf Hintergrundfarbwert #a3a3a3 nach Schriftfarbwert #212121 | |||||||
#a3a3a3 | #909090 | #7d7d7d | #6b6b6b | #585858 | #464646 | #333333 | #212121 |
#a3a3a3 | #909090 | #7d7d7d | #6b6b6b | #585858 | #464646 | #333333 | #212121 |
Kombination von #a3a3a3 und #212121 | |||||||
Cras id velit ante. Cras vestibulum tristique erat, ac interdum justo cursus in. 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. | Die Ähnlichkeit der Farben #212121 und #a3a3a3 beträgt 69.60%. Die Lesbarkeit dieser Kombination bewerte ich mit 30.40%. Auf Hintergrund #a3a3a3 ist #212121 ungeeignet. Zwar ist der Helligkeitsunterschied ausreichend, die Farben selbst sind zu ähnlich. |
Hintergrundfarbwert #a3a3a3 | Schriftfarbwert #212121 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#a3a3a3 | #a3a3a3 | #a3a3a3 | #a3a3a3 | #212121 | #212121 | #212121 | #212121 |
#b0b0b0 | #b0b0b0 | #8b8b8b | #8b8b8b | #404040 | #404040 | #1c1c1c | #1c1c1c |
#bdbdbd | #bdbdbd | #747474 | #747474 | #606060 | #606060 | #171717 | #171717 |
#cacaca | #cacaca | #5d5d5d | #5d5d5d | #808080 | #808080 | #121212 | #121212 |
#d7d7d7 | #d7d7d7 | #454545 | #454545 | #9f9f9f | #9f9f9f | #0e0e0e | #0e0e0e |
#e4e4e4 | #e4e4e4 | #2e2e2e | #2e2e2e | #bfbfbf | #bfbfbf | #090909 | #090909 |
#f1f1f1 | #f1f1f1 | #171717 | #171717 | #dfdfdf | #dfdfdf | #040404 | #040404 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <del> auf Farbwert #212121 und die Hintergrundfarbe von <del> auf Farbwert #a3a3a3. Als Schriftart wählen wir monospace. Die Schriftgröße setzen wir auf 11px.
<style type="text/css"><!-- del { color:#212121; font-family:monospace; font-size:11px; background-color:#a3a3a3; } //--> </style>
Weiteres zum Tag del ist in der HTML Referenz bei <del> ausführlich zusammengestellt.