HEX: #8C4C97
RGB: (140,76,151)
#8C4C97 enthält hauptsächlich rote und blaue Farbe. Für #8C4C97 ist eine «websichere» Webfarbe #993399 (oder kurz #939).
Die Farbe #8C4C97 wird in RGB als (140,76,151) definiert.
RGB: (140,76,151) (55%,30%,59%)
R 140 von 255 = 55%
G 76 von 255 = 30%
B 151 von 255 = 59%
R + G + B ~ 48%. #8C4C97 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 76 + 151 = 367 (100%)
R 140 von 367 ~ 38.15%
G 76 von 367 ~ 20.71%
B 151 von 367 ~ 41.14%
Die Farbe #8C4C97 wird in CMYK als (7,50,0,41) definiert.
CMYK: (7,50,0,41) C7M50Y0K41 (7%,50%,0%,41%) (0.07/0.50/0.00/0.41)
8C | 4C | 97 | |
---|---|---|---|
RGB | 140 | 76 | 151 |
HSL | 291° | 33.04% | 44.51% |
HSB/HSV | 291° | 49.67% | 59.22% |
CMYK | 7.28% | 49.67% | 0.00% |
40.78% |
Hexadezimal | 8C | 4C | 97 |
Dezimal | 140 | 76 | 151 |
Binär | 10001100 | 1001100 | 10010111 |
Oktal | 214 | 114 | 227 |
Beispiele css- und html für Elemente in der Farbe #8C4C97. Bitte benutzen Sie auch rgb(140,76,151) statt hex-Code.
.myTextColor { color: #8C4C97; }
<p style="color:#8C4C97">This sample text font color is #8C4C97.</p>
Die Farbe dieses Textes ist #8C4C97.
.myBgColor { background-color: #8C4C97; }
<div style="background-color:#8C4C97">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C4C97.
.myBorderColor { border: 1px solid #8C4C97; }
<div style="border:3px solid #8C4C97">Div</div>
Die Grenzen von diesem div sind in Farbe #8C4C97.
.myOpacity80 { color: #8C4C97; opacity: 0.8; }
<p style="color:#8C4C97;opacity:0.8;">80%</p>
Text in Farbe #8C4C97 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C4C97;}
<p style="text-shadow: 3px 3px 1px #8C4C97">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C4C97.
.textShadow {text-shadow: 3px 3px 1px #8C4C97, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C4C97, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C4C97 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C4C97, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C4C97, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C4C97 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C4C97; -webkit-box-shadow: 1px 1px 3px 2px #8C4C97; box-shadow: 1px 1px 3px 2px #8C4C97; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C4C97; -webkit-box-shadow: 1px 1px 3px 2px #8C4C97; box-shadow:1px 1px 3px 2px #8C4C97;">
Div content here</div>
Dieser Text ist in der Farbe #8C4C97 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C4C97 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C4C97.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C4C97.