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 #acacac | Schriftfarbwert #838383 | |||||
Detail | : | Hintergrund #acacac | Detail | : | Schrift #838383 | |
Farbwert | : | #acacac | Farbwert | : | #838383 | |
Farbe | : | gray172 | Farbe | : | gray131 | |
HTML | : | #acacac | HTML | : | #838383 | |
HTML (Wert) | : | #acacac | HTML (Wert) | : | #838383 | |
CSS | : | #acacac | CSS | : | #838383 | |
CSS (Wert) | : | #acacac | CSS (Wert) | : | #838383 | |
CSS (kürzest) | : | #acacac | CSS (kürzest) | : | #838383 | |
CSS (RGB) | : | rgb(172,172,172) | CSS (RGB) | : | rgb(131,131,131) | |
CSS (%RGB) | : | rgb(67%,67%,67%) | CSS (%RGB) | : | rgb(51%,51%,51%) |
Verlauf Hintergrundfarbwert #acacac nach Schriftfarbwert #838383 | |||||||
#acacac | #a6a6a6 | #a0a0a0 | #9a9a9a | #949494 | #8e8e8e | #888888 | #838383 |
#acacac | #a6a6a6 | #a0a0a0 | #9a9a9a | #949494 | #8e8e8e | #888888 | #838383 |
Kombination von #acacac und #838383 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id velit ante. 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. Cras vestibulum tristique erat, ac interdum justo cursus in. | Die Ähnlichkeit von #838383 und #acacac beträgt 92.05%. Die Lesbarkeit dieser Farbkombination liegt damit bei 7.95%. Auf Hintergrund #acacac ist #838383 ungeeignet. Die Helligkeit und Farben sind sich zu ähnlich. |
Hintergrundfarbwert #acacac | Schriftfarbwert #838383 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#acacac | #acacac | #acacac | #acacac | #838383 | #838383 | #838383 | #838383 |
#b7b7b7 | #b7b7b7 | #939393 | #939393 | #949494 | #949494 | #707070 | #707070 |
#c3c3c3 | #c3c3c3 | #7a7a7a | #7a7a7a | #a6a6a6 | #a6a6a6 | #5d5d5d | #5d5d5d |
#cfcfcf | #cfcfcf | #626262 | #626262 | #b8b8b8 | #b8b8b8 | #4a4a4a | #4a4a4a |
#dbdbdb | #dbdbdb | #494949 | #494949 | #c9c9c9 | #c9c9c9 | #383838 | #383838 |
#e7e7e7 | #e7e7e7 | #313131 | #313131 | #dbdbdb | #dbdbdb | #252525 | #252525 |
#f3f3f3 | #f3f3f3 | #181818 | #181818 | #ededed | #ededed | #121212 | #121212 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <button> auf Farbwert #838383 und die Hintergrundfarbe von <button> auf Farbwert #acacac. Die Schriftart setzen wir auf monospace und setzen die Schriftgröße auf 13px.
<style type="text/css"><!-- button { background-color:#acacac; font-family:monospace; color:#838383; font-size:13px; } //--> </style>
Mehr zu button lesen Sie in Formulare in HTML. Beschreibung vom HTML-Befehl <button>.