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