HEX: #4C6921
RGB: (76,105,33)
#4C6921 enthält hauptsächlich rote und grüne Farbe. Für #4C6921 ist eine «websichere» Webfarbe #336633 (oder kurz #363).
Die Farbe #4C6921 wird in RGB als (76,105,33) definiert.
RGB: (76,105,33) (30%,41%,13%)
R 76 von 255 = 30%
G 105 von 255 = 41%
B 33 von 255 = 13%
R + G + B ~ 28%. #4C6921 ziemlich dunkle Farbe.
R + G + B =
76 + 105 + 33 = 214 (100%)
R 76 von 214 ~ 35.51%
G 105 von 214 ~ 49.07%
B 33 von 214 ~ 15.42%
Die Farbe #4C6921 wird in CMYK als (28,0,69,59) definiert.
CMYK: (28,0,69,59) C28M0Y69K59 (28%,0%,69%,59%) (0.28/0.00/0.69/0.59)
4C | 69 | 21 | |
---|---|---|---|
RGB | 76 | 105 | 33 |
HSL | 84° | 52.17% | 27.06% |
HSB/HSV | 84° | 68.57% | 41.18% |
CMYK | 27.62% | 0.00% | 68.57% |
58.82% |
Hexadezimal | 4C | 69 | 21 |
Dezimal | 76 | 105 | 33 |
Binär | 1001100 | 1101001 | 100001 |
Oktal | 114 | 151 | 41 |
Beispiele css- und html für Elemente in der Farbe #4C6921. Bitte benutzen Sie auch rgb(76,105,33) statt hex-Code.
.myTextColor { color: #4C6921; }
<p style="color:#4C6921">This sample text font color is #4C6921.</p>
Die Farbe dieses Textes ist #4C6921.
.myBgColor { background-color: #4C6921; }
<div style="background-color:#4C6921">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C6921.
.myBorderColor { border: 1px solid #4C6921; }
<div style="border:3px solid #4C6921">Div</div>
Die Grenzen von diesem div sind in Farbe #4C6921.
.myOpacity80 { color: #4C6921; opacity: 0.8; }
<p style="color:#4C6921;opacity:0.8;">80%</p>
Text in Farbe #4C6921 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C6921;}
<p style="text-shadow: 3px 3px 1px #4C6921">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C6921.
.textShadow {text-shadow: 3px 3px 1px #4C6921, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C6921, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C6921 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C6921, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C6921, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C6921 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C6921; -webkit-box-shadow: 1px 1px 3px 2px #4C6921; box-shadow: 1px 1px 3px 2px #4C6921; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C6921; -webkit-box-shadow: 1px 1px 3px 2px #4C6921; box-shadow:1px 1px 3px 2px #4C6921;">
Div content here</div>
Dieser Text ist in der Farbe #4C6921 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C6921 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C6921.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C6921.