HEX: #987BAF
RGB: (152,123,175)
#987BAF enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #987BAF ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #987BAF wird in RGB als (152,123,175) definiert.
RGB: (152,123,175) (60%,48%,69%)
R 152 von 255 = 60%
G 123 von 255 = 48%
B 175 von 255 = 69%
R + G + B ~ 59%. #987BAF mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
152 + 123 + 175 = 450 (100%)
R 152 von 450 ~ 33.78%
G 123 von 450 ~ 27.33%
B 175 von 450 ~ 38.89%
Die Farbe #987BAF wird in CMYK als (13,30,0,31) definiert.
CMYK: (13,30,0,31) C13M30Y0K31 (13%,30%,0%,31%) (0.13/0.30/0.00/0.31)
98 | 7B | AF | |
---|---|---|---|
RGB | 152 | 123 | 175 |
HSL | 273° | 24.53% | 58.43% |
HSB/HSV | 273° | 29.71% | 68.63% |
CMYK | 13.14% | 29.71% | 0.00% |
31.37% |
Hexadezimal | 98 | 7B | AF |
Dezimal | 152 | 123 | 175 |
Binär | 10011000 | 1111011 | 10101111 |
Oktal | 230 | 173 | 257 |
Beispiele css- und html für Elemente in der Farbe #987BAF. Bitte benutzen Sie auch rgb(152,123,175) statt hex-Code.
.myTextColor { color: #987BAF; }
<p style="color:#987BAF">This sample text font color is #987BAF.</p>
Die Farbe dieses Textes ist #987BAF.
.myBgColor { background-color: #987BAF; }
<div style="background-color:#987BAF">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #987BAF.
.myBorderColor { border: 1px solid #987BAF; }
<div style="border:3px solid #987BAF">Div</div>
Die Grenzen von diesem div sind in Farbe #987BAF.
.myOpacity80 { color: #987BAF; opacity: 0.8; }
<p style="color:#987BAF;opacity:0.8;">80%</p>
Text in Farbe #987BAF und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987BAF;}
<p style="text-shadow: 3px 3px 1px #987BAF">Text here.</p>
Dieser Text hat den Schatten in Farbe #987BAF.
.textShadow {text-shadow: 3px 3px 1px #987BAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987BAF, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #987BAF und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987BAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987BAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #987BAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987BAF; -webkit-box-shadow: 1px 1px 3px 2px #987BAF; box-shadow: 1px 1px 3px 2px #987BAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987BAF; -webkit-box-shadow: 1px 1px 3px 2px #987BAF; box-shadow:1px 1px 3px 2px #987BAF;">
Div content here</div>
Dieser Text ist in der Farbe #987BAF auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #987BAF auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #987BAF.
Dieser Text ist weiß auf dem Hintergrund in Farbe #987BAF.