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 #767676 | Schriftfarbwert #6a6a6a | |||||
Detail | : | Hintergrund #767676 | Detail | : | Schrift #6a6a6a | |
Farbwert | : | #767676 | Farbwert | : | #6a6a6a | |
Farbe | : | gray118 | Farbe | : | gray106 | |
HTML | : | #767676 | HTML | : | #6a6a6a | |
HTML (Wert) | : | #767676 | HTML (Wert) | : | #6a6a6a | |
CSS | : | #767676 | CSS | : | #6a6a6a | |
CSS (Wert) | : | #767676 | CSS (Wert) | : | #6a6a6a | |
CSS (kürzest) | : | #767676 | CSS (kürzest) | : | #6a6a6a | |
CSS (RGB) | : | rgb(118,118,118) | CSS (RGB) | : | rgb(106,106,106) | |
CSS (%RGB) | : | rgb(46%,46%,46%) | CSS (%RGB) | : | rgb(41%,41%,41%) |
Verlauf Hintergrundfarbwert #767676 nach Schriftfarbwert #6a6a6a | |||||||
#767676 | #747474 | #727272 | #707070 | #6f6f6f | #6d6d6d | #6b6b6b | #6a6a6a |
#767676 | #747474 | #727272 | #707070 | #6f6f6f | #6d6d6d | #6b6b6b | #6a6a6a |
Kombination von #767676 und #6a6a6a | |||||||
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 #6a6a6a und #767676 ergibt sich zu 94.33%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 5.67%. #6a6a6a eignet sich nicht als Schriftfarbe auf Hintergrund #767676, weil die Helligkeit und Farben zu ähnlich sind. |
Hintergrundfarbwert #767676 | Schriftfarbwert #6a6a6a | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#767676 | #767676 | #767676 | #767676 | #6a6a6a | #6a6a6a | #6a6a6a | #6a6a6a |
#898989 | #898989 | #656565 | #656565 | #7f7f7f | #7f7f7f | #5a5a5a | #5a5a5a |
#9d9d9d | #9d9d9d | #545454 | #545454 | #949494 | #949494 | #4b4b4b | #4b4b4b |
#b0b0b0 | #b0b0b0 | #434343 | #434343 | #a9a9a9 | #a9a9a9 | #3c3c3c | #3c3c3c |
#c4c4c4 | #c4c4c4 | #323232 | #323232 | #bfbfbf | #bfbfbf | #2d2d2d | #2d2d2d |
#d7d7d7 | #d7d7d7 | #212121 | #212121 | #d4d4d4 | #d4d4d4 | #1e1e1e | #1e1e1e |
#ebebeb | #ebebeb | #101010 | #101010 | #e9e9e9 | #e9e9e9 | #0f0f0f | #0f0f0f |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier umranden wir <textarea> mit einem . Die Hintergrundfarbe für <textarea> setzen wir auf Farbwert #767676. Dies ist in HTML nicht möglich. Deshalb formatieren wir mit CSS.
<style type="text/css"><!-- textarea { border:5px double #6a6a6a; background-color:#767676; } //--> </style>
Mehr zum Thema textarea erfahren Sie in Formulare in HTML. Zur Beschreibung vom hier verwendeten HTML-Befehl <textarea>.