HEX: #7E3172
RGB: (126,49,114)
#7E3172 enthält hauptsächlich rote und blaue Farbe. Für #7E3172 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #7E3172 wird in RGB als (126,49,114) definiert.
RGB: (126,49,114) (49%,19%,45%)
R 126 von 255 = 49%
G 49 von 255 = 19%
B 114 von 255 = 45%
R + G + B ~ 38%. #7E3172 ziemlich dunkle Farbe.
R + G + B =
126 + 49 + 114 = 289 (100%)
R 126 von 289 ~ 43.6%
G 49 von 289 ~ 16.96%
B 114 von 289 ~ 39.45%
Die Farbe #7E3172 wird in CMYK als (0,61,10,51) definiert.
CMYK: (0,61,10,51) C0M61Y10K51 (0%,61%,10%,51%) (0.00/0.61/0.10/0.51)
7E | 31 | 72 | |
---|---|---|---|
RGB | 126 | 49 | 114 |
HSL | 309° | 44.00% | 34.31% |
HSB/HSV | 309° | 61.11% | 49.41% |
CMYK | 0.00% | 61.11% | 9.52% |
50.59% |
Hexadezimal | 7E | 31 | 72 |
Dezimal | 126 | 49 | 114 |
Binär | 1111110 | 110001 | 1110010 |
Oktal | 176 | 61 | 162 |
Beispiele css- und html für Elemente in der Farbe #7E3172. Bitte benutzen Sie auch rgb(126,49,114) statt hex-Code.
.myTextColor { color: #7E3172; }
<p style="color:#7E3172">This sample text font color is #7E3172.</p>
Die Farbe dieses Textes ist #7E3172.
.myBgColor { background-color: #7E3172; }
<div style="background-color:#7E3172">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E3172.
.myBorderColor { border: 1px solid #7E3172; }
<div style="border:3px solid #7E3172">Div</div>
Die Grenzen von diesem div sind in Farbe #7E3172.
.myOpacity80 { color: #7E3172; opacity: 0.8; }
<p style="color:#7E3172;opacity:0.8;">80%</p>
Text in Farbe #7E3172 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E3172;}
<p style="text-shadow: 3px 3px 1px #7E3172">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E3172.
.textShadow {text-shadow: 3px 3px 1px #7E3172, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E3172, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E3172 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E3172, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E3172, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E3172 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E3172; -webkit-box-shadow: 1px 1px 3px 2px #7E3172; box-shadow: 1px 1px 3px 2px #7E3172; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E3172; -webkit-box-shadow: 1px 1px 3px 2px #7E3172; box-shadow:1px 1px 3px 2px #7E3172;">
Div content here</div>
Dieser Text ist in der Farbe #7E3172 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E3172 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E3172.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E3172.