HEX: #7E7496
RGB: (126,116,150)
#7E7496 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E7496 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7E7496 wird in RGB als (126,116,150) definiert.
RGB: (126,116,150) (49%,45%,59%)
R 126 von 255 = 49%
G 116 von 255 = 45%
B 150 von 255 = 59%
R + G + B ~ 51%. #7E7496 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 116 + 150 = 392 (100%)
R 126 von 392 ~ 32.14%
G 116 von 392 ~ 29.59%
B 150 von 392 ~ 38.27%
Die Farbe #7E7496 wird in CMYK als (16,23,0,41) definiert.
CMYK: (16,23,0,41) C16M23Y0K41 (16%,23%,0%,41%) (0.16/0.23/0.00/0.41)
7E | 74 | 96 | |
---|---|---|---|
RGB | 126 | 116 | 150 |
HSL | 258° | 13.93% | 52.16% |
HSB/HSV | 258° | 22.67% | 58.82% |
CMYK | 16.00% | 22.67% | 0.00% |
41.18% |
Hexadezimal | 7E | 74 | 96 |
Dezimal | 126 | 116 | 150 |
Binär | 1111110 | 1110100 | 10010110 |
Oktal | 176 | 164 | 226 |
Beispiele css- und html für Elemente in der Farbe #7E7496. Bitte benutzen Sie auch rgb(126,116,150) statt hex-Code.
.myTextColor { color: #7E7496; }
<p style="color:#7E7496">This sample text font color is #7E7496.</p>
Die Farbe dieses Textes ist #7E7496.
.myBgColor { background-color: #7E7496; }
<div style="background-color:#7E7496">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E7496.
.myBorderColor { border: 1px solid #7E7496; }
<div style="border:3px solid #7E7496">Div</div>
Die Grenzen von diesem div sind in Farbe #7E7496.
.myOpacity80 { color: #7E7496; opacity: 0.8; }
<p style="color:#7E7496;opacity:0.8;">80%</p>
Text in Farbe #7E7496 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7496;}
<p style="text-shadow: 3px 3px 1px #7E7496">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E7496.
.textShadow {text-shadow: 3px 3px 1px #7E7496, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7496, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E7496 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7496, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7496, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7496 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7496; -webkit-box-shadow: 1px 1px 3px 2px #7E7496; box-shadow: 1px 1px 3px 2px #7E7496; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7496; -webkit-box-shadow: 1px 1px 3px 2px #7E7496; box-shadow:1px 1px 3px 2px #7E7496;">
Div content here</div>
Dieser Text ist in der Farbe #7E7496 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E7496 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E7496.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E7496.