HEX: #4C6520
RGB: (76,101,32)
#4C6520 enthält hauptsächlich rote und grüne Farbe. Für #4C6520 ist eine «websichere» Webfarbe #336633 (oder kurz #363).
Die Farbe #4C6520 wird in RGB als (76,101,32) definiert.
RGB: (76,101,32) (30%,40%,13%)
R 76 von 255 = 30%
G 101 von 255 = 40%
B 32 von 255 = 13%
R + G + B ~ 28%. #4C6520 ziemlich dunkle Farbe.
R + G + B =
76 + 101 + 32 = 209 (100%)
R 76 von 209 ~ 36.36%
G 101 von 209 ~ 48.33%
B 32 von 209 ~ 15.31%
Die Farbe #4C6520 wird in CMYK als (25,0,68,60) definiert.
CMYK: (25,0,68,60) C25M0Y68K60 (25%,0%,68%,60%) (0.25/0.00/0.68/0.60)
4C | 65 | 20 | |
---|---|---|---|
RGB | 76 | 101 | 32 |
HSL | 82° | 51.88% | 26.08% |
HSB/HSV | 82° | 68.32% | 39.61% |
CMYK | 24.75% | 0.00% | 68.32% |
60.39% |
Hexadezimal | 4C | 65 | 20 |
Dezimal | 76 | 101 | 32 |
Binär | 1001100 | 1100101 | 100000 |
Oktal | 114 | 145 | 40 |
Beispiele css- und html für Elemente in der Farbe #4C6520. Bitte benutzen Sie auch rgb(76,101,32) statt hex-Code.
.myTextColor { color: #4C6520; }
<p style="color:#4C6520">This sample text font color is #4C6520.</p>
Die Farbe dieses Textes ist #4C6520.
.myBgColor { background-color: #4C6520; }
<div style="background-color:#4C6520">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C6520.
.myBorderColor { border: 1px solid #4C6520; }
<div style="border:3px solid #4C6520">Div</div>
Die Grenzen von diesem div sind in Farbe #4C6520.
.myOpacity80 { color: #4C6520; opacity: 0.8; }
<p style="color:#4C6520;opacity:0.8;">80%</p>
Text in Farbe #4C6520 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C6520;}
<p style="text-shadow: 3px 3px 1px #4C6520">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C6520.
.textShadow {text-shadow: 3px 3px 1px #4C6520, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C6520, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C6520 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C6520, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C6520, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C6520 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C6520; -webkit-box-shadow: 1px 1px 3px 2px #4C6520; box-shadow: 1px 1px 3px 2px #4C6520; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C6520; -webkit-box-shadow: 1px 1px 3px 2px #4C6520; box-shadow:1px 1px 3px 2px #4C6520;">
Div content here</div>
Dieser Text ist in der Farbe #4C6520 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C6520 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C6520.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C6520.