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