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 #868686 | Schriftfarbe gray190 | |||||
Detail | : | Hintergrund #868686 | Detail | : | Schrift gray190 | |
Farbwert | : | #868686 | Farbe | : | gray190 | |
Farbe | : | gray134 | Farbwert | : | #bebebe | |
HTML | : | #868686 | HTML | : | gray190 | |
HTML (Wert) | : | #868686 | HTML (Wert) | : | #bebebe | |
CSS | : | #868686 | CSS | : | gray190 | |
CSS (Wert) | : | #868686 | CSS (Wert) | : | #bebebe | |
CSS (kürzest) | : | #868686 | CSS (kürzest) | : | #bebebe | |
CSS (RGB) | : | rgb(134,134,134) | CSS (RGB) | : | rgb(190,190,190) | |
CSS (%RGB) | : | rgb(52%,52%,52%) | CSS (%RGB) | : | rgb(74%,74%,74%) |
Verlauf Hintergrundfarbwert #868686 nach Schriftfarbe gray190 | |||||||
#868686 | #8e8e8e | #969696 | #9e9e9e | #a6a6a6 | #aeaeae | #b6b6b6 | #bebebe |
#868686 | #8e8e8e | #969696 | #9e9e9e | #a6a6a6 | #aeaeae | #b6b6b6 | #bebebe |
Kombination von #868686 und gray190 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum tristique erat, ac interdum justo cursus in. Cras id velit ante. 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. | Die Ähnlichkeit von gray190 und #868686 ergibt sich zu 90.67%. Die Lesbarkeit dieser Farbkombination ergibt sich zu 9.33%. gray190 ist nicht als Schriftfarbe auf Hintergrund #868686 geeignet. Die Helligkeit und Farben sind sich zu ähnlich. |
Hintergrundfarbwert #868686 | Schriftfarbe gray190 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#868686 | #868686 | #868686 | #868686 | #bebebe | #bebebe | #bebebe | #bebebe |
#979797 | #979797 | #727272 | #727272 | #c7c7c7 | #c7c7c7 | #a2a2a2 | #a2a2a2 |
#a8a8a8 | #a8a8a8 | #5f5f5f | #5f5f5f | #d0d0d0 | #d0d0d0 | #878787 | #878787 |
#b9b9b9 | #b9b9b9 | #4c4c4c | #4c4c4c | #d9d9d9 | #d9d9d9 | #6c6c6c | #6c6c6c |
#cbcbcb | #cbcbcb | #393939 | #393939 | #e3e3e3 | #e3e3e3 | #515151 | #515151 |
#dcdcdc | #dcdcdc | #262626 | #262626 | #ececec | #ececec | #363636 | #363636 |
#ededed | #ededed | #131313 | #131313 | #f5f5f5 | #f5f5f5 | #1b1b1b | #1b1b1b |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <label> auf Farbe gray190 und die Hintergrundfarbe von <label> auf Farbwert #868686. Als Schriftart wählen wir monospace. Die Schriftgröße setzen wir auf 13px.
<style type="text/css"><!-- label { color:gray190; font-family:monospace; background-color:#868686; font-size:13px; } //--> </style>
Mehr zu label können Sie in Formulare in HTML nachsehen. Zur Beschreibung des Tag <label>.