HEX: #7E8040
RGB: (126,128,64)
#7E8040 enthält hauptsächlich rote und grüne Farbe. Für #7E8040 ist eine «websichere» Webfarbe #666633 (oder kurz #663).
Die Farbe #7E8040 wird in RGB als (126,128,64) definiert.
RGB: (126,128,64) (49%,50%,25%)
R 126 von 255 = 49%
G 128 von 255 = 50%
B 64 von 255 = 25%
R + G + B ~ 41%. #7E8040 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 128 + 64 = 318 (100%)
R 126 von 318 ~ 39.62%
G 128 von 318 ~ 40.25%
B 64 von 318 ~ 20.13%
Die Farbe #7E8040 wird in CMYK als (2,0,50,50) definiert.
CMYK: (2,0,50,50) C2M0Y50K50 (2%,0%,50%,50%) (0.02/0.00/0.50/0.50)
7E | 80 | 40 | |
---|---|---|---|
RGB | 126 | 128 | 64 |
HSL | 62° | 33.33% | 37.65% |
HSB/HSV | 62° | 50.00% | 50.20% |
CMYK | 1.56% | 0.00% | 50.00% |
49.80% |
Hexadezimal | 7E | 80 | 40 |
Dezimal | 126 | 128 | 64 |
Binär | 1111110 | 10000000 | 1000000 |
Oktal | 176 | 200 | 100 |
Beispiele css- und html für Elemente in der Farbe #7E8040. Bitte benutzen Sie auch rgb(126,128,64) statt hex-Code.
.myTextColor { color: #7E8040; }
<p style="color:#7E8040">This sample text font color is #7E8040.</p>
Die Farbe dieses Textes ist #7E8040.
.myBgColor { background-color: #7E8040; }
<div style="background-color:#7E8040">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E8040.
.myBorderColor { border: 1px solid #7E8040; }
<div style="border:3px solid #7E8040">Div</div>
Die Grenzen von diesem div sind in Farbe #7E8040.
.myOpacity80 { color: #7E8040; opacity: 0.8; }
<p style="color:#7E8040;opacity:0.8;">80%</p>
Text in Farbe #7E8040 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8040;}
<p style="text-shadow: 3px 3px 1px #7E8040">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E8040.
.textShadow {text-shadow: 3px 3px 1px #7E8040, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8040, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E8040 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8040, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8040 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8040; -webkit-box-shadow: 1px 1px 3px 2px #7E8040; box-shadow: 1px 1px 3px 2px #7E8040; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8040; -webkit-box-shadow: 1px 1px 3px 2px #7E8040; box-shadow:1px 1px 3px 2px #7E8040;">
Div content here</div>
Dieser Text ist in der Farbe #7E8040 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E8040 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E8040.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E8040.