HEX: #8C74AD
RGB: (140,116,173)
#8C74AD enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8C74AD ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8C74AD wird in RGB als (140,116,173) definiert.
RGB: (140,116,173) (55%,45%,68%)
R 140 von 255 = 55%
G 116 von 255 = 45%
B 173 von 255 = 68%
R + G + B ~ 56%. #8C74AD mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 116 + 173 = 429 (100%)
R 140 von 429 ~ 32.63%
G 116 von 429 ~ 27.04%
B 173 von 429 ~ 40.33%
Die Farbe #8C74AD wird in CMYK als (19,33,0,32) definiert.
CMYK: (19,33,0,32) C19M33Y0K32 (19%,33%,0%,32%) (0.19/0.33/0.00/0.32)
8C | 74 | AD | |
---|---|---|---|
RGB | 140 | 116 | 173 |
HSL | 265° | 25.79% | 56.67% |
HSB/HSV | 265° | 32.95% | 67.84% |
CMYK | 19.08% | 32.95% | 0.00% |
32.16% |
Hexadezimal | 8C | 74 | AD |
Dezimal | 140 | 116 | 173 |
Binär | 10001100 | 1110100 | 10101101 |
Oktal | 214 | 164 | 255 |
Beispiele css- und html für Elemente in der Farbe #8C74AD. Bitte benutzen Sie auch rgb(140,116,173) statt hex-Code.
.myTextColor { color: #8C74AD; }
<p style="color:#8C74AD">This sample text font color is #8C74AD.</p>
Die Farbe dieses Textes ist #8C74AD.
.myBgColor { background-color: #8C74AD; }
<div style="background-color:#8C74AD">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C74AD.
.myBorderColor { border: 1px solid #8C74AD; }
<div style="border:3px solid #8C74AD">Div</div>
Die Grenzen von diesem div sind in Farbe #8C74AD.
.myOpacity80 { color: #8C74AD; opacity: 0.8; }
<p style="color:#8C74AD;opacity:0.8;">80%</p>
Text in Farbe #8C74AD und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C74AD;}
<p style="text-shadow: 3px 3px 1px #8C74AD">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C74AD.
.textShadow {text-shadow: 3px 3px 1px #8C74AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C74AD, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C74AD und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C74AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C74AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C74AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C74AD; -webkit-box-shadow: 1px 1px 3px 2px #8C74AD; box-shadow: 1px 1px 3px 2px #8C74AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C74AD; -webkit-box-shadow: 1px 1px 3px 2px #8C74AD; box-shadow:1px 1px 3px 2px #8C74AD;">
Div content here</div>
Dieser Text ist in der Farbe #8C74AD auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C74AD auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C74AD.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C74AD.