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 #8b8b8b | Schriftfarbwert #3e3e3e | |||||
Detail | : | Hintergrund #8b8b8b | Detail | : | Schrift #3e3e3e | |
Farbwert | : | #8b8b8b | Farbwert | : | #3e3e3e | |
Farbe | : | gray139 | Farbe | : | gray62 | |
HTML | : | #8b8b8b | HTML | : | #3e3e3e | |
HTML (Wert) | : | #8b8b8b | HTML (Wert) | : | #3e3e3e | |
CSS | : | #8b8b8b | CSS | : | #3e3e3e | |
CSS (Wert) | : | #8b8b8b | CSS (Wert) | : | #3e3e3e | |
CSS (kürzest) | : | #8b8b8b | CSS (kürzest) | : | #3e3e3e | |
CSS (RGB) | : | rgb(139,139,139) | CSS (RGB) | : | rgb(62,62,62) | |
CSS (%RGB) | : | rgb(54%,54%,54%) | CSS (%RGB) | : | rgb(24%,24%,24%) |
Verlauf Hintergrundfarbwert #8b8b8b nach Schriftfarbwert #3e3e3e | |||||||
#8b8b8b | #808080 | #757575 | #6a6a6a | #5f5f5f | #545454 | #494949 | #3e3e3e |
#8b8b8b | #808080 | #757575 | #6a6a6a | #5f5f5f | #545454 | #494949 | #3e3e3e |
Kombination von #8b8b8b und #3e3e3e | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 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. Cras vestibulum tristique erat, ac interdum justo cursus in. Cras id velit ante. | #3e3e3e eignet sich nicht als Schriftfarbe auf Hintergrund #8b8b8b, da sich sowohl Helligkeit als auch die Farben zu ähnlich sind. Die Ähnlichkeit von #3e3e3e und #8b8b8b beträgt 85.05%. Die Lesbarkeit dieser Kombination von Farben liegt damit bei 14.95%. |
Hintergrundfarbwert #8b8b8b | Schriftfarbwert #3e3e3e | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#8b8b8b | #8b8b8b | #8b8b8b | #8b8b8b | #3e3e3e | #3e3e3e | #3e3e3e | #3e3e3e |
#9b9b9b | #9b9b9b | #777777 | #777777 | #595959 | #595959 | #353535 | #353535 |
#acacac | #acacac | #636363 | #636363 | #757575 | #757575 | #2c2c2c | #2c2c2c |
#bcbcbc | #bcbcbc | #4f4f4f | #4f4f4f | #909090 | #909090 | #232323 | #232323 |
#cdcdcd | #cdcdcd | #3b3b3b | #3b3b3b | #acacac | #acacac | #1a1a1a | #1a1a1a |
#dddddd | #dddddd | #272727 | #272727 | #c7c7c7 | #c7c7c7 | #111111 | #111111 |
#eeeeee | #eeeeee | #131313 | #131313 | #e3e3e3 | #e3e3e3 | #080808 | #080808 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Für dieses Beispiel ändern wir die Textfarbe von <table> auf Farbwert #3e3e3e und die Hintergrundfarbe von <table> auf Farbwert #8b8b8b. Die Schriftart ändern wir auf arial. Als Schriftgröße setzen wir 13px.
<style type="text/css"><!-- table { font-size:13px; color:#3e3e3e; background-color:#8b8b8b; font-family:arial; } //--> </style>
Weiteres zu table können Sie in Tabellen in HTML finden. Mehr zum hier gezeigten Tag <table>.