HEX: #7E9879
RGB: (126,152,121)
#7E9879 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E9879 ist eine «websichere» Webfarbe #669966 (oder kurz #696).
Die Farbe #7E9879 wird in RGB als (126,152,121) definiert.
RGB: (126,152,121) (49%,60%,47%)
R 126 von 255 = 49%
G 152 von 255 = 60%
B 121 von 255 = 47%
R + G + B ~ 52%. #7E9879 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 152 + 121 = 399 (100%)
R 126 von 399 ~ 31.58%
G 152 von 399 ~ 38.1%
B 121 von 399 ~ 30.33%
Die Farbe #7E9879 wird in CMYK als (17,0,20,40) definiert.
CMYK: (17,0,20,40) C17M0Y20K40 (17%,0%,20%,40%) (0.17/0.00/0.20/0.40)
7E | 98 | 79 | |
---|---|---|---|
RGB | 126 | 152 | 121 |
HSL | 110° | 13.08% | 53.53% |
HSB/HSV | 110° | 20.39% | 59.61% |
CMYK | 17.11% | 0.00% | 20.39% |
40.39% |
Hexadezimal | 7E | 98 | 79 |
Dezimal | 126 | 152 | 121 |
Binär | 1111110 | 10011000 | 1111001 |
Oktal | 176 | 230 | 171 |
Beispiele css- und html für Elemente in der Farbe #7E9879. Bitte benutzen Sie auch rgb(126,152,121) statt hex-Code.
.myTextColor { color: #7E9879; }
<p style="color:#7E9879">This sample text font color is #7E9879.</p>
Die Farbe dieses Textes ist #7E9879.
.myBgColor { background-color: #7E9879; }
<div style="background-color:#7E9879">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E9879.
.myBorderColor { border: 1px solid #7E9879; }
<div style="border:3px solid #7E9879">Div</div>
Die Grenzen von diesem div sind in Farbe #7E9879.
.myOpacity80 { color: #7E9879; opacity: 0.8; }
<p style="color:#7E9879;opacity:0.8;">80%</p>
Text in Farbe #7E9879 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E9879;}
<p style="text-shadow: 3px 3px 1px #7E9879">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E9879.
.textShadow {text-shadow: 3px 3px 1px #7E9879, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E9879, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E9879 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E9879, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E9879, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E9879 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E9879; -webkit-box-shadow: 1px 1px 3px 2px #7E9879; box-shadow: 1px 1px 3px 2px #7E9879; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E9879; -webkit-box-shadow: 1px 1px 3px 2px #7E9879; box-shadow:1px 1px 3px 2px #7E9879;">
Div content here</div>
Dieser Text ist in der Farbe #7E9879 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E9879 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E9879.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E9879.