HEX: #4C995B
RGB: (76,153,91)
#4C995B enthält hauptsächlich grüne Farbe. Für #4C995B ist eine «websichere» Webfarbe #339966 (oder kurz #396).
Die Farbe #4C995B wird in RGB als (76,153,91) definiert.
RGB: (76,153,91) (30%,60%,36%)
R 76 von 255 = 30%
G 153 von 255 = 60%
B 91 von 255 = 36%
R + G + B ~ 42%. #4C995B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
76 + 153 + 91 = 320 (100%)
R 76 von 320 ~ 23.75%
G 153 von 320 ~ 47.81%
B 91 von 320 ~ 28.44%
Die Farbe #4C995B wird in CMYK als (50,0,41,40) definiert.
CMYK: (50,0,41,40) C50M0Y41K40 (50%,0%,41%,40%) (0.50/0.00/0.41/0.40)
4C | 99 | 5B | |
---|---|---|---|
RGB | 76 | 153 | 91 |
HSL | 132° | 33.62% | 44.90% |
HSB/HSV | 132° | 50.33% | 60.00% |
CMYK | 50.33% | 0.00% | 40.52% |
40.00% |
Hexadezimal | 4C | 99 | 5B |
Dezimal | 76 | 153 | 91 |
Binär | 1001100 | 10011001 | 1011011 |
Oktal | 114 | 231 | 133 |
Beispiele css- und html für Elemente in der Farbe #4C995B. Bitte benutzen Sie auch rgb(76,153,91) statt hex-Code.
.myTextColor { color: #4C995B; }
<p style="color:#4C995B">This sample text font color is #4C995B.</p>
Die Farbe dieses Textes ist #4C995B.
.myBgColor { background-color: #4C995B; }
<div style="background-color:#4C995B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C995B.
.myBorderColor { border: 1px solid #4C995B; }
<div style="border:3px solid #4C995B">Div</div>
Die Grenzen von diesem div sind in Farbe #4C995B.
.myOpacity80 { color: #4C995B; opacity: 0.8; }
<p style="color:#4C995B;opacity:0.8;">80%</p>
Text in Farbe #4C995B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C995B;}
<p style="text-shadow: 3px 3px 1px #4C995B">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C995B.
.textShadow {text-shadow: 3px 3px 1px #4C995B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C995B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C995B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C995B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C995B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C995B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C995B; -webkit-box-shadow: 1px 1px 3px 2px #4C995B; box-shadow: 1px 1px 3px 2px #4C995B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C995B; -webkit-box-shadow: 1px 1px 3px 2px #4C995B; box-shadow:1px 1px 3px 2px #4C995B;">
Div content here</div>
Dieser Text ist in der Farbe #4C995B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C995B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C995B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C995B.