HEX: #C5A717
RGB: (197,167,23)
#C5A717 enthält hauptsächlich rote und grüne Farbe. Für #C5A717 ist eine «websichere» Webfarbe #CC9900 (oder kurz #C90).
Die Farbe #C5A717 wird in RGB als (197,167,23) definiert.
RGB: (197,167,23) (77%,65%,9%)
R 197 von 255 = 77%
G 167 von 255 = 65%
B 23 von 255 = 9%
R + G + B ~ 50%. #C5A717 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
197 + 167 + 23 = 387 (100%)
R 197 von 387 ~ 50.9%
G 167 von 387 ~ 43.15%
B 23 von 387 ~ 5.94%
Die Farbe #C5A717 wird in CMYK als (0,15,88,23) definiert.
CMYK: (0,15,88,23) C0M15Y88K23 (0%,15%,88%,23%) (0.00/0.15/0.88/0.23)
C5 | A7 | 17 | |
---|---|---|---|
RGB | 197 | 167 | 23 |
HSL | 50° | 79.09% | 43.14% |
HSB/HSV | 50° | 88.32% | 77.25% |
CMYK | 0.00% | 15.23% | 88.32% |
22.75% |
Hexadezimal | C5 | A7 | 17 |
Dezimal | 197 | 167 | 23 |
Binär | 11000101 | 10100111 | 10111 |
Oktal | 305 | 247 | 27 |
Beispiele css- und html für Elemente in der Farbe #C5A717. Bitte benutzen Sie auch rgb(197,167,23) statt hex-Code.
.myTextColor { color: #C5A717; }
<p style="color:#C5A717">This sample text font color is #C5A717.</p>
Die Farbe dieses Textes ist #C5A717.
.myBgColor { background-color: #C5A717; }
<div style="background-color:#C5A717">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C5A717.
.myBorderColor { border: 1px solid #C5A717; }
<div style="border:3px solid #C5A717">Div</div>
Die Grenzen von diesem div sind in Farbe #C5A717.
.myOpacity80 { color: #C5A717; opacity: 0.8; }
<p style="color:#C5A717;opacity:0.8;">80%</p>
Text in Farbe #C5A717 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A717;}
<p style="text-shadow: 3px 3px 1px #C5A717">Text here.</p>
Dieser Text hat den Schatten in Farbe #C5A717.
.textShadow {text-shadow: 3px 3px 1px #C5A717, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A717, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C5A717 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A717, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A717, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A717 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A717; -webkit-box-shadow: 1px 1px 3px 2px #C5A717; box-shadow: 1px 1px 3px 2px #C5A717; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A717; -webkit-box-shadow: 1px 1px 3px 2px #C5A717; box-shadow:1px 1px 3px 2px #C5A717;">
Div content here</div>
Dieser Text ist in der Farbe #C5A717 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C5A717 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C5A717.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C5A717.