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 #595959 | Schriftfarbwert #494949 | |||||
Detail | : | Hintergrund #595959 | Detail | : | Schrift #494949 | |
Farbwert | : | #595959 | Farbwert | : | #494949 | |
Farbe | : | gray89 | Farbe | : | gray73 | |
HTML | : | #595959 | HTML | : | #494949 | |
HTML (Wert) | : | #595959 | HTML (Wert) | : | #494949 | |
CSS | : | #595959 | CSS | : | #494949 | |
CSS (Wert) | : | #595959 | CSS (Wert) | : | #494949 | |
CSS (kürzest) | : | #595959 | CSS (kürzest) | : | #494949 | |
CSS (RGB) | : | rgb(89,89,89) | CSS (RGB) | : | rgb(73,73,73) | |
CSS (%RGB) | : | rgb(34%,34%,34%) | CSS (%RGB) | : | rgb(28%,28%,28%) |
Verlauf Hintergrundfarbwert #595959 nach Schriftfarbwert #494949 | |||||||
#595959 | #565656 | #545454 | #525252 | #4f4f4f | #4d4d4d | #4b4b4b | #494949 |
#595959 | #565656 | #545454 | #525252 | #4f4f4f | #4d4d4d | #4b4b4b | #494949 |
Kombination von #595959 und #494949 | |||||||
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. Cras id velit ante. Cras vestibulum tristique erat, ac interdum justo cursus in. | Auf Hintergrund #595959 ist #494949 ungeeignet. Sowohl Helligkeit als auch die Farben sind zu ähnlich. Die Ähnlichkeit von #494949 und #595959 ergibt sich zu 93.88%. Die Lesbarkeit dieser Farbkombination liegt damit bei 6.12%. |
Hintergrundfarbwert #595959 | Schriftfarbwert #494949 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#595959 | #595959 | #595959 | #595959 | #494949 | #494949 | #494949 | #494949 |
#707070 | #707070 | #4c4c4c | #4c4c4c | #636363 | #636363 | #3e3e3e | #3e3e3e |
#888888 | #888888 | #3f3f3f | #3f3f3f | #7d7d7d | #7d7d7d | #343434 | #343434 |
#a0a0a0 | #a0a0a0 | #323232 | #323232 | #979797 | #979797 | #292929 | #292929 |
#b7b7b7 | #b7b7b7 | #262626 | #262626 | #b1b1b1 | #b1b1b1 | #1f1f1f | #1f1f1f |
#cfcfcf | #cfcfcf | #191919 | #191919 | #cbcbcb | #cbcbcb | #141414 | #141414 |
#e7e7e7 | #e7e7e7 | #0c0c0c | #0c0c0c | #e5e5e5 | #e5e5e5 | #0a0a0a | #0a0a0a |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier ändern wir die Textfarbe von <address> auf Farbwert #494949. Die Schriftart ändern wir auf arial. Die Schriftgröße ändern wir auf 13px. Wir unterstreichen den Inhalt von <address> mit Hilfe eines gezahnten Rahmens mit 5 Punkte Dicke in Farbwert #595959. Das ist in HTML kaum möglich. Wir verwenden daher CSS.
<style type="text/css"><!-- address { font-size:13px; border-bottom-color:#595959; border-bottom-style:ridge; color:#494949; font-family:arial; border-bottom-width:5pt; } //--> </style>
Die Idee ist, unterschiedliche Formatierungen für Inhalt und Unterstreichung zu haben.
Mehr zu address können Sie in Blockorientierte Elemente in HTML lesen. Zur Beschreibung des Befehl <address>.