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 #898989 | Schriftfarbe gray186 | |||||
Detail | : | Hintergrund #898989 | Detail | : | Schrift gray186 | |
Farbwert | : | #898989 | Farbe | : | gray186 | |
Farbe | : | gray137 | Farbwert | : | #bababa | |
HTML | : | #898989 | HTML | : | gray186 | |
HTML (Wert) | : | #898989 | HTML (Wert) | : | #bababa | |
CSS | : | #898989 | CSS | : | gray186 | |
CSS (Wert) | : | #898989 | CSS (Wert) | : | #bababa | |
CSS (kürzest) | : | #898989 | CSS (kürzest) | : | #bababa | |
CSS (RGB) | : | rgb(137,137,137) | CSS (RGB) | : | rgb(186,186,186) | |
CSS (%RGB) | : | rgb(53%,53%,53%) | CSS (%RGB) | : | rgb(72%,72%,72%) |
Verlauf Hintergrundfarbwert #898989 nach Schriftfarbe gray186 | |||||||
#898989 | #909090 | #979797 | #9e9e9e | #a5a5a5 | #acacac | #b3b3b3 | #bababa |
#898989 | #909090 | #979797 | #9e9e9e | #a5a5a5 | #acacac | #b3b3b3 | #bababa |
Kombination von #898989 und gray186 | |||||||
Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 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. | Die Ähnlichkeit von gray186 und #898989 beträgt 91.42%. Die Lesbarkeit dieser Farbkombination ergibt sich zu 8.58%. Auf Hintergrund #898989 ist gray186 ungeeignet, da die Helligkeit und Farben zu ähnlich sind. |
Hintergrundfarbwert #898989 | Schriftfarbe gray186 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#898989 | #898989 | #898989 | #898989 | #bababa | #bababa | #bababa | #bababa |
#999999 | #999999 | #757575 | #757575 | #c3c3c3 | #c3c3c3 | #9f9f9f | #9f9f9f |
#aaaaaa | #aaaaaa | #616161 | #616161 | #cdcdcd | #cdcdcd | #848484 | #848484 |
#bbbbbb | #bbbbbb | #4e4e4e | #4e4e4e | #d7d7d7 | #d7d7d7 | #6a6a6a | #6a6a6a |
#cccccc | #cccccc | #3a3a3a | #3a3a3a | #e1e1e1 | #e1e1e1 | #4f4f4f | #4f4f4f |
#dddddd | #dddddd | #272727 | #272727 | #ebebeb | #ebebeb | #353535 | #353535 |
#eeeeee | #eeeeee | #131313 | #131313 | #f5f5f5 | #f5f5f5 | #1a1a1a | #1a1a1a |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier umranden wir <textarea> mit einem 3 Pixel dicken, gestrichelten Rahmen in Farbe gray186 . Die Hintergrundfarbe für <textarea> setzen wir entsprechend auf Farbwert #898989. In HTML ist das kaum machbar. Wir nutzen daher CSS.
<style type="text/css"><!-- textarea { border:3px dashed gray186; background-color:#898989; } //--> </style>
Weiteres zu textarea können Sie in Formulare in HTML nachsehen. Die Beschreibung vom Tag textarea finden Sie in der HTML Referenz unter <textarea>.