HEX: #9C87D6
RGB: (156,135,214)
#9C87D6 enthält hauptsächlich rote und blaue Farbe. Für #9C87D6 ist eine «websichere» Webfarbe #9999CC (oder kurz #99C).
Die Farbe #9C87D6 wird in RGB als (156,135,214) definiert.
RGB: (156,135,214) (61%,53%,84%)
R 156 von 255 = 61%
G 135 von 255 = 53%
B 214 von 255 = 84%
R + G + B ~ 66%. #9C87D6 ziemlich helle Farbe.
R + G + B =
156 + 135 + 214 = 505 (100%)
R 156 von 505 ~ 30.89%
G 135 von 505 ~ 26.73%
B 214 von 505 ~ 42.38%
Die Farbe #9C87D6 wird in CMYK als (27,37,0,16) definiert.
CMYK: (27,37,0,16) C27M37Y0K16 (27%,37%,0%,16%) (0.27/0.37/0.00/0.16)
9C | 87 | D6 | |
---|---|---|---|
RGB | 156 | 135 | 214 |
HSL | 256° | 49.07% | 68.43% |
HSB/HSV | 256° | 36.92% | 83.92% |
CMYK | 27.10% | 36.92% | 0.00% |
16.08% |
Hexadezimal | 9C | 87 | D6 |
Dezimal | 156 | 135 | 214 |
Binär | 10011100 | 10000111 | 11010110 |
Oktal | 234 | 207 | 326 |
Beispiele css- und html für Elemente in der Farbe #9C87D6. Bitte benutzen Sie auch rgb(156,135,214) statt hex-Code.
.myTextColor { color: #9C87D6; }
<p style="color:#9C87D6">This sample text font color is #9C87D6.</p>
Die Farbe dieses Textes ist #9C87D6.
.myBgColor { background-color: #9C87D6; }
<div style="background-color:#9C87D6">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9C87D6.
.myBorderColor { border: 1px solid #9C87D6; }
<div style="border:3px solid #9C87D6">Div</div>
Die Grenzen von diesem div sind in Farbe #9C87D6.
.myOpacity80 { color: #9C87D6; opacity: 0.8; }
<p style="color:#9C87D6;opacity:0.8;">80%</p>
Text in Farbe #9C87D6 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9C87D6;}
<p style="text-shadow: 3px 3px 1px #9C87D6">Text here.</p>
Dieser Text hat den Schatten in Farbe #9C87D6.
.textShadow {text-shadow: 3px 3px 1px #9C87D6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9C87D6, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9C87D6 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9C87D6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9C87D6, Direction=45, Strength=4)">Text</p>
This text has shadow with #9C87D6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9C87D6; -webkit-box-shadow: 1px 1px 3px 2px #9C87D6; box-shadow: 1px 1px 3px 2px #9C87D6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9C87D6; -webkit-box-shadow: 1px 1px 3px 2px #9C87D6; box-shadow:1px 1px 3px 2px #9C87D6;">
Div content here</div>
Dieser Text ist in der Farbe #9C87D6 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9C87D6 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9C87D6.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9C87D6.