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 #c8c8c8 | Schriftfarbwert #151515 | |||||
Detail | : | Hintergrund #c8c8c8 | Detail | : | Schrift #151515 | |
Farbwert | : | #c8c8c8 | Farbwert | : | #151515 | |
Farbe | : | gray200 | Farbe | : | gray21 | |
HTML | : | #c8c8c8 | HTML | : | #151515 | |
HTML (Wert) | : | #c8c8c8 | HTML (Wert) | : | #151515 | |
CSS | : | #c8c8c8 | CSS | : | #151515 | |
CSS (Wert) | : | #c8c8c8 | CSS (Wert) | : | #151515 | |
CSS (kürzest) | : | #c8c8c8 | CSS (kürzest) | : | #151515 | |
CSS (RGB) | : | rgb(200,200,200) | CSS (RGB) | : | rgb(21,21,21) | |
CSS (%RGB) | : | rgb(78%,78%,78%) | CSS (%RGB) | : | rgb(8%,8%,8%) |
Verlauf Hintergrundfarbwert #c8c8c8 nach Schriftfarbwert #151515 | |||||||
#c8c8c8 | #aeaeae | #949494 | #7b7b7b | #616161 | #484848 | #2e2e2e | #151515 |
#c8c8c8 | #aeaeae | #949494 | #7b7b7b | #616161 | #484848 | #2e2e2e | #151515 |
Kombination von #c8c8c8 und #151515 | |||||||
Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras vestibulum tristique erat, ac interdum justo cursus in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id velit ante. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. | #151515 eignet sich als Schriftfarbe auf Hintergrund #c8c8c8. Sowohl der Unterschied in den Helligkeiten als auch der Unterschied in den Farben sind gut. Die Ähnlichkeit von #151515 und #c8c8c8 beträgt 48.03%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 51.97%. |
Hintergrundfarbwert #c8c8c8 | Schriftfarbwert #151515 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#c8c8c8 | #c8c8c8 | #c8c8c8 | #c8c8c8 | #151515 | #151515 | #151515 | #151515 |
#cfcfcf | #cfcfcf | #ababab | #ababab | #363636 | #363636 | #121212 | #121212 |
#d7d7d7 | #d7d7d7 | #8e8e8e | #8e8e8e | #575757 | #575757 | #0f0f0f | #0f0f0f |
#dfdfdf | #dfdfdf | #727272 | #727272 | #797979 | #797979 | #0c0c0c | #0c0c0c |
#e7e7e7 | #e7e7e7 | #555555 | #555555 | #9a9a9a | #9a9a9a | #090909 | #090909 |
#efefef | #efefef | #393939 | #393939 | #bcbcbc | #bcbcbc | #060606 | #060606 |
#f7f7f7 | #f7f7f7 | #1c1c1c | #1c1c1c | #dddddd | #dddddd | #030303 | #030303 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <center> auf Farbwert #151515 und die Hintergrundfarbe von <center> auf Farbwert #c8c8c8. Als Schriftart setzen wir monospace und als Schriftgröße setzen wir 95%.
<style type="text/css"><!-- center { color: #151515; font-family: monospace; font-size: 95%; background-color: #c8c8c8; } //--> </style>
Mehr zum Thema können Sie in Grundlegende Gestaltungselemente in HTML finden. Zur Beschreibung des hier gezeigten Tag <center>.