HEX: #C7B42F
RGB: (199,180,47)
#C7B42F enthält hauptsächlich rote und grüne Farbe. Für #C7B42F ist eine «websichere» Webfarbe #CCCC33 (oder kurz #CC3).
Die Farbe #C7B42F wird in RGB als (199,180,47) definiert.
RGB: (199,180,47) (78%,71%,18%)
R 199 von 255 = 78%
G 180 von 255 = 71%
B 47 von 255 = 18%
R + G + B ~ 56%. #C7B42F mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
199 + 180 + 47 = 426 (100%)
R 199 von 426 ~ 46.71%
G 180 von 426 ~ 42.25%
B 47 von 426 ~ 11.03%
Die Farbe #C7B42F wird in CMYK als (0,10,76,22) definiert.
CMYK: (0,10,76,22) C0M10Y76K22 (0%,10%,76%,22%) (0.00/0.10/0.76/0.22)
C7 | B4 | 2F | |
---|---|---|---|
RGB | 199 | 180 | 47 |
HSL | 53° | 61.79% | 48.24% |
HSB/HSV | 53° | 76.38% | 78.04% |
CMYK | 0.00% | 9.55% | 76.38% |
21.96% |
Hexadezimal | C7 | B4 | 2F |
Dezimal | 199 | 180 | 47 |
Binär | 11000111 | 10110100 | 101111 |
Oktal | 307 | 264 | 57 |
Beispiele css- und html für Elemente in der Farbe #C7B42F. Bitte benutzen Sie auch rgb(199,180,47) statt hex-Code.
.myTextColor { color: #C7B42F; }
<p style="color:#C7B42F">This sample text font color is #C7B42F.</p>
Die Farbe dieses Textes ist #C7B42F.
.myBgColor { background-color: #C7B42F; }
<div style="background-color:#C7B42F">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C7B42F.
.myBorderColor { border: 1px solid #C7B42F; }
<div style="border:3px solid #C7B42F">Div</div>
Die Grenzen von diesem div sind in Farbe #C7B42F.
.myOpacity80 { color: #C7B42F; opacity: 0.8; }
<p style="color:#C7B42F;opacity:0.8;">80%</p>
Text in Farbe #C7B42F und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7B42F;}
<p style="text-shadow: 3px 3px 1px #C7B42F">Text here.</p>
Dieser Text hat den Schatten in Farbe #C7B42F.
.textShadow {text-shadow: 3px 3px 1px #C7B42F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7B42F, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C7B42F und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7B42F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7B42F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7B42F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7B42F; -webkit-box-shadow: 1px 1px 3px 2px #C7B42F; box-shadow: 1px 1px 3px 2px #C7B42F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7B42F; -webkit-box-shadow: 1px 1px 3px 2px #C7B42F; box-shadow:1px 1px 3px 2px #C7B42F;">
Div content here</div>
Dieser Text ist in der Farbe #C7B42F auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C7B42F auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C7B42F.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C7B42F.