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 #ededed | Schriftfarbwert #989898 | |||||
Detail | : | Hintergrund #ededed | Detail | : | Schrift #989898 | |
Farbwert | : | #ededed | Farbwert | : | #989898 | |
Farbe | : | gray237 | Farbe | : | gray152 | |
HTML | : | #ededed | HTML | : | #989898 | |
HTML (Wert) | : | #ededed | HTML (Wert) | : | #989898 | |
CSS | : | #ededed | CSS | : | #989898 | |
CSS (Wert) | : | #ededed | CSS (Wert) | : | #989898 | |
CSS (kürzest) | : | #ededed | CSS (kürzest) | : | #989898 | |
CSS (RGB) | : | rgb(237,237,237) | CSS (RGB) | : | rgb(152,152,152) | |
CSS (%RGB) | : | rgb(92%,92%,92%) | CSS (%RGB) | : | rgb(59%,59%,59%) |
Verlauf Hintergrundfarbwert #ededed nach Schriftfarbwert #989898 | |||||||
#ededed | #e0e0e0 | #d4d4d4 | #c8c8c8 | #bcbcbc | #b0b0b0 | #a4a4a4 | #989898 |
#ededed | #e0e0e0 | #d4d4d4 | #c8c8c8 | #bcbcbc | #b0b0b0 | #a4a4a4 | #989898 |
Kombination von #ededed und #989898 | |||||||
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. | Auf Hintergrund #ededed ist #989898 ungeeignet. Sowohl Helligkeit als auch die Farben sind zu ähnlich. Die Ähnlichkeit von #989898 und #ededed beträgt 88.27%. Die Lesbarkeit dieser Farbkombination ergibt sich zu 11.73%. |
Hintergrundfarbwert #ededed | Schriftfarbwert #989898 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#ededed | #ededed | #ededed | #ededed | #989898 | #989898 | #989898 | #989898 |
#efefef | #efefef | #cbcbcb | #cbcbcb | #a6a6a6 | #a6a6a6 | #828282 | #828282 |
#f2f2f2 | #f2f2f2 | #a9a9a9 | #a9a9a9 | #b5b5b5 | #b5b5b5 | #6c6c6c | #6c6c6c |
#f4f4f4 | #f4f4f4 | #878787 | #878787 | #c4c4c4 | #c4c4c4 | #565656 | #565656 |
#f7f7f7 | #f7f7f7 | #656565 | #656565 | #d2d2d2 | #d2d2d2 | #414141 | #414141 |
#f9f9f9 | #f9f9f9 | #434343 | #434343 | #e1e1e1 | #e1e1e1 | #2b2b2b | #2b2b2b |
#fcfcfc | #fcfcfc | #212121 | #212121 | #f0f0f0 | #f0f0f0 | #151515 | #151515 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Wir ändern hier die Textfarbe von <span> auf Farbwert #989898 und die Hintergrundfarbe von <span> auf Farbwert #ededed. Als Schriftart wählen wir arial und als Schriftgröße entscheiden wir uns für 14pt.
<style type="text/css"><!-- span { color: #989898; font-size: 14pt; font-family: arial; background-color: #ededed; } //--> </style>
Die Beschreibung vom HTML-Befehl span lesen Sie in der HTML Referenz unter <span>.