HEX: #7E5198
RGB: (126,81,152)
#7E5198 enthält hauptsächlich rote und blaue Farbe. Für #7E5198 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7E5198 wird in RGB als (126,81,152) definiert.
RGB: (126,81,152) (49%,32%,60%)
R 126 von 255 = 49%
G 81 von 255 = 32%
B 152 von 255 = 60%
R + G + B ~ 47%. #7E5198 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 81 + 152 = 359 (100%)
R 126 von 359 ~ 35.1%
G 81 von 359 ~ 22.56%
B 152 von 359 ~ 42.34%
Die Farbe #7E5198 wird in CMYK als (17,47,0,40) definiert.
CMYK: (17,47,0,40) C17M47Y0K40 (17%,47%,0%,40%) (0.17/0.47/0.00/0.40)
7E | 51 | 98 | |
---|---|---|---|
RGB | 126 | 81 | 152 |
HSL | 278° | 30.47% | 45.69% |
HSB/HSV | 278° | 46.71% | 59.61% |
CMYK | 17.11% | 46.71% | 0.00% |
40.39% |
Hexadezimal | 7E | 51 | 98 |
Dezimal | 126 | 81 | 152 |
Binär | 1111110 | 1010001 | 10011000 |
Oktal | 176 | 121 | 230 |
Beispiele css- und html für Elemente in der Farbe #7E5198. Bitte benutzen Sie auch rgb(126,81,152) statt hex-Code.
.myTextColor { color: #7E5198; }
<p style="color:#7E5198">This sample text font color is #7E5198.</p>
Die Farbe dieses Textes ist #7E5198.
.myBgColor { background-color: #7E5198; }
<div style="background-color:#7E5198">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E5198.
.myBorderColor { border: 1px solid #7E5198; }
<div style="border:3px solid #7E5198">Div</div>
Die Grenzen von diesem div sind in Farbe #7E5198.
.myOpacity80 { color: #7E5198; opacity: 0.8; }
<p style="color:#7E5198;opacity:0.8;">80%</p>
Text in Farbe #7E5198 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E5198;}
<p style="text-shadow: 3px 3px 1px #7E5198">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E5198.
.textShadow {text-shadow: 3px 3px 1px #7E5198, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E5198, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E5198 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E5198, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E5198, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E5198 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E5198; -webkit-box-shadow: 1px 1px 3px 2px #7E5198; box-shadow: 1px 1px 3px 2px #7E5198; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E5198; -webkit-box-shadow: 1px 1px 3px 2px #7E5198; box-shadow:1px 1px 3px 2px #7E5198;">
Div content here</div>
Dieser Text ist in der Farbe #7E5198 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E5198 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E5198.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E5198.