HEX: #B4A218
RGB: (180,162,24)
#B4A218 enthält hauptsächlich rote und grüne Farbe. Für #B4A218 ist eine «websichere» Webfarbe #CC9900 (oder kurz #C90).
Die Farbe #B4A218 wird in RGB als (180,162,24) definiert.
RGB: (180,162,24) (71%,64%,9%)
R 180 von 255 = 71%
G 162 von 255 = 64%
B 24 von 255 = 9%
R + G + B ~ 48%. #B4A218 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
180 + 162 + 24 = 366 (100%)
R 180 von 366 ~ 49.18%
G 162 von 366 ~ 44.26%
B 24 von 366 ~ 6.56%
Die Farbe #B4A218 wird in CMYK als (0,10,87,29) definiert.
CMYK: (0,10,87,29) C0M10Y87K29 (0%,10%,87%,29%) (0.00/0.10/0.87/0.29)
B4 | A2 | 18 | |
---|---|---|---|
RGB | 180 | 162 | 24 |
HSL | 53° | 76.47% | 40.00% |
HSB/HSV | 53° | 86.67% | 70.59% |
CMYK | 0.00% | 10.00% | 86.67% |
29.41% |
Hexadezimal | B4 | A2 | 18 |
Dezimal | 180 | 162 | 24 |
Binär | 10110100 | 10100010 | 11000 |
Oktal | 264 | 242 | 30 |
Beispiele css- und html für Elemente in der Farbe #B4A218. Bitte benutzen Sie auch rgb(180,162,24) statt hex-Code.
.myTextColor { color: #B4A218; }
<p style="color:#B4A218">This sample text font color is #B4A218.</p>
Die Farbe dieses Textes ist #B4A218.
.myBgColor { background-color: #B4A218; }
<div style="background-color:#B4A218">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #B4A218.
.myBorderColor { border: 1px solid #B4A218; }
<div style="border:3px solid #B4A218">Div</div>
Die Grenzen von diesem div sind in Farbe #B4A218.
.myOpacity80 { color: #B4A218; opacity: 0.8; }
<p style="color:#B4A218;opacity:0.8;">80%</p>
Text in Farbe #B4A218 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A218;}
<p style="text-shadow: 3px 3px 1px #B4A218">Text here.</p>
Dieser Text hat den Schatten in Farbe #B4A218.
.textShadow {text-shadow: 3px 3px 1px #B4A218, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A218, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #B4A218 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A218, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A218, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A218 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A218; -webkit-box-shadow: 1px 1px 3px 2px #B4A218; box-shadow: 1px 1px 3px 2px #B4A218; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A218; -webkit-box-shadow: 1px 1px 3px 2px #B4A218; box-shadow:1px 1px 3px 2px #B4A218;">
Div content here</div>
Dieser Text ist in der Farbe #B4A218 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #B4A218 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #B4A218.
Dieser Text ist weiß auf dem Hintergrund in Farbe #B4A218.