HEX: #8A87B1
RGB: (138,135,177)
#8A87B1 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8A87B1 ist eine «websichere» Webfarbe #999999 (oder kurz #999).
Die Farbe #8A87B1 wird in RGB als (138,135,177) definiert.
RGB: (138,135,177) (54%,53%,69%)
R 138 von 255 = 54%
G 135 von 255 = 53%
B 177 von 255 = 69%
R + G + B ~ 59%. #8A87B1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 135 + 177 = 450 (100%)
R 138 von 450 ~ 30.67%
G 135 von 450 ~ 30%
B 177 von 450 ~ 39.33%
Die Farbe #8A87B1 wird in CMYK als (22,24,0,31) definiert.
CMYK: (22,24,0,31) C22M24Y0K31 (22%,24%,0%,31%) (0.22/0.24/0.00/0.31)
8A | 87 | B1 | |
---|---|---|---|
RGB | 138 | 135 | 177 |
HSL | 244° | 21.21% | 61.18% |
HSB/HSV | 244° | 23.73% | 69.41% |
CMYK | 22.03% | 23.73% | 0.00% |
30.59% |
Hexadezimal | 8A | 87 | B1 |
Dezimal | 138 | 135 | 177 |
Binär | 10001010 | 10000111 | 10110001 |
Oktal | 212 | 207 | 261 |
Beispiele css- und html für Elemente in der Farbe #8A87B1. Bitte benutzen Sie auch rgb(138,135,177) statt hex-Code.
.myTextColor { color: #8A87B1; }
<p style="color:#8A87B1">This sample text font color is #8A87B1.</p>
Die Farbe dieses Textes ist #8A87B1.
.myBgColor { background-color: #8A87B1; }
<div style="background-color:#8A87B1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A87B1.
.myBorderColor { border: 1px solid #8A87B1; }
<div style="border:3px solid #8A87B1">Div</div>
Die Grenzen von diesem div sind in Farbe #8A87B1.
.myOpacity80 { color: #8A87B1; opacity: 0.8; }
<p style="color:#8A87B1;opacity:0.8;">80%</p>
Text in Farbe #8A87B1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A87B1;}
<p style="text-shadow: 3px 3px 1px #8A87B1">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A87B1.
.textShadow {text-shadow: 3px 3px 1px #8A87B1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A87B1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A87B1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A87B1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A87B1, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A87B1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A87B1; -webkit-box-shadow: 1px 1px 3px 2px #8A87B1; box-shadow: 1px 1px 3px 2px #8A87B1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A87B1; -webkit-box-shadow: 1px 1px 3px 2px #8A87B1; box-shadow:1px 1px 3px 2px #8A87B1;">
Div content here</div>
Dieser Text ist in der Farbe #8A87B1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A87B1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A87B1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A87B1.