HEX: #4C8C5E
RGB: (76,140,94)
#4C8C5E enthält hauptsächlich grüne und blaue Farbe. Für #4C8C5E ist eine «websichere» Webfarbe #339966 (oder kurz #396).
Die Farbe #4C8C5E wird in RGB als (76,140,94) definiert.
RGB: (76,140,94) (30%,55%,37%)
R 76 von 255 = 30%
G 140 von 255 = 55%
B 94 von 255 = 37%
R + G + B ~ 41%. #4C8C5E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
76 + 140 + 94 = 310 (100%)
R 76 von 310 ~ 24.52%
G 140 von 310 ~ 45.16%
B 94 von 310 ~ 30.32%
Die Farbe #4C8C5E wird in CMYK als (46,0,33,45) definiert.
CMYK: (46,0,33,45) C46M0Y33K45 (46%,0%,33%,45%) (0.46/0.00/0.33/0.45)
4C | 8C | 5E | |
---|---|---|---|
RGB | 76 | 140 | 94 |
HSL | 137° | 29.63% | 42.35% |
HSB/HSV | 137° | 45.71% | 54.90% |
CMYK | 45.71% | 0.00% | 32.86% |
45.10% |
Hexadezimal | 4C | 8C | 5E |
Dezimal | 76 | 140 | 94 |
Binär | 1001100 | 10001100 | 1011110 |
Oktal | 114 | 214 | 136 |
Beispiele css- und html für Elemente in der Farbe #4C8C5E. Bitte benutzen Sie auch rgb(76,140,94) statt hex-Code.
.myTextColor { color: #4C8C5E; }
<p style="color:#4C8C5E">This sample text font color is #4C8C5E.</p>
Die Farbe dieses Textes ist #4C8C5E.
.myBgColor { background-color: #4C8C5E; }
<div style="background-color:#4C8C5E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C8C5E.
.myBorderColor { border: 1px solid #4C8C5E; }
<div style="border:3px solid #4C8C5E">Div</div>
Die Grenzen von diesem div sind in Farbe #4C8C5E.
.myOpacity80 { color: #4C8C5E; opacity: 0.8; }
<p style="color:#4C8C5E;opacity:0.8;">80%</p>
Text in Farbe #4C8C5E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C8C5E;}
<p style="text-shadow: 3px 3px 1px #4C8C5E">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C8C5E.
.textShadow {text-shadow: 3px 3px 1px #4C8C5E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C8C5E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C8C5E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C8C5E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C8C5E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C8C5E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C8C5E; -webkit-box-shadow: 1px 1px 3px 2px #4C8C5E; box-shadow: 1px 1px 3px 2px #4C8C5E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C8C5E; -webkit-box-shadow: 1px 1px 3px 2px #4C8C5E; box-shadow:1px 1px 3px 2px #4C8C5E;">
Div content here</div>
Dieser Text ist in der Farbe #4C8C5E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C8C5E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C8C5E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C8C5E.