von Thomas Salvador.
Farben werden in HTML entweder mit ihrem Namen oder mit ihrem Wert beschrieben.
HTML verfügt seit jeher über 17 Standard Farbnamen.
Sie entstehen dadurch, dass die 8 Grundfarben jeweils maximal und zu 50% enthalten sind.
Zu diesen 16 Farben kommt mit grey eine alternative Schreibweise für gray.
Hintergrundfarbe fuchsia | Schriftfarbwert #808080 | |||||
Detail | : | Hintergrund fuchsia | Detail | : | Schrift #808080 | |
Farbe | : | fuchsia | Farbwert | : | #808080 | |
Farbwert | : | #ff00ff | Farbe | : | gray | |
HTML | : | fuchsia | HTML | : | #808080 | |
HTML (Wert) | : | #ff00ff | HTML (Wert) | : | #808080 | |
CSS | : | fuchsia | CSS | : | #808080 | |
CSS (Wert) | : | #ff00ff | CSS (Wert) | : | #808080 | |
CSS (kürzest) | : | #f0f | CSS (kürzest) | : | #808080 | |
CSS (RGB) | : | rgb(255,0,255) | CSS (RGB) | : | rgb(128,128,128) | |
CSS (%RGB) | : | rgb(100%,0%,100%) | CSS (%RGB) | : | rgb(50%,50%,50%) |
Verlauf Hintergrundfarbe fuchsia nach Schriftfarbwert #808080 | |||||||
#ff00ff | #ec12ec | #da24da | #c836c8 | #b649b6 | #a45ba4 | #926d92 | #808080 |
#ff00ff | #ec12ec | #da24da | #c836c8 | #b649b6 | #a45ba4 | #926d92 | #808080 |
Kombination von fuchsia und #808080 | |||||||
Cras vestibulum tristique erat, ac interdum justo cursus in. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras id velit ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. | Die Ähnlichkeit von #808080 und fuchsia beträgt 94.00%. Die Lesbarkeit dieser Kombination von Farben ergibt sich zu 6.00%. Auf Hintergrund fuchsia ist #808080 ungeeignet, da sich sowohl Helligkeit als auch die Farben zu ähnlich sind. |
Hintergrundfarbe fuchsia | Schriftfarbwert #808080 | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#ff00ff | #ff00ff | #ff00ff | #ff00ff | #808080 | #808080 | #808080 | #808080 |
#ff24ff | #ff24ff | #da00da | #da00da | #929292 | #929292 | #6d6d6d | #6d6d6d |
#ff48ff | #ff48ff | #b600b6 | #b600b6 | #a4a4a4 | #a4a4a4 | #5b5b5b | #5b5b5b |
#ff6dff | #ff6dff | #910091 | #910091 | #b6b6b6 | #b6b6b6 | #494949 | #494949 |
#ff91ff | #ff91ff | #6d006d | #6d006d | #c8c8c8 | #c8c8c8 | #363636 | #363636 |
#ffb6ff | #ffb6ff | #480048 | #480048 | #dadada | #dadada | #242424 | #242424 |
#ffdaff | #ffdaff | #240024 | #240024 | #ececec | #ececec | #121212 | #121212 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Wir ändern bei diesem Beispiel die Textfarbe von <blockquote> auf Farbwert #808080 und die Hintergrundfarbe von <blockquote> auf Farbe fuchsia. Als Schriftart setzen wir verdana und als Schriftgröße setzen wir 90%.
<style type="text/css"><!-- blockquote { color: #808080; font-size: 90%; font-family: verdana; background-color: fuchsia; } //--> </style>
Weiteres zum Thema blockquote finden Sie in Blockorientierte Elemente in HTML. Weiteres zum Tag <blockquote>.
Hintergrund | Farbwert | Farbe | und | Schrift | Farbwert | Farbkombination |
---|---|---|---|---|---|---|
aqua | #00ffff | + | aqua | #00ffff | aqua / fuchsia | |
black | #000000 | + | black | #000000 | black / fuchsia | |
blue | #0000ff | + | blue | #0000ff | blue / fuchsia | |
fuchsia | #ff00ff | + | fuchsia | #ff00ff | fuchsia / fuchsia | |
gray | #808080 | + | gray | #808080 | gray / fuchsia | |
grey | #808080 | + | grey | #808080 | grey / fuchsia | |
green | #008000 | + | green | #008000 | green / fuchsia | |
lime | #00ff00 | + | lime | #00ff00 | lime / fuchsia | |
maroon | #800000 | + | maroon | #800000 | maroon / fuchsia | |
navy | #000080 | + | navy | #000080 | navy / fuchsia | |
olive | #808000 | + | olive | #808000 | olive / fuchsia | |
purple | #800080 | + | purple | #800080 | purple / fuchsia | |
red | #ff0000 | + | red | #ff0000 | red / fuchsia | |
silver | #c0c0c0 | + | silver | #c0c0c0 | silver / fuchsia | |
teal | #008080 | + | teal | #008080 | teal / fuchsia | |
white | #ffffff | + | white | #ffffff | white / fuchsia | |
yellow | #ffff00 | + | yellow | #ffff00 | yellow / fuchsia |