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 #bababa | Schriftfarbwert #646464 | |||||
Detail | : | Hintergrund #bababa | Detail | : | Schrift #646464 | |
Farbwert | : | #bababa | Farbwert | : | #646464 | |
Farbe | : | gray186 | Farbe | : | gray100 | |
HTML | : | #bababa | HTML | : | #646464 | |
HTML (Wert) | : | #bababa | HTML (Wert) | : | #646464 | |
CSS | : | #bababa | CSS | : | #646464 | |
CSS (Wert) | : | #bababa | CSS (Wert) | : | #646464 | |
CSS (kürzest) | : | #bababa | CSS (kürzest) | : | #646464 | |
CSS (RGB) | : | rgb(186,186,186) | CSS (RGB) | : | rgb(100,100,100) | |
CSS (%RGB) | : | rgb(72%,72%,72%) | CSS (%RGB) | : | rgb(39%,39%,39%) |
Verlauf Hintergrundfarbwert #bababa nach Schriftfarbwert #646464 | |||||||
#bababa | #adadad | #a1a1a1 | #959595 | #888888 | #7c7c7c | #707070 | #646464 |
#bababa | #adadad | #a1a1a1 | #959595 | #888888 | #7c7c7c | #707070 | #646464 |
Kombination von #bababa und #646464 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras vestibulum tristique erat, ac interdum justo cursus in. Cras id velit ante. | #646464 ist nicht als Schriftfarbe auf Hintergrund #bababa geeignet. Die Helligkeit und Farben sind sich zu ähnlich. Die Ähnlichkeit von #646464 und #bababa beträgt 85.48%. Die Lesbarkeit dieser Farbkombination liegt damit bei 14.52%. |
Hintergrundfarbwert #bababa | Schriftfarbwert #646464 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#bababa | #bababa | #bababa | #bababa | #646464 | #646464 | #646464 | #646464 |
#c3c3c3 | #c3c3c3 | #9f9f9f | #9f9f9f | #7a7a7a | #7a7a7a | #555555 | #555555 |
#cdcdcd | #cdcdcd | #848484 | #848484 | #909090 | #909090 | #474747 | #474747 |
#d7d7d7 | #d7d7d7 | #6a6a6a | #6a6a6a | #a6a6a6 | #a6a6a6 | #393939 | #393939 |
#e1e1e1 | #e1e1e1 | #4f4f4f | #4f4f4f | #bcbcbc | #bcbcbc | #2a2a2a | #2a2a2a |
#ebebeb | #ebebeb | #353535 | #353535 | #d2d2d2 | #d2d2d2 | #1c1c1c | #1c1c1c |
#f5f5f5 | #f5f5f5 | #1a1a1a | #1a1a1a | #e8e8e8 | #e8e8e8 | #0e0e0e | #0e0e0e |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
In diesem Beispiel ändern wir die Textfarbe von <textarea> auf Farbwert #646464 und die Hintergrundfarbe von <textarea> auf Farbwert #bababa. Als Schriftart wählen wir sans-serif. Die Schriftgröße verringern wir auf 99%.
<style type="text/css"><!-- textarea { font-family:sans-serif; font-size:99%; color:#646464; background-color:#bababa; } //--> </style>
Weiteres zu textarea können Sie in Formulare in HTML erfahren. Der Befehl textarea ist in der HTML Referenz unter <textarea> genau zusammengestellt.