HEX: #7E2996
RGB: (126,41,150)
#7E2996 enthält hauptsächlich rote und blaue Farbe. Für #7E2996 ist eine «websichere» Webfarbe #663399 (oder kurz #639).
Die Farbe #7E2996 wird in RGB als (126,41,150) definiert.
RGB: (126,41,150) (49%,16%,59%)
R 126 von 255 = 49%
G 41 von 255 = 16%
B 150 von 255 = 59%
R + G + B ~ 41%. #7E2996 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 41 + 150 = 317 (100%)
R 126 von 317 ~ 39.75%
G 41 von 317 ~ 12.93%
B 150 von 317 ~ 47.32%
Die Farbe #7E2996 wird in CMYK als (16,73,0,41) definiert.
CMYK: (16,73,0,41) C16M73Y0K41 (16%,73%,0%,41%) (0.16/0.73/0.00/0.41)
7E | 29 | 96 | |
---|---|---|---|
RGB | 126 | 41 | 150 |
HSL | 287° | 57.07% | 37.45% |
HSB/HSV | 287° | 72.67% | 58.82% |
CMYK | 16.00% | 72.67% | 0.00% |
41.18% |
Hexadezimal | 7E | 29 | 96 |
Dezimal | 126 | 41 | 150 |
Binär | 1111110 | 101001 | 10010110 |
Oktal | 176 | 51 | 226 |
Beispiele css- und html für Elemente in der Farbe #7E2996. Bitte benutzen Sie auch rgb(126,41,150) statt hex-Code.
.myTextColor { color: #7E2996; }
<p style="color:#7E2996">This sample text font color is #7E2996.</p>
Die Farbe dieses Textes ist #7E2996.
.myBgColor { background-color: #7E2996; }
<div style="background-color:#7E2996">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E2996.
.myBorderColor { border: 1px solid #7E2996; }
<div style="border:3px solid #7E2996">Div</div>
Die Grenzen von diesem div sind in Farbe #7E2996.
.myOpacity80 { color: #7E2996; opacity: 0.8; }
<p style="color:#7E2996;opacity:0.8;">80%</p>
Text in Farbe #7E2996 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E2996;}
<p style="text-shadow: 3px 3px 1px #7E2996">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E2996.
.textShadow {text-shadow: 3px 3px 1px #7E2996, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E2996, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E2996 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E2996, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E2996, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E2996 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E2996; -webkit-box-shadow: 1px 1px 3px 2px #7E2996; box-shadow: 1px 1px 3px 2px #7E2996; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E2996; -webkit-box-shadow: 1px 1px 3px 2px #7E2996; box-shadow:1px 1px 3px 2px #7E2996;">
Div content here</div>
Dieser Text ist in der Farbe #7E2996 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E2996 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E2996.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E2996.