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 lightyellow | Schriftfarbe burlywood | |||||
Detail | : | Hintergrund lightyellow | Detail | : | Schrift burlywood | |
Farbe | : | lightyellow | Farbe | : | burlywood | |
Farbwert | : | #ffffe0 | Farbwert | : | #deb887 | |
HTML | : | lightyellow | HTML | : | burlywood | |
HTML (Wert) | : | #ffffe0 | HTML (Wert) | : | #deb887 | |
CSS | : | lightyellow | CSS | : | burlywood | |
CSS (Wert) | : | #ffffe0 | CSS (Wert) | : | #deb887 | |
CSS (kürzest) | : | #ffffe0 | CSS (kürzest) | : | #deb887 | |
CSS (RGB) | : | rgb(255,255,224) | CSS (RGB) | : | rgb(222,184,135) | |
CSS (%RGB) | : | rgb(100%,100%,87%) | CSS (%RGB) | : | rgb(87%,72%,52%) |
Verlauf Hintergrundfarbe lightyellow nach Schriftfarbe burlywood | |||||||
#ffffe0 | #faf4d3 | #f5eac6 | #f0e0b9 | #ecd6ad | #e7cca0 | #e2c293 | #deb887 |
#ffffe0 | #faf4d3 | #f5eac6 | #f0e0b9 | #ecd6ad | #e7cca0 | #e2c293 | #deb887 |
Kombination von lightyellow und burlywood | |||||||
Cras vestibulum tristique erat, ac interdum justo cursus in. Cras id velit ante. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. 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 burlywood und lightyellow ergibt sich zu 91.31%. Die Lesbarkeit dieser Kombination ergibt sich zu 8.69%. burlywood ist nicht als Schriftfarbe auf Hintergrund lightyellow geeignet, da sich die Helligkeit und Farben zu ähnlich sind. |
Hintergrundfarbe lightyellow | Schriftfarbe burlywood | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#ffffe0 | #ffffe0 | #ffffe0 | #ffffe0 | #deb887 | #deb887 | #deb887 | #deb887 |
#ffffe4 | #ffffe4 | #dadac0 | #dadac0 | #e2c298 | #e2c298 | #be9d73 | #be9d73 |
#ffffe8 | #ffffe8 | #b6b6a0 | #b6b6a0 | #e7cca9 | #e7cca9 | #9e8360 | #9e8360 |
#ffffed | #ffffed | #919180 | #919180 | #ecd6ba | #ecd6ba | #7e694d | #7e694d |
#fffff1 | #fffff1 | #6d6d60 | #6d6d60 | #f0e0cb | #f0e0cb | #5f4e39 | #5f4e39 |
#fffff6 | #fffff6 | #484840 | #484840 | #f5eadc | #f5eadc | #3f3426 | #3f3426 |
#fffffa | #fffffa | #242420 | #242420 | #faf4ed | #faf4ed | #1f1a13 | #1f1a13 |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Hier umranden wir <legend> mit einem herausstehenden, 2 Pixel dicken Rahmen in Farbe burlywood . Die Hintergrundfarbe für <legend> setzen wir entsprechend auf Farbe lightyellow. Dies ist mit HTML nicht möglich. Wir verwenden daher CSS.
<style type="text/css"><!-- legend { border:2px outset burlywood; background-color:lightyellow; } //--> </style>
Mehr zum Thema legend können Sie in Formulare in HTML erfahren. Möglichkeiten vom hier genutzten HTML-Tag legend sind in der HTML Referenz bei <legend> ausführlich gezeigt.