HEX: #876A9D
RGB: (135,106,157)
#876A9D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #876A9D ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #876A9D wird in RGB als (135,106,157) definiert.
RGB: (135,106,157) (53%,42%,62%)
R 135 von 255 = 53%
G 106 von 255 = 42%
B 157 von 255 = 62%
R + G + B ~ 52%. #876A9D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
135 + 106 + 157 = 398 (100%)
R 135 von 398 ~ 33.92%
G 106 von 398 ~ 26.63%
B 157 von 398 ~ 39.45%
Die Farbe #876A9D wird in CMYK als (14,32,0,38) definiert.
CMYK: (14,32,0,38) C14M32Y0K38 (14%,32%,0%,38%) (0.14/0.32/0.00/0.38)
87 | 6A | 9D | |
---|---|---|---|
RGB | 135 | 106 | 157 |
HSL | 274° | 20.65% | 51.57% |
HSB/HSV | 274° | 32.48% | 61.57% |
CMYK | 14.01% | 32.48% | 0.00% |
38.43% |
Hexadezimal | 87 | 6A | 9D |
Dezimal | 135 | 106 | 157 |
Binär | 10000111 | 1101010 | 10011101 |
Oktal | 207 | 152 | 235 |
Beispiele css- und html für Elemente in der Farbe #876A9D. Bitte benutzen Sie auch rgb(135,106,157) statt hex-Code.
.myTextColor { color: #876A9D; }
<p style="color:#876A9D">This sample text font color is #876A9D.</p>
Die Farbe dieses Textes ist #876A9D.
.myBgColor { background-color: #876A9D; }
<div style="background-color:#876A9D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #876A9D.
.myBorderColor { border: 1px solid #876A9D; }
<div style="border:3px solid #876A9D">Div</div>
Die Grenzen von diesem div sind in Farbe #876A9D.
.myOpacity80 { color: #876A9D; opacity: 0.8; }
<p style="color:#876A9D;opacity:0.8;">80%</p>
Text in Farbe #876A9D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #876A9D;}
<p style="text-shadow: 3px 3px 1px #876A9D">Text here.</p>
Dieser Text hat den Schatten in Farbe #876A9D.
.textShadow {text-shadow: 3px 3px 1px #876A9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #876A9D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #876A9D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#876A9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#876A9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #876A9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #876A9D; -webkit-box-shadow: 1px 1px 3px 2px #876A9D; box-shadow: 1px 1px 3px 2px #876A9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #876A9D; -webkit-box-shadow: 1px 1px 3px 2px #876A9D; box-shadow:1px 1px 3px 2px #876A9D;">
Div content here</div>
Dieser Text ist in der Farbe #876A9D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #876A9D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #876A9D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #876A9D.