von Thomas Salvador.
Farben werden in HTML entweder mit ihrem Namen oder mit ihrem Wert beschrieben.
Netscape führte seinerzeit die websicheren Farben ein. Neben diesen Farbwerten, die einem bestimmten Schema folgen, definierte man noch 120 Werte und ordnete ihnen Namen zu.
Hintergrundfarbe mediumaquamarine | Schriftfarbwert #006400 | |||||
Detail | : | Hintergrund mediumaquamarine | Detail | : | Schrift #006400 | |
Farbe | : | mediumaquamarine | Farbwert | : | #006400 | |
Farbwert | : | #66cdaa | Farbe | : | darkgreen | |
HTML | : | mediumaquamarine | HTML | : | #006400 | |
HTML (Wert) | : | #66cdaa | HTML (Wert) | : | #006400 | |
CSS | : | mediumaquamarine | CSS | : | #006400 | |
CSS (Wert) | : | #66cdaa | CSS (Wert) | : | #006400 | |
CSS (kürzest) | : | #66cdaa | CSS (kürzest) | : | #006400 | |
CSS (RGB) | : | rgb(102,205,170) | CSS (RGB) | : | rgb(0,100,0) | |
CSS (%RGB) | : | rgb(40%,80%,66%) | CSS (%RGB) | : | rgb(0%,39%,0%) |
Verlauf Hintergrundfarbe mediumaquamarine nach Schriftfarbwert #006400 | |||||||
#66cdaa | #57be91 | #48af79 | #3aa061 | #2b9148 | #1d8230 | #0e7318 | #006400 |
#66cdaa | #57be91 | #48af79 | #3aa061 | #2b9148 | #1d8230 | #0e7318 | #006400 |
Kombination von mediumaquamarine und #006400 | |||||||
Cras vestibulum tristique erat, ac interdum justo cursus in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id velit ante. 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. | Die Ähnlichkeit von #006400 und mediumaquamarine beträgt 81.65%. Die Lesbarkeit dieser Kombination von Farben bewerte ich mit 18.35%. #006400 ist nicht als Schriftfarbe auf Hintergrund mediumaquamarine geeignet. Die Unterschiede in der Helligkeit und Farbe sind zu gering. |
Hintergrundfarbe mediumaquamarine | Schriftfarbwert #006400 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#66cdaa | #66cdaa | #66cdaa | #66cdaa | #006400 | #006400 | #006400 | #006400 |
#7bd4b6 | #7bd4b6 | #57af91 | #57af91 | #247a24 | #247a24 | #005500 | #005500 |
#91dbc2 | #91dbc2 | #489279 | #489279 | #489048 | #489048 | #004700 | #004700 |
#a7e2ce | #a7e2ce | #3a7561 | #3a7561 | #6da66d | #6da66d | #003900 | #003900 |
#bde9da | #bde9da | #2b5748 | #2b5748 | #91bc91 | #91bc91 | #002a00 | #002a00 |
#d3f0e6 | #d3f0e6 | #1d3a30 | #1d3a30 | #b6d2b6 | #b6d2b6 | #001c00 | #001c00 |
#e9f7f2 | #e9f7f2 | #0e1d18 | #0e1d18 | #dae8da | #dae8da | #000e00 | #000e00 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Die Textfarbe soll sich von Farbe mediumaquamarine auf Farbwert #006400 ändern, wenn man mit der Maus auf <blockquote> zeigt. Bereiten wir zunächst die Darstellung von <blockquote> in Farbe mediumaquamarine vor.
Zum Beispiel ändern wir bei <blockquote> die Textfarbe auf Farbe mediumaquamarine. Die Größe der Schrift erhöhen wir auf 124%:
<style type="text/css"><!-- blockquote { font-size: 124%; color: mediumaquamarine; } //--> </style>Jetzt stellen wir ein, dass bei Mausberührung die Textfarbe auf #006400 geändert wird.
<style type="text/css"><!-- blockquote:hover { color:#006400; } //--> </style>
Mehr zu blockquote lesen Sie in Blockorientierte Elemente in HTML. Möglichkeiten vom hier verwendeten Tag <blockquote>.