HEX: #7EB28E
RGB: (126,178,142)
#7EB28E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7EB28E ist eine «websichere» Webfarbe #669999 (oder kurz #699).
Die Farbe #7EB28E wird in RGB als (126,178,142) definiert.
RGB: (126,178,142) (49%,70%,56%)
R 126 von 255 = 49%
G 178 von 255 = 70%
B 142 von 255 = 56%
R + G + B ~ 58%. #7EB28E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 178 + 142 = 446 (100%)
R 126 von 446 ~ 28.25%
G 178 von 446 ~ 39.91%
B 142 von 446 ~ 31.84%
Die Farbe #7EB28E wird in CMYK als (29,0,20,30) definiert.
CMYK: (29,0,20,30) C29M0Y20K30 (29%,0%,20%,30%) (0.29/0.00/0.20/0.30)
7E | B2 | 8E | |
---|---|---|---|
RGB | 126 | 178 | 142 |
HSL | 138° | 25.24% | 59.61% |
HSB/HSV | 138° | 29.21% | 69.80% |
CMYK | 29.21% | 0.00% | 20.22% |
30.20% |
Hexadezimal | 7E | B2 | 8E |
Dezimal | 126 | 178 | 142 |
Binär | 1111110 | 10110010 | 10001110 |
Oktal | 176 | 262 | 216 |
Beispiele css- und html für Elemente in der Farbe #7EB28E. Bitte benutzen Sie auch rgb(126,178,142) statt hex-Code.
.myTextColor { color: #7EB28E; }
<p style="color:#7EB28E">This sample text font color is #7EB28E.</p>
Die Farbe dieses Textes ist #7EB28E.
.myBgColor { background-color: #7EB28E; }
<div style="background-color:#7EB28E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7EB28E.
.myBorderColor { border: 1px solid #7EB28E; }
<div style="border:3px solid #7EB28E">Div</div>
Die Grenzen von diesem div sind in Farbe #7EB28E.
.myOpacity80 { color: #7EB28E; opacity: 0.8; }
<p style="color:#7EB28E;opacity:0.8;">80%</p>
Text in Farbe #7EB28E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EB28E;}
<p style="text-shadow: 3px 3px 1px #7EB28E">Text here.</p>
Dieser Text hat den Schatten in Farbe #7EB28E.
.textShadow {text-shadow: 3px 3px 1px #7EB28E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EB28E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7EB28E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EB28E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EB28E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EB28E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EB28E; -webkit-box-shadow: 1px 1px 3px 2px #7EB28E; box-shadow: 1px 1px 3px 2px #7EB28E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EB28E; -webkit-box-shadow: 1px 1px 3px 2px #7EB28E; box-shadow:1px 1px 3px 2px #7EB28E;">
Div content here</div>
Dieser Text ist in der Farbe #7EB28E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7EB28E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7EB28E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7EB28E.