HEX: #8C5F8D
RGB: (140,95,141)
#8C5F8D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8C5F8D ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8C5F8D wird in RGB als (140,95,141) definiert.
RGB: (140,95,141) (55%,37%,55%)
R 140 von 255 = 55%
G 95 von 255 = 37%
B 141 von 255 = 55%
R + G + B ~ 49%. #8C5F8D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 95 + 141 = 376 (100%)
R 140 von 376 ~ 37.23%
G 95 von 376 ~ 25.27%
B 141 von 376 ~ 37.5%
Die Farbe #8C5F8D wird in CMYK als (1,33,0,45) definiert.
CMYK: (1,33,0,45) C1M33Y0K45 (1%,33%,0%,45%) (0.01/0.33/0.00/0.45)
8C | 5F | 8D | |
---|---|---|---|
RGB | 140 | 95 | 141 |
HSL | 299° | 19.49% | 46.27% |
HSB/HSV | 299° | 32.62% | 55.29% |
CMYK | 0.71% | 32.62% | 0.00% |
44.71% |
Hexadezimal | 8C | 5F | 8D |
Dezimal | 140 | 95 | 141 |
Binär | 10001100 | 1011111 | 10001101 |
Oktal | 214 | 137 | 215 |
Beispiele css- und html für Elemente in der Farbe #8C5F8D. Bitte benutzen Sie auch rgb(140,95,141) statt hex-Code.
.myTextColor { color: #8C5F8D; }
<p style="color:#8C5F8D">This sample text font color is #8C5F8D.</p>
Die Farbe dieses Textes ist #8C5F8D.
.myBgColor { background-color: #8C5F8D; }
<div style="background-color:#8C5F8D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C5F8D.
.myBorderColor { border: 1px solid #8C5F8D; }
<div style="border:3px solid #8C5F8D">Div</div>
Die Grenzen von diesem div sind in Farbe #8C5F8D.
.myOpacity80 { color: #8C5F8D; opacity: 0.8; }
<p style="color:#8C5F8D;opacity:0.8;">80%</p>
Text in Farbe #8C5F8D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C5F8D;}
<p style="text-shadow: 3px 3px 1px #8C5F8D">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C5F8D.
.textShadow {text-shadow: 3px 3px 1px #8C5F8D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C5F8D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C5F8D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C5F8D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C5F8D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C5F8D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C5F8D; -webkit-box-shadow: 1px 1px 3px 2px #8C5F8D; box-shadow: 1px 1px 3px 2px #8C5F8D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C5F8D; -webkit-box-shadow: 1px 1px 3px 2px #8C5F8D; box-shadow:1px 1px 3px 2px #8C5F8D;">
Div content here</div>
Dieser Text ist in der Farbe #8C5F8D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C5F8D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C5F8D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C5F8D.