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 #878787 | Schriftfarbe gray186 | |||||
Detail | : | Hintergrund #878787 | Detail | : | Schrift gray186 | |
Farbwert | : | #878787 | Farbe | : | gray186 | |
Farbe | : | gray135 | Farbwert | : | #bababa | |
HTML | : | #878787 | HTML | : | gray186 | |
HTML (Wert) | : | #878787 | HTML (Wert) | : | #bababa | |
CSS | : | #878787 | CSS | : | gray186 | |
CSS (Wert) | : | #878787 | CSS (Wert) | : | #bababa | |
CSS (kürzest) | : | #878787 | CSS (kürzest) | : | #bababa | |
CSS (RGB) | : | rgb(135,135,135) | CSS (RGB) | : | rgb(186,186,186) | |
CSS (%RGB) | : | rgb(52%,52%,52%) | CSS (%RGB) | : | rgb(72%,72%,72%) |
Verlauf Hintergrundfarbwert #878787 nach Schriftfarbe gray186 | |||||||
#878787 | #8e8e8e | #959595 | #9c9c9c | #a4a4a4 | #ababab | #b2b2b2 | #bababa |
#878787 | #8e8e8e | #959595 | #9c9c9c | #a4a4a4 | #ababab | #b2b2b2 | #bababa |
Kombination von #878787 und gray186 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id velit ante. 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. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. | Die Ähnlichkeit der Farben gray186 und #878787 beträgt 91.19%. Die Lesbarkeit dieser Kombination von Farben bewerte ich mit 8.81%. Auf Hintergrund #878787 ist gray186 ungeeignet, da sich sowohl Helligkeit als auch die Farben zu ähnlich sind. |
Hintergrundfarbwert #878787 | Schriftfarbe gray186 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#878787 | #878787 | #878787 | #878787 | #bababa | #bababa | #bababa | #bababa |
#989898 | #989898 | #737373 | #737373 | #c3c3c3 | #c3c3c3 | #9f9f9f | #9f9f9f |
#a9a9a9 | #a9a9a9 | #606060 | #606060 | #cdcdcd | #cdcdcd | #848484 | #848484 |
#bababa | #bababa | #4d4d4d | #4d4d4d | #d7d7d7 | #d7d7d7 | #6a6a6a | #6a6a6a |
#cbcbcb | #cbcbcb | #393939 | #393939 | #e1e1e1 | #e1e1e1 | #4f4f4f | #4f4f4f |
#dcdcdc | #dcdcdc | #262626 | #262626 | #ebebeb | #ebebeb | #353535 | #353535 |
#ededed | #ededed | #131313 | #131313 | #f5f5f5 | #f5f5f5 | #1a1a1a | #1a1a1a |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <blockquote> auf Farbe gray186 und die Hintergrundfarbe von <blockquote> auf Farbwert #878787. Die Schriftart ändern wir auf verdana. Die Schriftgröße setzen wir auf 128%.
<style type="text/css"><!-- blockquote { color: gray186; background-color: #878787; font-size: 128%; font-family: verdana; } //--> </style>
Mehr zum Thema erfahren Sie in Blockorientierte Elemente in HTML. Mehr zum Befehl <blockquote>.