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 #9b9b9b | Schriftfarbwert #4a4a4a | |||||
Detail | : | Hintergrund #9b9b9b | Detail | : | Schrift #4a4a4a | |
Farbwert | : | #9b9b9b | Farbwert | : | #4a4a4a | |
Farbe | : | gray155 | Farbe | : | gray74 | |
HTML | : | #9b9b9b | HTML | : | #4a4a4a | |
HTML (Wert) | : | #9b9b9b | HTML (Wert) | : | #4a4a4a | |
CSS | : | #9b9b9b | CSS | : | #4a4a4a | |
CSS (Wert) | : | #9b9b9b | CSS (Wert) | : | #4a4a4a | |
CSS (kürzest) | : | #9b9b9b | CSS (kürzest) | : | #4a4a4a | |
CSS (RGB) | : | rgb(155,155,155) | CSS (RGB) | : | rgb(74,74,74) | |
CSS (%RGB) | : | rgb(60%,60%,60%) | CSS (%RGB) | : | rgb(29%,29%,29%) |
Verlauf Hintergrundfarbwert #9b9b9b nach Schriftfarbwert #4a4a4a | |||||||
#9b9b9b | #8f8f8f | #838383 | #787878 | #6c6c6c | #616161 | #555555 | #4a4a4a |
#9b9b9b | #8f8f8f | #838383 | #787878 | #6c6c6c | #616161 | #555555 | #4a4a4a |
Kombination von #9b9b9b und #4a4a4a | |||||||
Cras id velit ante. Cras vestibulum tristique erat, ac interdum justo cursus in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 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. | Auf Hintergrund #9b9b9b ist #4a4a4a ungeeignet, weil die Helligkeit und Farben zu ähnlich sind. Die Ähnlichkeit der Farben #4a4a4a und #9b9b9b beträgt 84.82%. Die Lesbarkeit dieser Kombination von Farben liegt damit bei 15.18%. |
Hintergrundfarbwert #9b9b9b | Schriftfarbwert #4a4a4a | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#9b9b9b | #9b9b9b | #9b9b9b | #9b9b9b | #4a4a4a | #4a4a4a | #4a4a4a | #4a4a4a |
#a9a9a9 | #a9a9a9 | #848484 | #848484 | #636363 | #636363 | #3f3f3f | #3f3f3f |
#b7b7b7 | #b7b7b7 | #6e6e6e | #6e6e6e | #7d7d7d | #7d7d7d | #343434 | #343434 |
#c5c5c5 | #c5c5c5 | #585858 | #585858 | #979797 | #979797 | #2a2a2a | #2a2a2a |
#d4d4d4 | #d4d4d4 | #424242 | #424242 | #b1b1b1 | #b1b1b1 | #1f1f1f | #1f1f1f |
#e2e2e2 | #e2e2e2 | #2c2c2c | #2c2c2c | #cbcbcb | #cbcbcb | #151515 | #151515 |
#f0f0f0 | #f0f0f0 | #161616 | #161616 | #e5e5e5 | #e5e5e5 | #0a0a0a | #0a0a0a |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <cite> auf Farbwert #4a4a4a und die Hintergrundfarbe von <cite> auf Farbwert #9b9b9b. Als Schriftart wählen wir sans-serif. Die Schriftgröße setzen wir auf 9px.
<style type="text/css"><!-- cite { background-color: #9b9b9b; color: #4a4a4a; font-size: 9px; font-family: sans-serif; } //--> </style>
Zur Beschreibung des Tag <cite>.