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 #aeaeae | Schriftfarbe gray188 | |||||
Detail | : | Hintergrund #aeaeae | Detail | : | Schrift gray188 | |
Farbwert | : | #aeaeae | Farbe | : | gray188 | |
Farbe | : | gray174 | Farbwert | : | #bcbcbc | |
HTML | : | #aeaeae | HTML | : | gray188 | |
HTML (Wert) | : | #aeaeae | HTML (Wert) | : | #bcbcbc | |
CSS | : | #aeaeae | CSS | : | gray188 | |
CSS (Wert) | : | #aeaeae | CSS (Wert) | : | #bcbcbc | |
CSS (kürzest) | : | #aeaeae | CSS (kürzest) | : | #bcbcbc | |
CSS (RGB) | : | rgb(174,174,174) | CSS (RGB) | : | rgb(188,188,188) | |
CSS (%RGB) | : | rgb(68%,68%,68%) | CSS (%RGB) | : | rgb(73%,73%,73%) |
Verlauf Hintergrundfarbwert #aeaeae nach Schriftfarbe gray188 | |||||||
#aeaeae | #b0b0b0 | #b2b2b2 | #b4b4b4 | #b6b6b6 | #b8b8b8 | #bababa | #bcbcbc |
#aeaeae | #b0b0b0 | #b2b2b2 | #b4b4b4 | #b6b6b6 | #b8b8b8 | #bababa | #bcbcbc |
Kombination von #aeaeae und gray188 | |||||||
Cras id velit ante. Cras vestibulum tristique erat, ac interdum justo cursus in. 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. | gray188 ist nicht als Schriftfarbe auf Hintergrund #aeaeae geeignet. Sowohl Helligkeit als auch die Farben sind zu ähnlich. Die Ähnlichkeit von gray188 und #aeaeae beträgt 94.44%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 5.56%. |
Hintergrundfarbwert #aeaeae | Schriftfarbe gray188 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#aeaeae | #aeaeae | #aeaeae | #aeaeae | #bcbcbc | #bcbcbc | #bcbcbc | #bcbcbc |
#b9b9b9 | #b9b9b9 | #959595 | #959595 | #c5c5c5 | #c5c5c5 | #a1a1a1 | #a1a1a1 |
#c5c5c5 | #c5c5c5 | #7c7c7c | #7c7c7c | #cfcfcf | #cfcfcf | #868686 | #868686 |
#d0d0d0 | #d0d0d0 | #636363 | #636363 | #d8d8d8 | #d8d8d8 | #6b6b6b | #6b6b6b |
#dcdcdc | #dcdcdc | #4a4a4a | #4a4a4a | #e2e2e2 | #e2e2e2 | #505050 | #505050 |
#e7e7e7 | #e7e7e7 | #313131 | #313131 | #ebebeb | #ebebeb | #353535 | #353535 |
#f3f3f3 | #f3f3f3 | #181818 | #181818 | #f5f5f5 | #f5f5f5 | #1a1a1a | #1a1a1a |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Für dieses Beispiel umranden wir <img> mit einem . Den Hintergrund von <img> setzen wir entsprechend auf Farbwert #aeaeae. Dies geht in HTML nicht. Daher formatieren wir hier mit CSS.
<style type="text/css"><!-- img { border:2pt outset gray188; background-color:#aeaeae; } //--> </style>
Mehr zum Thema img erfahren Sie in Grafik in HTML. Beschreibung des Tag <img>.