HEX: #8C7BAC
RGB: (140,123,172)
#8C7BAC enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8C7BAC ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8C7BAC wird in RGB als (140,123,172) definiert.
RGB: (140,123,172) (55%,48%,67%)
R 140 von 255 = 55%
G 123 von 255 = 48%
B 172 von 255 = 67%
R + G + B ~ 57%. #8C7BAC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 123 + 172 = 435 (100%)
R 140 von 435 ~ 32.18%
G 123 von 435 ~ 28.28%
B 172 von 435 ~ 39.54%
Die Farbe #8C7BAC wird in CMYK als (19,28,0,33) definiert.
CMYK: (19,28,0,33) C19M28Y0K33 (19%,28%,0%,33%) (0.19/0.28/0.00/0.33)
8C | 7B | AC | |
---|---|---|---|
RGB | 140 | 123 | 172 |
HSL | 261° | 22.79% | 57.84% |
HSB/HSV | 261° | 28.49% | 67.45% |
CMYK | 18.60% | 28.49% | 0.00% |
32.55% |
Hexadezimal | 8C | 7B | AC |
Dezimal | 140 | 123 | 172 |
Binär | 10001100 | 1111011 | 10101100 |
Oktal | 214 | 173 | 254 |
Beispiele css- und html für Elemente in der Farbe #8C7BAC. Bitte benutzen Sie auch rgb(140,123,172) statt hex-Code.
.myTextColor { color: #8C7BAC; }
<p style="color:#8C7BAC">This sample text font color is #8C7BAC.</p>
Die Farbe dieses Textes ist #8C7BAC.
.myBgColor { background-color: #8C7BAC; }
<div style="background-color:#8C7BAC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C7BAC.
.myBorderColor { border: 1px solid #8C7BAC; }
<div style="border:3px solid #8C7BAC">Div</div>
Die Grenzen von diesem div sind in Farbe #8C7BAC.
.myOpacity80 { color: #8C7BAC; opacity: 0.8; }
<p style="color:#8C7BAC;opacity:0.8;">80%</p>
Text in Farbe #8C7BAC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C7BAC;}
<p style="text-shadow: 3px 3px 1px #8C7BAC">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C7BAC.
.textShadow {text-shadow: 3px 3px 1px #8C7BAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C7BAC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C7BAC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C7BAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C7BAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C7BAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C7BAC; -webkit-box-shadow: 1px 1px 3px 2px #8C7BAC; box-shadow: 1px 1px 3px 2px #8C7BAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C7BAC; -webkit-box-shadow: 1px 1px 3px 2px #8C7BAC; box-shadow:1px 1px 3px 2px #8C7BAC;">
Div content here</div>
Dieser Text ist in der Farbe #8C7BAC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C7BAC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C7BAC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C7BAC.