HEX: #7E4E87
RGB: (126,78,135)
#7E4E87 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E4E87 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7E4E87 wird in RGB als (126,78,135) definiert.
RGB: (126,78,135) (49%,31%,53%)
R 126 von 255 = 49%
G 78 von 255 = 31%
B 135 von 255 = 53%
R + G + B ~ 44%. #7E4E87 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 78 + 135 = 339 (100%)
R 126 von 339 ~ 37.17%
G 78 von 339 ~ 23.01%
B 135 von 339 ~ 39.82%
Die Farbe #7E4E87 wird in CMYK als (7,42,0,47) definiert.
CMYK: (7,42,0,47) C7M42Y0K47 (7%,42%,0%,47%) (0.07/0.42/0.00/0.47)
7E | 4E | 87 | |
---|---|---|---|
RGB | 126 | 78 | 135 |
HSL | 291° | 26.76% | 41.76% |
HSB/HSV | 291° | 42.22% | 52.94% |
CMYK | 6.67% | 42.22% | 0.00% |
47.06% |
Hexadezimal | 7E | 4E | 87 |
Dezimal | 126 | 78 | 135 |
Binär | 1111110 | 1001110 | 10000111 |
Oktal | 176 | 116 | 207 |
Beispiele css- und html für Elemente in der Farbe #7E4E87. Bitte benutzen Sie auch rgb(126,78,135) statt hex-Code.
.myTextColor { color: #7E4E87; }
<p style="color:#7E4E87">This sample text font color is #7E4E87.</p>
Die Farbe dieses Textes ist #7E4E87.
.myBgColor { background-color: #7E4E87; }
<div style="background-color:#7E4E87">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E4E87.
.myBorderColor { border: 1px solid #7E4E87; }
<div style="border:3px solid #7E4E87">Div</div>
Die Grenzen von diesem div sind in Farbe #7E4E87.
.myOpacity80 { color: #7E4E87; opacity: 0.8; }
<p style="color:#7E4E87;opacity:0.8;">80%</p>
Text in Farbe #7E4E87 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E4E87;}
<p style="text-shadow: 3px 3px 1px #7E4E87">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E4E87.
.textShadow {text-shadow: 3px 3px 1px #7E4E87, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E4E87, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E4E87 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E4E87, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E4E87, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E4E87 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E4E87; -webkit-box-shadow: 1px 1px 3px 2px #7E4E87; box-shadow: 1px 1px 3px 2px #7E4E87; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E4E87; -webkit-box-shadow: 1px 1px 3px 2px #7E4E87; box-shadow:1px 1px 3px 2px #7E4E87;">
Div content here</div>
Dieser Text ist in der Farbe #7E4E87 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E4E87 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E4E87.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E4E87.