HEX: #7E7CA8
RGB: (126,124,168)
#7E7CA8 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E7CA8 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7E7CA8 wird in RGB als (126,124,168) definiert.
RGB: (126,124,168) (49%,49%,66%)
R 126 von 255 = 49%
G 124 von 255 = 49%
B 168 von 255 = 66%
R + G + B ~ 55%. #7E7CA8 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 124 + 168 = 418 (100%)
R 126 von 418 ~ 30.14%
G 124 von 418 ~ 29.67%
B 168 von 418 ~ 40.19%
Die Farbe #7E7CA8 wird in CMYK als (25,26,0,34) definiert.
CMYK: (25,26,0,34) C25M26Y0K34 (25%,26%,0%,34%) (0.25/0.26/0.00/0.34)
7E | 7C | A8 | |
---|---|---|---|
RGB | 126 | 124 | 168 |
HSL | 243° | 20.18% | 57.25% |
HSB/HSV | 243° | 26.19% | 65.88% |
CMYK | 25.00% | 26.19% | 0.00% |
34.12% |
Hexadezimal | 7E | 7C | A8 |
Dezimal | 126 | 124 | 168 |
Binär | 1111110 | 1111100 | 10101000 |
Oktal | 176 | 174 | 250 |
Beispiele css- und html für Elemente in der Farbe #7E7CA8. Bitte benutzen Sie auch rgb(126,124,168) statt hex-Code.
.myTextColor { color: #7E7CA8; }
<p style="color:#7E7CA8">This sample text font color is #7E7CA8.</p>
Die Farbe dieses Textes ist #7E7CA8.
.myBgColor { background-color: #7E7CA8; }
<div style="background-color:#7E7CA8">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E7CA8.
.myBorderColor { border: 1px solid #7E7CA8; }
<div style="border:3px solid #7E7CA8">Div</div>
Die Grenzen von diesem div sind in Farbe #7E7CA8.
.myOpacity80 { color: #7E7CA8; opacity: 0.8; }
<p style="color:#7E7CA8;opacity:0.8;">80%</p>
Text in Farbe #7E7CA8 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7CA8;}
<p style="text-shadow: 3px 3px 1px #7E7CA8">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E7CA8.
.textShadow {text-shadow: 3px 3px 1px #7E7CA8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7CA8, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E7CA8 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7CA8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7CA8, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7CA8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7CA8; -webkit-box-shadow: 1px 1px 3px 2px #7E7CA8; box-shadow: 1px 1px 3px 2px #7E7CA8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7CA8; -webkit-box-shadow: 1px 1px 3px 2px #7E7CA8; box-shadow:1px 1px 3px 2px #7E7CA8;">
Div content here</div>
Dieser Text ist in der Farbe #7E7CA8 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E7CA8 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E7CA8.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E7CA8.