HEX: #987FB3
RGB: (152,127,179)
#987FB3 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #987FB3 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #987FB3 wird in RGB als (152,127,179) definiert.
RGB: (152,127,179) (60%,50%,70%)
R 152 von 255 = 60%
G 127 von 255 = 50%
B 179 von 255 = 70%
R + G + B ~ 60%. #987FB3 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
152 + 127 + 179 = 458 (100%)
R 152 von 458 ~ 33.19%
G 127 von 458 ~ 27.73%
B 179 von 458 ~ 39.08%
Die Farbe #987FB3 wird in CMYK als (15,29,0,30) definiert.
CMYK: (15,29,0,30) C15M29Y0K30 (15%,29%,0%,30%) (0.15/0.29/0.00/0.30)
98 | 7F | B3 | |
---|---|---|---|
RGB | 152 | 127 | 179 |
HSL | 269° | 25.49% | 60.00% |
HSB/HSV | 269° | 29.05% | 70.20% |
CMYK | 15.08% | 29.05% | 0.00% |
29.80% |
Hexadezimal | 98 | 7F | B3 |
Dezimal | 152 | 127 | 179 |
Binär | 10011000 | 1111111 | 10110011 |
Oktal | 230 | 177 | 263 |
Beispiele css- und html für Elemente in der Farbe #987FB3. Bitte benutzen Sie auch rgb(152,127,179) statt hex-Code.
.myTextColor { color: #987FB3; }
<p style="color:#987FB3">This sample text font color is #987FB3.</p>
Die Farbe dieses Textes ist #987FB3.
.myBgColor { background-color: #987FB3; }
<div style="background-color:#987FB3">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #987FB3.
.myBorderColor { border: 1px solid #987FB3; }
<div style="border:3px solid #987FB3">Div</div>
Die Grenzen von diesem div sind in Farbe #987FB3.
.myOpacity80 { color: #987FB3; opacity: 0.8; }
<p style="color:#987FB3;opacity:0.8;">80%</p>
Text in Farbe #987FB3 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987FB3;}
<p style="text-shadow: 3px 3px 1px #987FB3">Text here.</p>
Dieser Text hat den Schatten in Farbe #987FB3.
.textShadow {text-shadow: 3px 3px 1px #987FB3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987FB3, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #987FB3 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987FB3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987FB3, Direction=45, Strength=4)">Text</p>
This text has shadow with #987FB3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987FB3; -webkit-box-shadow: 1px 1px 3px 2px #987FB3; box-shadow: 1px 1px 3px 2px #987FB3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987FB3; -webkit-box-shadow: 1px 1px 3px 2px #987FB3; box-shadow:1px 1px 3px 2px #987FB3;">
Div content here</div>
Dieser Text ist in der Farbe #987FB3 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #987FB3 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #987FB3.
Dieser Text ist weiß auf dem Hintergrund in Farbe #987FB3.