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 #404040 | Schriftfarbwert #131313 | |||||
Detail | : | Hintergrund #404040 | Detail | : | Schrift #131313 | |
Farbwert | : | #404040 | Farbwert | : | #131313 | |
Farbe | : | gray64 | Farbe | : | gray19 | |
HTML | : | #404040 | HTML | : | #131313 | |
HTML (Wert) | : | #404040 | HTML (Wert) | : | #131313 | |
CSS | : | #404040 | CSS | : | #131313 | |
CSS (Wert) | : | #404040 | CSS (Wert) | : | #131313 | |
CSS (kürzest) | : | #404040 | CSS (kürzest) | : | #131313 | |
CSS (RGB) | : | rgb(64,64,64) | CSS (RGB) | : | rgb(19,19,19) | |
CSS (%RGB) | : | rgb(25%,25%,25%) | CSS (%RGB) | : | rgb(7%,7%,7%) |
Verlauf Hintergrundfarbwert #404040 nach Schriftfarbwert #131313 | |||||||
#404040 | #393939 | #333333 | #2c2c2c | #262626 | #1f1f1f | #191919 | #131313 |
#404040 | #393939 | #333333 | #2c2c2c | #262626 | #1f1f1f | #191919 | #131313 |
Kombination von #404040 und #131313 | |||||||
Cras vestibulum tristique erat, ac interdum justo cursus in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id velit ante. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. | #131313 ist nicht als Schriftfarbe auf Hintergrund #404040 geeignet, da sich die Helligkeit und Farben zu ähnlich sind. Die Ähnlichkeit der Farben #131313 und #404040 beträgt 91.47%. Die Lesbarkeit dieser Kombination von Farben liegt damit bei 8.53%. |
Hintergrundfarbwert #404040 | Schriftfarbwert #131313 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#404040 | #404040 | #404040 | #404040 | #131313 | #131313 | #131313 | #131313 |
#5b5b5b | #5b5b5b | #363636 | #363636 | #343434 | #343434 | #101010 | #101010 |
#767676 | #767676 | #2d2d2d | #2d2d2d | #565656 | #565656 | #0d0d0d | #0d0d0d |
#919191 | #919191 | #242424 | #242424 | #787878 | #787878 | #0a0a0a | #0a0a0a |
#adadad | #adadad | #1b1b1b | #1b1b1b | #999999 | #999999 | #080808 | #080808 |
#c8c8c8 | #c8c8c8 | #121212 | #121212 | #bbbbbb | #bbbbbb | #050505 | #050505 |
#e3e3e3 | #e3e3e3 | #090909 | #090909 | #dddddd | #dddddd | #020202 | #020202 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Wir ändern für dieses Beispiel die Textfarbe von <caption> auf Farbwert #131313 und die Hintergrundfarbe von <caption> auf Farbwert #404040. Als Schriftart wählen wir monospace. Als Schriftgröße setzen wir 13px.
<style type="text/css"><!-- caption { font-family:monospace; font-size:13px; color:#131313; background-color:#404040; } //--> </style>
Mehr zum Thema caption können Sie in Tabellen in HTML finden. Mehr zum HTML-Befehl <caption>.