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 #eaeaea | Schriftfarbwert #5d5d5d | |||||
Detail | : | Hintergrund #eaeaea | Detail | : | Schrift #5d5d5d | |
Farbwert | : | #eaeaea | Farbwert | : | #5d5d5d | |
Farbe | : | gray234 | Farbe | : | gray93 | |
HTML | : | #eaeaea | HTML | : | #5d5d5d | |
HTML (Wert) | : | #eaeaea | HTML (Wert) | : | #5d5d5d | |
CSS | : | #eaeaea | CSS | : | #5d5d5d | |
CSS (Wert) | : | #eaeaea | CSS (Wert) | : | #5d5d5d | |
CSS (kürzest) | : | #eaeaea | CSS (kürzest) | : | #5d5d5d | |
CSS (RGB) | : | rgb(234,234,234) | CSS (RGB) | : | rgb(93,93,93) | |
CSS (%RGB) | : | rgb(91%,91%,91%) | CSS (%RGB) | : | rgb(36%,36%,36%) |
Verlauf Hintergrundfarbwert #eaeaea nach Schriftfarbwert #5d5d5d | |||||||
#eaeaea | #d5d5d5 | #c1c1c1 | #adadad | #999999 | #858585 | #717171 | #5d5d5d |
#eaeaea | #d5d5d5 | #c1c1c1 | #adadad | #999999 | #858585 | #717171 | #5d5d5d |
Kombination von #eaeaea und #5d5d5d | |||||||
Cras vestibulum tristique erat, ac interdum justo cursus in. 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. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id velit ante. | Die Ähnlichkeit von #5d5d5d und #eaeaea ergibt sich zu 73.94%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 26.06%. Auf Hintergrund #eaeaea ist #5d5d5d ungeeignet, da die Farben zu ähnlich sind. |
Hintergrundfarbwert #eaeaea | Schriftfarbwert #5d5d5d | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#eaeaea | #eaeaea | #eaeaea | #eaeaea | #5d5d5d | #5d5d5d | #5d5d5d | #5d5d5d |
#ededed | #ededed | #c8c8c8 | #c8c8c8 | #747474 | #747474 | #4f4f4f | #4f4f4f |
#f0f0f0 | #f0f0f0 | #a7a7a7 | #a7a7a7 | #8b8b8b | #8b8b8b | #424242 | #424242 |
#f3f3f3 | #f3f3f3 | #858585 | #858585 | #a2a2a2 | #a2a2a2 | #353535 | #353535 |
#f6f6f6 | #f6f6f6 | #646464 | #646464 | #b9b9b9 | #b9b9b9 | #272727 | #272727 |
#f9f9f9 | #f9f9f9 | #424242 | #424242 | #d0d0d0 | #d0d0d0 | #1a1a1a | #1a1a1a |
#fcfcfc | #fcfcfc | #212121 | #212121 | #e7e7e7 | #e7e7e7 | #0d0d0d | #0d0d0d |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <kbd> auf Farbwert #5d5d5d und die Hintergrundfarbe von <kbd> auf Farbwert #eaeaea. Die Schriftart ändern wir auf monospace und setzen die Schriftgröße auf 81%.
<style type="text/css"><!-- kbd { font-family:monospace; font-size:81%; background-color:#eaeaea; color:#5d5d5d; } //--> </style>
Mehr zum Thema können Sie in Text in HTML erfahren. Die Beschreibung des Tag kbd finden Sie in der HTML Referenz unter <kbd>.