HEX: #8C558E
RGB: (140,85,142)
#8C558E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8C558E ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8C558E wird in RGB als (140,85,142) definiert.
RGB: (140,85,142) (55%,33%,56%)
R 140 von 255 = 55%
G 85 von 255 = 33%
B 142 von 255 = 56%
R + G + B ~ 48%. #8C558E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 85 + 142 = 367 (100%)
R 140 von 367 ~ 38.15%
G 85 von 367 ~ 23.16%
B 142 von 367 ~ 38.69%
Die Farbe #8C558E wird in CMYK als (1,40,0,44) definiert.
CMYK: (1,40,0,44) C1M40Y0K44 (1%,40%,0%,44%) (0.01/0.40/0.00/0.44)
8C | 55 | 8E | |
---|---|---|---|
RGB | 140 | 85 | 142 |
HSL | 298° | 25.11% | 44.51% |
HSB/HSV | 298° | 40.14% | 55.69% |
CMYK | 1.41% | 40.14% | 0.00% |
44.31% |
Hexadezimal | 8C | 55 | 8E |
Dezimal | 140 | 85 | 142 |
Binär | 10001100 | 1010101 | 10001110 |
Oktal | 214 | 125 | 216 |
Beispiele css- und html für Elemente in der Farbe #8C558E. Bitte benutzen Sie auch rgb(140,85,142) statt hex-Code.
.myTextColor { color: #8C558E; }
<p style="color:#8C558E">This sample text font color is #8C558E.</p>
Die Farbe dieses Textes ist #8C558E.
.myBgColor { background-color: #8C558E; }
<div style="background-color:#8C558E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C558E.
.myBorderColor { border: 1px solid #8C558E; }
<div style="border:3px solid #8C558E">Div</div>
Die Grenzen von diesem div sind in Farbe #8C558E.
.myOpacity80 { color: #8C558E; opacity: 0.8; }
<p style="color:#8C558E;opacity:0.8;">80%</p>
Text in Farbe #8C558E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C558E;}
<p style="text-shadow: 3px 3px 1px #8C558E">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C558E.
.textShadow {text-shadow: 3px 3px 1px #8C558E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C558E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C558E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C558E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C558E, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C558E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C558E; -webkit-box-shadow: 1px 1px 3px 2px #8C558E; box-shadow: 1px 1px 3px 2px #8C558E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C558E; -webkit-box-shadow: 1px 1px 3px 2px #8C558E; box-shadow:1px 1px 3px 2px #8C558E;">
Div content here</div>
Dieser Text ist in der Farbe #8C558E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C558E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C558E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C558E.