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 #696969 | Schriftfarbe gray23 | |||||
Detail | : | Hintergrund #696969 | Detail | : | Schrift gray23 | |
Farbwert | : | #696969 | Farbe | : | gray23 | |
Farbe | : | gray105 | Farbwert | : | #171717 | |
HTML | : | #696969 | HTML | : | gray23 | |
HTML (Wert) | : | #696969 | HTML (Wert) | : | #171717 | |
CSS | : | #696969 | CSS | : | gray23 | |
CSS (Wert) | : | #696969 | CSS (Wert) | : | #171717 | |
CSS (kürzest) | : | #696969 | CSS (kürzest) | : | #171717 | |
CSS (RGB) | : | rgb(105,105,105) | CSS (RGB) | : | rgb(23,23,23) | |
CSS (%RGB) | : | rgb(41%,41%,41%) | CSS (%RGB) | : | rgb(9%,9%,9%) |
Verlauf Hintergrundfarbwert #696969 nach Schriftfarbe gray23 | |||||||
#696969 | #5d5d5d | #515151 | #454545 | #3a3a3a | #2e2e2e | #222222 | #171717 |
#696969 | #5d5d5d | #515151 | #454545 | #3a3a3a | #2e2e2e | #222222 | #171717 |
Kombination von #696969 und gray23 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum tristique erat, ac interdum justo cursus in. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Cras id velit ante. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. | Die Ähnlichkeit von gray23 und #696969 beträgt 84.45%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 15.55%. Auf Hintergrund #696969 ist gray23 ungeeignet, weil die Unterschiede in der Helligkeit und Farbe unzureichend sind. |
Hintergrundfarbwert #696969 | Schriftfarbe gray23 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#696969 | #696969 | #696969 | #696969 | #171717 | #171717 | #171717 | #171717 |
#7e7e7e | #7e7e7e | #5a5a5a | #5a5a5a | #383838 | #383838 | #131313 | #131313 |
#939393 | #939393 | #4b4b4b | #4b4b4b | #595959 | #595959 | #101010 | #101010 |
#a9a9a9 | #a9a9a9 | #3c3c3c | #3c3c3c | #7a7a7a | #7a7a7a | #0d0d0d | #0d0d0d |
#bebebe | #bebebe | #2d2d2d | #2d2d2d | #9b9b9b | #9b9b9b | #090909 | #090909 |
#d4d4d4 | #d4d4d4 | #1e1e1e | #1e1e1e | #bcbcbc | #bcbcbc | #060606 | #060606 |
#e9e9e9 | #e9e9e9 | #0f0f0f | #0f0f0f | #dddddd | #dddddd | #030303 | #030303 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Wir ändern bei diesem Beispiel die Textfarbe von <center> auf Farbe gray23 und die Hintergrundfarbe von <center> auf Farbwert #696969. Die Schriftart ändern wir auf courier new. Die Schriftgröße setzen wir auf 13px.
<style type="text/css"><!-- center { color: gray23; font-family: courier new; background-color: #696969; font-size: 13px; } //--> </style>
Weiteres zu center können Sie in Grundlegende Gestaltungselemente in HTML erfahren. Weiteres zum HTML-Befehl <center>.