HEX: #C6B937
RGB: (198,185,55)
#C6B937 enthält hauptsächlich rote und grüne Farbe. Für #C6B937 ist eine «websichere» Webfarbe #CCCC33 (oder kurz #CC3).
Die Farbe #C6B937 wird in RGB als (198,185,55) definiert.
RGB: (198,185,55) (78%,73%,22%)
R 198 von 255 = 78%
G 185 von 255 = 73%
B 55 von 255 = 22%
R + G + B ~ 58%. #C6B937 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
198 + 185 + 55 = 438 (100%)
R 198 von 438 ~ 45.21%
G 185 von 438 ~ 42.24%
B 55 von 438 ~ 12.56%
Die Farbe #C6B937 wird in CMYK als (0,7,72,22) definiert.
CMYK: (0,7,72,22) C0M7Y72K22 (0%,7%,72%,22%) (0.00/0.07/0.72/0.22)
C6 | B9 | 37 | |
---|---|---|---|
RGB | 198 | 185 | 55 |
HSL | 55° | 56.52% | 49.61% |
HSB/HSV | 55° | 72.22% | 77.65% |
CMYK | 0.00% | 6.57% | 72.22% |
22.35% |
Hexadezimal | C6 | B9 | 37 |
Dezimal | 198 | 185 | 55 |
Binär | 11000110 | 10111001 | 110111 |
Oktal | 306 | 271 | 67 |
Beispiele css- und html für Elemente in der Farbe #C6B937. Bitte benutzen Sie auch rgb(198,185,55) statt hex-Code.
.myTextColor { color: #C6B937; }
<p style="color:#C6B937">This sample text font color is #C6B937.</p>
Die Farbe dieses Textes ist #C6B937.
.myBgColor { background-color: #C6B937; }
<div style="background-color:#C6B937">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #C6B937.
.myBorderColor { border: 1px solid #C6B937; }
<div style="border:3px solid #C6B937">Div</div>
Die Grenzen von diesem div sind in Farbe #C6B937.
.myOpacity80 { color: #C6B937; opacity: 0.8; }
<p style="color:#C6B937;opacity:0.8;">80%</p>
Text in Farbe #C6B937 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B937;}
<p style="text-shadow: 3px 3px 1px #C6B937">Text here.</p>
Dieser Text hat den Schatten in Farbe #C6B937.
.textShadow {text-shadow: 3px 3px 1px #C6B937, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B937, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #C6B937 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B937, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B937, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B937 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B937; -webkit-box-shadow: 1px 1px 3px 2px #C6B937; box-shadow: 1px 1px 3px 2px #C6B937; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B937; -webkit-box-shadow: 1px 1px 3px 2px #C6B937; box-shadow:1px 1px 3px 2px #C6B937;">
Div content here</div>
Dieser Text ist in der Farbe #C6B937 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #C6B937 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #C6B937.
Dieser Text ist weiß auf dem Hintergrund in Farbe #C6B937.