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 #343434 | Schriftfarbe gray25 | |||||
| Detail | : | Hintergrund #343434 | Detail | : | Schrift gray25 | |
| Farbwert | : | #343434 | Farbe | : | gray25 | |
| Farbe | : | gray52 | Farbwert | : | #191919 | |
| HTML | : | #343434 | HTML | : | gray25 | |
| HTML (Wert) | : | #343434 | HTML (Wert) | : | #191919 | |
| CSS | : | #343434 | CSS | : | gray25 | |
| CSS (Wert) | : | #343434 | CSS (Wert) | : | #191919 | |
| CSS (kürzest) | : | #343434 | CSS (kürzest) | : | #191919 | |
| CSS (RGB) | : | rgb(52,52,52) | CSS (RGB) | : | rgb(25,25,25) | |
| CSS (%RGB) | : | rgb(20%,20%,20%) | CSS (%RGB) | : | rgb(9%,9%,9%) | |
Verlauf Hintergrundfarbwert #343434 nach Schriftfarbe gray25 | |||||||
| #343434 | #303030 | #2c2c2c | #282828 | #242424 | #202020 | #1c1c1c | #191919 |
| #343434 | #303030 | #2c2c2c | #282828 | #242424 | #202020 | #1c1c1c | #191919 |
Kombination von #343434 und gray25 | |||||||
| 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. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras id velit ante. | Auf Hintergrund #343434 ist gray25 ungeeignet. Die Unterschiede in der Helligkeit und Farbe sind unzureichend. Die Ähnlichkeit von gray25 und #343434 ergibt sich zu 93.28%. Die Lesbarkeit dieser Farbkombination ergibt sich zu 6.72%. | ||||||
Hintergrundfarbwert #343434 | Schriftfarbe gray25 | ||||||
| Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
| #343434 | #343434 | #343434 | #343434 | #191919 | #191919 | #191919 | #191919 |
| #515151 | #515151 | #2c2c2c | #2c2c2c | #393939 | #393939 | #151515 | #151515 |
| #6e6e6e | #6e6e6e | #252525 | #252525 | #5a5a5a | #5a5a5a | #111111 | #111111 |
| #8b8b8b | #8b8b8b | #1d1d1d | #1d1d1d | #7b7b7b | #7b7b7b | #0e0e0e | #0e0e0e |
| #a8a8a8 | #a8a8a8 | #161616 | #161616 | #9c9c9c | #9c9c9c | #0a0a0a | #0a0a0a |
| #c5c5c5 | #c5c5c5 | #0e0e0e | #0e0e0e | #bdbdbd | #bdbdbd | #070707 | #070707 |
| #e2e2e2 | #e2e2e2 | #070707 | #070707 | #dedede | #dedede | #030303 | #030303 |
| #ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <table> auf Farbe gray25 und die Hintergrundfarbe von <table> auf Farbwert #343434. Die Schriftart ändern wir auf monospace. Die Schriftgröße setzen wir auf 89%.
<style type="text/css"><!-- table { font-family:monospace; font-size:89%; background-color:#343434; color:gray25; } //--> </style>
Weiteres zum Thema table lesen Sie in Tabellen in HTML. Einzelheiten des Befehl table sind in der HTML Referenz bei <table> genau beschrieben.