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 #b3b3b3 | Schriftfarbwert #444444 | |||||
Detail | : | Hintergrund #b3b3b3 | Detail | : | Schrift #444444 | |
Farbwert | : | #b3b3b3 | Farbwert | : | #444444 | |
Farbe | : | gray179 | Farbe | : | gray68 | |
HTML | : | #b3b3b3 | HTML | : | #444444 | |
HTML (Wert) | : | #b3b3b3 | HTML (Wert) | : | #444444 | |
CSS | : | #b3b3b3 | CSS | : | #444444 | |
CSS (Wert) | : | #b3b3b3 | CSS (Wert) | : | #444444 | |
CSS (kürzest) | : | #b3b3b3 | CSS (kürzest) | : | #444 | |
CSS (RGB) | : | rgb(179,179,179) | CSS (RGB) | : | rgb(68,68,68) | |
CSS (%RGB) | : | rgb(70%,70%,70%) | CSS (%RGB) | : | rgb(26%,26%,26%) |
Verlauf Hintergrundfarbwert #b3b3b3 nach Schriftfarbwert #444444 | |||||||
#b3b3b3 | #a3a3a3 | #939393 | #838383 | #737373 | #636363 | #535353 | #444444 |
#b3b3b3 | #a3a3a3 | #939393 | #838383 | #737373 | #636363 | #535353 | #444444 |
Kombination von #b3b3b3 und #444444 | |||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Cras id velit ante. Cras vestibulum tristique erat, ac interdum justo cursus in. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. | Die Ähnlichkeit der Farben #444444 und #b3b3b3 ergibt sich zu 77.88%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 22.12%. #444444 eignet sich nicht als Schriftfarbe auf Hintergrund #b3b3b3, weil die Unterschiede in der Helligkeit und Farbe zu gering sind. |
Hintergrundfarbwert #b3b3b3 | Schriftfarbwert #444444 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#b3b3b3 | #b3b3b3 | #b3b3b3 | #b3b3b3 | #444444 | #444444 | #444444 | #444444 |
#bdbdbd | #bdbdbd | #999999 | #999999 | #5e5e5e | #5e5e5e | #3a3a3a | #3a3a3a |
#c8c8c8 | #c8c8c8 | #7f7f7f | #7f7f7f | #797979 | #797979 | #303030 | #303030 |
#d3d3d3 | #d3d3d3 | #666666 | #666666 | #949494 | #949494 | #262626 | #262626 |
#dedede | #dedede | #4c4c4c | #4c4c4c | #aeaeae | #aeaeae | #1d1d1d | #1d1d1d |
#e9e9e9 | #e9e9e9 | #333333 | #333333 | #c9c9c9 | #c9c9c9 | #131313 | #131313 |
#f4f4f4 | #f4f4f4 | #191919 | #191919 | #e4e4e4 | #e4e4e4 | #090909 | #090909 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
In diesem Beispiel ändern wir die Textfarbe von <tr> auf Farbwert #444444 und die Hintergrundfarbe von <tr> auf Farbwert #b3b3b3. Die Schriftart ändern wir auf sans-serif. Als Schriftgröße wählen wir 9px.
<style type="text/css"><!-- tr { font-family:sans-serif; color:#444; font-size:9px; background-color:#b3b3b3; } //--> </style>
Mehr zu tr erfahren Sie in Tabellen in HTML. Zur Beschreibung des HTML-Tag <tr>.