HEX: #D5A517
RGB: (213,165,23)
#D5A517 enthält hauptsächlich rote und grüne Farbe. Für #D5A517 ist eine «websichere» Webfarbe #CC9900 (oder kurz #C90).
Die Farbe #D5A517 wird in RGB als (213,165,23) definiert.
RGB: (213,165,23) (84%,65%,9%)
R 213 von 255 = 84%
G 165 von 255 = 65%
B 23 von 255 = 9%
R + G + B ~ 53%. #D5A517 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
213 + 165 + 23 = 401 (100%)
R 213 von 401 ~ 53.12%
G 165 von 401 ~ 41.15%
B 23 von 401 ~ 5.74%
Die Farbe #D5A517 wird in CMYK als (0,23,89,16) definiert.
CMYK: (0,23,89,16) C0M23Y89K16 (0%,23%,89%,16%) (0.00/0.23/0.89/0.16)
D5 | A5 | 17 | |
---|---|---|---|
RGB | 213 | 165 | 23 |
HSL | 45° | 80.51% | 46.27% |
HSB/HSV | 45° | 89.20% | 83.53% |
CMYK | 0.00% | 22.54% | 89.20% |
16.47% |
Hexadezimal | D5 | A5 | 17 |
Dezimal | 213 | 165 | 23 |
Binär | 11010101 | 10100101 | 10111 |
Oktal | 325 | 245 | 27 |
Beispiele css- und html für Elemente in der Farbe #D5A517. Bitte benutzen Sie auch rgb(213,165,23) statt hex-Code.
.myTextColor { color: #D5A517; }
<p style="color:#D5A517">This sample text font color is #D5A517.</p>
Die Farbe dieses Textes ist #D5A517.
.myBgColor { background-color: #D5A517; }
<div style="background-color:#D5A517">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #D5A517.
.myBorderColor { border: 1px solid #D5A517; }
<div style="border:3px solid #D5A517">Div</div>
Die Grenzen von diesem div sind in Farbe #D5A517.
.myOpacity80 { color: #D5A517; opacity: 0.8; }
<p style="color:#D5A517;opacity:0.8;">80%</p>
Text in Farbe #D5A517 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5A517;}
<p style="text-shadow: 3px 3px 1px #D5A517">Text here.</p>
Dieser Text hat den Schatten in Farbe #D5A517.
.textShadow {text-shadow: 3px 3px 1px #D5A517, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5A517, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #D5A517 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5A517, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5A517, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5A517 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5A517; -webkit-box-shadow: 1px 1px 3px 2px #D5A517; box-shadow: 1px 1px 3px 2px #D5A517; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5A517; -webkit-box-shadow: 1px 1px 3px 2px #D5A517; box-shadow:1px 1px 3px 2px #D5A517;">
Div content here</div>
Dieser Text ist in der Farbe #D5A517 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #D5A517 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #D5A517.
Dieser Text ist weiß auf dem Hintergrund in Farbe #D5A517.