HEX: #7E6A99
RGB: (126,106,153)
#7E6A99 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7E6A99 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #7E6A99 wird in RGB als (126,106,153) definiert.
RGB: (126,106,153) (49%,42%,60%)
R 126 von 255 = 49%
G 106 von 255 = 42%
B 153 von 255 = 60%
R + G + B ~ 50%. #7E6A99 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
126 + 106 + 153 = 385 (100%)
R 126 von 385 ~ 32.73%
G 106 von 385 ~ 27.53%
B 153 von 385 ~ 39.74%
Die Farbe #7E6A99 wird in CMYK als (18,31,0,40) definiert.
CMYK: (18,31,0,40) C18M31Y0K40 (18%,31%,0%,40%) (0.18/0.31/0.00/0.40)
7E | 6A | 99 | |
---|---|---|---|
RGB | 126 | 106 | 153 |
HSL | 266° | 18.73% | 50.78% |
HSB/HSV | 266° | 30.72% | 60.00% |
CMYK | 17.65% | 30.72% | 0.00% |
40.00% |
Hexadezimal | 7E | 6A | 99 |
Dezimal | 126 | 106 | 153 |
Binär | 1111110 | 1101010 | 10011001 |
Oktal | 176 | 152 | 231 |
Beispiele css- und html für Elemente in der Farbe #7E6A99. Bitte benutzen Sie auch rgb(126,106,153) statt hex-Code.
.myTextColor { color: #7E6A99; }
<p style="color:#7E6A99">This sample text font color is #7E6A99.</p>
Die Farbe dieses Textes ist #7E6A99.
.myBgColor { background-color: #7E6A99; }
<div style="background-color:#7E6A99">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7E6A99.
.myBorderColor { border: 1px solid #7E6A99; }
<div style="border:3px solid #7E6A99">Div</div>
Die Grenzen von diesem div sind in Farbe #7E6A99.
.myOpacity80 { color: #7E6A99; opacity: 0.8; }
<p style="color:#7E6A99;opacity:0.8;">80%</p>
Text in Farbe #7E6A99 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E6A99;}
<p style="text-shadow: 3px 3px 1px #7E6A99">Text here.</p>
Dieser Text hat den Schatten in Farbe #7E6A99.
.textShadow {text-shadow: 3px 3px 1px #7E6A99, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E6A99, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7E6A99 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E6A99, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E6A99, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E6A99 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E6A99; -webkit-box-shadow: 1px 1px 3px 2px #7E6A99; box-shadow: 1px 1px 3px 2px #7E6A99; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E6A99; -webkit-box-shadow: 1px 1px 3px 2px #7E6A99; box-shadow:1px 1px 3px 2px #7E6A99;">
Div content here</div>
Dieser Text ist in der Farbe #7E6A99 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7E6A99 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7E6A99.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7E6A99.