HEX: #7E7E9C
RGB: (126,126,156)
#7E7E9C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E7E9C ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7E7E9C wird in RGB als (126,126,156) definiert.
RGB: (126,126,156) (49%,49%,61%)
R 126 von 255 = 49%
G 126 von 255 = 49%
B 156 von 255 = 61%
R + G + B ~ 53%. #7E7E9C mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 126 + 156 = 408 (100%)
R 126 von 408 ~ 30.88%
G 126 von 408 ~ 30.88%
B 156 von 408 ~ 38.24%
Die Farbe #7E7E9C wird in CMYK als (19,19,0,39) definiert.
CMYK: (19,19,0,39) C19M19Y0K39 (19%,19%,0%,39%) (0.19/0.19/0.00/0.39)
7E | 7E | 9C | |
---|---|---|---|
RGB | 126 | 126 | 156 |
HSL | 240° | 13.16% | 55.29% |
HSB/HSV | 240° | 19.23% | 61.18% |
CMYK | 19.23% | 19.23% | 0.00% |
38.82% |
Hexadezimal | 7E | 7E | 9C |
Dezimal | 126 | 126 | 156 |
Binär | 1111110 | 1111110 | 10011100 |
Oktal | 176 | 176 | 234 |
Beispiele css- und html für Elemente in der Farbe #7E7E9C. Bitte benutzen Sie auch rgb(126,126,156) statt hex-Code.
.myTextColor { color: #7E7E9C; }
<p style="color:#7E7E9C">This sample text font color is #7E7E9C.</p>
Die Farbe dieses Textes ist #7E7E9C.
.myBgColor { background-color: #7E7E9C; }
<div style="background-color:#7E7E9C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E7E9C.
.myBorderColor { border: 1px solid #7E7E9C; }
<div style="border:3px solid #7E7E9C">Div</div>
Die Grenzen von diesem div sind in Farbe #7E7E9C.
.myOpacity80 { color: #7E7E9C; opacity: 0.8; }
<p style="color:#7E7E9C;opacity:0.8;">80%</p>
Text in Farbe #7E7E9C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7E9C;}
<p style="text-shadow: 3px 3px 1px #7E7E9C">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E7E9C.
.textShadow {text-shadow: 3px 3px 1px #7E7E9C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7E9C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E7E9C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7E9C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7E9C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7E9C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7E9C; -webkit-box-shadow: 1px 1px 3px 2px #7E7E9C; box-shadow: 1px 1px 3px 2px #7E7E9C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7E9C; -webkit-box-shadow: 1px 1px 3px 2px #7E7E9C; box-shadow:1px 1px 3px 2px #7E7E9C;">
Div content here</div>
Dieser Text ist in der Farbe #7E7E9C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E7E9C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E7E9C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E7E9C.