HEX: #7E5180
RGB: (126,81,128)
#7E5180 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E5180 ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #7E5180 wird in RGB als (126,81,128) definiert.
RGB: (126,81,128) (49%,32%,50%)
R 126 von 255 = 49%
G 81 von 255 = 32%
B 128 von 255 = 50%
R + G + B ~ 44%. #7E5180 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 81 + 128 = 335 (100%)
R 126 von 335 ~ 37.61%
G 81 von 335 ~ 24.18%
B 128 von 335 ~ 38.21%
Die Farbe #7E5180 wird in CMYK als (2,37,0,50) definiert.
CMYK: (2,37,0,50) C2M37Y0K50 (2%,37%,0%,50%) (0.02/0.37/0.00/0.50)
7E | 51 | 80 | |
---|---|---|---|
RGB | 126 | 81 | 128 |
HSL | 297° | 22.49% | 40.98% |
HSB/HSV | 297° | 36.72% | 50.20% |
CMYK | 1.56% | 36.72% | 0.00% |
49.80% |
Hexadezimal | 7E | 51 | 80 |
Dezimal | 126 | 81 | 128 |
Binär | 1111110 | 1010001 | 10000000 |
Oktal | 176 | 121 | 200 |
Beispiele css- und html für Elemente in der Farbe #7E5180. Bitte benutzen Sie auch rgb(126,81,128) statt hex-Code.
.myTextColor { color: #7E5180; }
<p style="color:#7E5180">This sample text font color is #7E5180.</p>
Die Farbe dieses Textes ist #7E5180.
.myBgColor { background-color: #7E5180; }
<div style="background-color:#7E5180">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E5180.
.myBorderColor { border: 1px solid #7E5180; }
<div style="border:3px solid #7E5180">Div</div>
Die Grenzen von diesem div sind in Farbe #7E5180.
.myOpacity80 { color: #7E5180; opacity: 0.8; }
<p style="color:#7E5180;opacity:0.8;">80%</p>
Text in Farbe #7E5180 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E5180;}
<p style="text-shadow: 3px 3px 1px #7E5180">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E5180.
.textShadow {text-shadow: 3px 3px 1px #7E5180, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E5180, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E5180 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E5180, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E5180, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E5180 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E5180; -webkit-box-shadow: 1px 1px 3px 2px #7E5180; box-shadow: 1px 1px 3px 2px #7E5180; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E5180; -webkit-box-shadow: 1px 1px 3px 2px #7E5180; box-shadow:1px 1px 3px 2px #7E5180;">
Div content here</div>
Dieser Text ist in der Farbe #7E5180 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E5180 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E5180.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E5180.