HEX: #987EB7
RGB: (152,126,183)
#987EB7 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #987EB7 ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #987EB7 wird in RGB als (152,126,183) definiert.
RGB: (152,126,183) (60%,49%,72%)
R 152 von 255 = 60%
G 126 von 255 = 49%
B 183 von 255 = 72%
R + G + B ~ 60%. #987EB7 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
152 + 126 + 183 = 461 (100%)
R 152 von 461 ~ 32.97%
G 126 von 461 ~ 27.33%
B 183 von 461 ~ 39.7%
Die Farbe #987EB7 wird in CMYK als (17,31,0,28) definiert.
CMYK: (17,31,0,28) C17M31Y0K28 (17%,31%,0%,28%) (0.17/0.31/0.00/0.28)
98 | 7E | B7 | |
---|---|---|---|
RGB | 152 | 126 | 183 |
HSL | 267° | 28.36% | 60.59% |
HSB/HSV | 267° | 31.15% | 71.76% |
CMYK | 16.94% | 31.15% | 0.00% |
28.24% |
Hexadezimal | 98 | 7E | B7 |
Dezimal | 152 | 126 | 183 |
Binär | 10011000 | 1111110 | 10110111 |
Oktal | 230 | 176 | 267 |
Beispiele css- und html für Elemente in der Farbe #987EB7. Bitte benutzen Sie auch rgb(152,126,183) statt hex-Code.
.myTextColor { color: #987EB7; }
<p style="color:#987EB7">This sample text font color is #987EB7.</p>
Die Farbe dieses Textes ist #987EB7.
.myBgColor { background-color: #987EB7; }
<div style="background-color:#987EB7">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #987EB7.
.myBorderColor { border: 1px solid #987EB7; }
<div style="border:3px solid #987EB7">Div</div>
Die Grenzen von diesem div sind in Farbe #987EB7.
.myOpacity80 { color: #987EB7; opacity: 0.8; }
<p style="color:#987EB7;opacity:0.8;">80%</p>
Text in Farbe #987EB7 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987EB7;}
<p style="text-shadow: 3px 3px 1px #987EB7">Text here.</p>
Dieser Text hat den Schatten in Farbe #987EB7.
.textShadow {text-shadow: 3px 3px 1px #987EB7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987EB7, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #987EB7 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987EB7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987EB7, Direction=45, Strength=4)">Text</p>
This text has shadow with #987EB7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987EB7; -webkit-box-shadow: 1px 1px 3px 2px #987EB7; box-shadow: 1px 1px 3px 2px #987EB7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987EB7; -webkit-box-shadow: 1px 1px 3px 2px #987EB7; box-shadow:1px 1px 3px 2px #987EB7;">
Div content here</div>
Dieser Text ist in der Farbe #987EB7 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #987EB7 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #987EB7.
Dieser Text ist weiß auf dem Hintergrund in Farbe #987EB7.