HEX: #4C6612
RGB: (76,102,18)
#4C6612 enthält hauptsächlich rote und grüne Farbe. Für #4C6612 ist eine «websichere» Webfarbe #336600 (oder kurz #360).
Die Farbe #4C6612 wird in RGB als (76,102,18) definiert.
RGB: (76,102,18) (30%,40%,7%)
R 76 von 255 = 30%
G 102 von 255 = 40%
B 18 von 255 = 7%
R + G + B ~ 26%. #4C6612 ziemlich dunkle Farbe.
R + G + B =
76 + 102 + 18 = 196 (100%)
R 76 von 196 ~ 38.78%
G 102 von 196 ~ 52.04%
B 18 von 196 ~ 9.18%
Die Farbe #4C6612 wird in CMYK als (25,0,82,60) definiert.
CMYK: (25,0,82,60) C25M0Y82K60 (25%,0%,82%,60%) (0.25/0.00/0.82/0.60)
4C | 66 | 12 | |
---|---|---|---|
RGB | 76 | 102 | 18 |
HSL | 79° | 70.00% | 23.53% |
HSB/HSV | 79° | 82.35% | 40.00% |
CMYK | 25.49% | 0.00% | 82.35% |
60.00% |
Hexadezimal | 4C | 66 | 12 |
Dezimal | 76 | 102 | 18 |
Binär | 1001100 | 1100110 | 10010 |
Oktal | 114 | 146 | 22 |
Beispiele css- und html für Elemente in der Farbe #4C6612. Bitte benutzen Sie auch rgb(76,102,18) statt hex-Code.
.myTextColor { color: #4C6612; }
<p style="color:#4C6612">This sample text font color is #4C6612.</p>
Die Farbe dieses Textes ist #4C6612.
.myBgColor { background-color: #4C6612; }
<div style="background-color:#4C6612">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4C6612.
.myBorderColor { border: 1px solid #4C6612; }
<div style="border:3px solid #4C6612">Div</div>
Die Grenzen von diesem div sind in Farbe #4C6612.
.myOpacity80 { color: #4C6612; opacity: 0.8; }
<p style="color:#4C6612;opacity:0.8;">80%</p>
Text in Farbe #4C6612 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C6612;}
<p style="text-shadow: 3px 3px 1px #4C6612">Text here.</p>
Dieser Text hat den Schatten in Farbe #4C6612.
.textShadow {text-shadow: 3px 3px 1px #4C6612, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C6612, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4C6612 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C6612, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C6612, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C6612 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C6612; -webkit-box-shadow: 1px 1px 3px 2px #4C6612; box-shadow: 1px 1px 3px 2px #4C6612; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C6612; -webkit-box-shadow: 1px 1px 3px 2px #4C6612; box-shadow:1px 1px 3px 2px #4C6612;">
Div content here</div>
Dieser Text ist in der Farbe #4C6612 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4C6612 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4C6612.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4C6612.