HEX: #987F9E
RGB: (152,127,158)
#987F9E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #987F9E ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #987F9E wird in RGB als (152,127,158) definiert.
RGB: (152,127,158) (60%,50%,62%)
R 152 von 255 = 60%
G 127 von 255 = 50%
B 158 von 255 = 62%
R + G + B ~ 57%. #987F9E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
152 + 127 + 158 = 437 (100%)
R 152 von 437 ~ 34.78%
G 127 von 437 ~ 29.06%
B 158 von 437 ~ 36.16%
Die Farbe #987F9E wird in CMYK als (4,20,0,38) definiert.
CMYK: (4,20,0,38) C4M20Y0K38 (4%,20%,0%,38%) (0.04/0.20/0.00/0.38)
98 | 7F | 9E | |
---|---|---|---|
RGB | 152 | 127 | 158 |
HSL | 288° | 13.78% | 55.88% |
HSB/HSV | 288° | 19.62% | 61.96% |
CMYK | 3.80% | 19.62% | 0.00% |
38.04% |
Hexadezimal | 98 | 7F | 9E |
Dezimal | 152 | 127 | 158 |
Binär | 10011000 | 1111111 | 10011110 |
Oktal | 230 | 177 | 236 |
Beispiele css- und html für Elemente in der Farbe #987F9E. Bitte benutzen Sie auch rgb(152,127,158) statt hex-Code.
.myTextColor { color: #987F9E; }
<p style="color:#987F9E">This sample text font color is #987F9E.</p>
Die Farbe dieses Textes ist #987F9E.
.myBgColor { background-color: #987F9E; }
<div style="background-color:#987F9E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #987F9E.
.myBorderColor { border: 1px solid #987F9E; }
<div style="border:3px solid #987F9E">Div</div>
Die Grenzen von diesem div sind in Farbe #987F9E.
.myOpacity80 { color: #987F9E; opacity: 0.8; }
<p style="color:#987F9E;opacity:0.8;">80%</p>
Text in Farbe #987F9E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987F9E;}
<p style="text-shadow: 3px 3px 1px #987F9E">Text here.</p>
Dieser Text hat den Schatten in Farbe #987F9E.
.textShadow {text-shadow: 3px 3px 1px #987F9E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987F9E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #987F9E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987F9E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987F9E, Direction=45, Strength=4)">Text</p>
This text has shadow with #987F9E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987F9E; -webkit-box-shadow: 1px 1px 3px 2px #987F9E; box-shadow: 1px 1px 3px 2px #987F9E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987F9E; -webkit-box-shadow: 1px 1px 3px 2px #987F9E; box-shadow:1px 1px 3px 2px #987F9E;">
Div content here</div>
Dieser Text ist in der Farbe #987F9E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #987F9E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #987F9E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #987F9E.