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.
Hintergrundfarbwert #fffaf0 | Schriftfarbwert #dda0dd | |||||
Detail | : | Hintergrund #fffaf0 | Detail | : | Schrift #dda0dd | |
Farbwert | : | #fffaf0 | Farbwert | : | #dda0dd | |
Farbe | : | floralwhite | Farbe | : | plum | |
HTML | : | #fffaf0 | HTML | : | #dda0dd | |
HTML (Wert) | : | #fffaf0 | HTML (Wert) | : | #dda0dd | |
CSS | : | #fffaf0 | CSS | : | #dda0dd | |
CSS (Wert) | : | #fffaf0 | CSS (Wert) | : | #dda0dd | |
CSS (kürzest) | : | #fffaf0 | CSS (kürzest) | : | #dda0dd | |
CSS (RGB) | : | rgb(255,250,240) | CSS (RGB) | : | rgb(221,160,221) | |
CSS (%RGB) | : | rgb(100%,98%,94%) | CSS (%RGB) | : | rgb(86%,62%,86%) |
Verlauf Hintergrundfarbwert #fffaf0 nach Schriftfarbwert #dda0dd | |||||||
#fffaf0 | #faeded | #f5e0ea | #f0d3e7 | #ebc6e5 | #e6b9e2 | #e1acdf | #dda0dd |
#fffaf0 | #faeded | #f5e0ea | #f0d3e7 | #ebc6e5 | #e6b9e2 | #e1acdf | #dda0dd |
Kombination von #fffaf0 und #dda0dd | |||||||
Aliquam dapibus, lorem sed bibendum consectetur, ligula enim dignissim ligula, a ultrices dolor augue ultrices magna. Suspendisse augue erat, auctor ut ultricies non, facilisis sed neque. Cras id velit ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum tristique erat, ac interdum justo cursus in. | #dda0dd eignet sich nicht als Schriftfarbe auf Hintergrund #fffaf0, weil weder der Helligkeitsunterschied noch der Farbunterschied ausreichend sind. Die Ähnlichkeit der Farben #dda0dd und #fffaf0 beträgt 90.53%. Die Lesbarkeit dieser Farbkombination bewerte ich mit 9.47%. |
Hintergrundfarbwert #fffaf0 | Schriftfarbwert #dda0dd | ||||||
Verlauf nach Weiß | Verlauf nach Schwarz | Verlauf nach Weiß | Verlauf nach Schwarz | ||||
#fffaf0 | #fffaf0 | #fffaf0 | #fffaf0 | #dda0dd | #dda0dd | #dda0dd | #dda0dd |
#fffaf2 | #fffaf2 | #dad6cd | #dad6cd | #e1ade1 | #e1ade1 | #bd89bd | #bd89bd |
#fffbf4 | #fffbf4 | #b6b2ab | #b6b2ab | #e6bbe6 | #e6bbe6 | #9d729d | #9d729d |
#fffcf6 | #fffcf6 | #918e89 | #918e89 | #ebc8eb | #ebc8eb | #7e5b7e | #7e5b7e |
#fffcf8 | #fffcf8 | #6d6b66 | #6d6b66 | #f0d6f0 | #f0d6f0 | #5e445e | #5e445e |
#fffdfa | #fffdfa | #484744 | #484744 | #f5e3f5 | #f5e3f5 | #3f2d3f | #3f2d3f |
#fffefc | #fffefc | #242322 | #242322 | #faf1fa | #faf1fa | #1f161f | #1f161f |
#ffffff | #ffffff | #000000 | #000000 | #ffffff | #ffffff | #000000 | #000000 |
Wir ändern hier die Textfarbe von <input> auf Farbwert #dda0dd und die Hintergrundfarbe von <input> auf Farbwert #fffaf0. Die Schriftart ändern wir auf arial und als Schriftgröße setzen wir 113%.
<style type="text/css"><!-- input { font-size:113%; font-family:arial; color:#dda0dd; background-color:#fffaf0; } //--> </style>
Mehr zu input können Sie in Formulare in HTML lesen. Beschreibung vom hier gezeigten HTML-Befehl <input>.