HEX: #4C8C48
RGB: (76,140,72)
#4C8C48 enthält hauptsächlich grüne Farbe. Für #4C8C48 ist eine «websichere» Webfarbe #339933 (oder kurz #393).
Die Farbe #4C8C48 wird in RGB als (76,140,72) definiert.
RGB: (76,140,72) (30%,55%,28%)
R 76 von 255 = 30%
G 140 von 255 = 55%
B 72 von 255 = 28%
R + G + B ~ 38%. #4C8C48 ziemlich dunkle Farbe.
R + G + B =
76 + 140 + 72 = 288 (100%)
R 76 von 288 ~ 26.39%
G 140 von 288 ~ 48.61%
B 72 von 288 ~ 25%
Die Farbe #4C8C48 wird in CMYK als (46,0,49,45) definiert.
CMYK: (46,0,49,45) C46M0Y49K45 (46%,0%,49%,45%) (0.46/0.00/0.49/0.45)
4C | 8C | 48 | |
---|---|---|---|
RGB | 76 | 140 | 72 |
HSL | 116° | 32.08% | 41.57% |
HSB/HSV | 116° | 48.57% | 54.90% |
CMYK | 45.71% | 0.00% | 48.57% |
45.10% |
Hexadezimal | 4C | 8C | 48 |
Dezimal | 76 | 140 | 72 |
Binär | 1001100 | 10001100 | 1001000 |
Oktal | 114 | 214 | 110 |
Beispiele css- und html für Elemente in der Farbe #4C8C48. Bitte benutzen Sie auch rgb(76,140,72) statt hex-Code.
.myTextColor { color: #4C8C48; }
<p style="color:#4C8C48">This sample text font color is #4C8C48.</p>
Die Farbe dieses Textes ist #4C8C48.
.myBgColor { background-color: #4C8C48; }
<div style="background-color:#4C8C48">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C8C48.
.myBorderColor { border: 1px solid #4C8C48; }
<div style="border:3px solid #4C8C48">Div</div>
Die Grenzen von diesem div sind in Farbe #4C8C48.
.myOpacity80 { color: #4C8C48; opacity: 0.8; }
<p style="color:#4C8C48;opacity:0.8;">80%</p>
Text in Farbe #4C8C48 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C8C48;}
<p style="text-shadow: 3px 3px 1px #4C8C48">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C8C48.
.textShadow {text-shadow: 3px 3px 1px #4C8C48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C8C48, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C8C48 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C8C48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C8C48, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C8C48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C8C48; -webkit-box-shadow: 1px 1px 3px 2px #4C8C48; box-shadow: 1px 1px 3px 2px #4C8C48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C8C48; -webkit-box-shadow: 1px 1px 3px 2px #4C8C48; box-shadow:1px 1px 3px 2px #4C8C48;">
Div content here</div>
Dieser Text ist in der Farbe #4C8C48 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C8C48 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C8C48.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C8C48.