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 #bcbcbc | Schriftfarbwert #868686 | |||||
Detail | : | Hintergrund #bcbcbc | Detail | : | Schrift #868686 | |
Farbwert | : | #bcbcbc | Farbwert | : | #868686 | |
Farbe | : | gray188 | Farbe | : | gray134 | |
HTML | : | #bcbcbc | HTML | : | #868686 | |
HTML (Wert) | : | #bcbcbc | HTML (Wert) | : | #868686 | |
CSS | : | #bcbcbc | CSS | : | #868686 | |
CSS (Wert) | : | #bcbcbc | CSS (Wert) | : | #868686 | |
CSS (kürzest) | : | #bcbcbc | CSS (kürzest) | : | #868686 | |
CSS (RGB) | : | rgb(188,188,188) | CSS (RGB) | : | rgb(134,134,134) | |
CSS (%RGB) | : | rgb(73%,73%,73%) | CSS (%RGB) | : | rgb(52%,52%,52%) |
Verlauf Hintergrundfarbwert #bcbcbc nach Schriftfarbwert #868686 | |||||||
#bcbcbc | #b4b4b4 | #acacac | #a4a4a4 | #9d9d9d | #959595 | #8d8d8d | #868686 |
#bcbcbc | #b4b4b4 | #acacac | #a4a4a4 | #9d9d9d | #959595 | #8d8d8d | #868686 |
Kombination von #bcbcbc und #868686 | |||||||
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. | Die Ähnlichkeit der Farben #868686 und #bcbcbc ergibt sich zu 90.87%. Die Lesbarkeit dieser Farbkombination liegt damit bei 9.13%. #868686 eignet sich nicht als Schriftfarbe auf Hintergrund #bcbcbc, da die Helligkeit und Farben zu ähnlich sind. |
Hintergrundfarbwert #bcbcbc | Schriftfarbwert #868686 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#bcbcbc | #bcbcbc | #bcbcbc | #bcbcbc | #868686 | #868686 | #868686 | #868686 |
#c5c5c5 | #c5c5c5 | #a1a1a1 | #a1a1a1 | #979797 | #979797 | #727272 | #727272 |
#cfcfcf | #cfcfcf | #868686 | #868686 | #a8a8a8 | #a8a8a8 | #5f5f5f | #5f5f5f |
#d8d8d8 | #d8d8d8 | #6b6b6b | #6b6b6b | #b9b9b9 | #b9b9b9 | #4c4c4c | #4c4c4c |
#e2e2e2 | #e2e2e2 | #505050 | #505050 | #cbcbcb | #cbcbcb | #393939 | #393939 |
#ebebeb | #ebebeb | #353535 | #353535 | #dcdcdc | #dcdcdc | #262626 | #262626 |
#f5f5f5 | #f5f5f5 | #1a1a1a | #1a1a1a | #ededed | #ededed | #131313 | #131313 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Einen Verweis erzeugt man mit Befehl <a>. Diesen kann man hervorheben und farblich gestalten.
Hier ändern wir die Textfarbe von <a> auf Farbwert #868686 und die Hintergrundfarbe von <a> auf Farbwert #bcbcbc. Die Schriftart ändern wir auf monospace und ändern die Schriftgröße auf 13px.
<style type="text/css"><!-- a { font-size:13px; background-color:#bcbcbc; color:#868686; font-family:monospace; } //--> </style>
Weiteres zum Thema erfahren Sie in Verweise und Protokolle in HTML. Der Befehl a ist in der HTML Referenz unter <a> zusammengestellt.