HEX: #8C2BAE
RGB: (140,43,174)
#8C2BAE enthält hauptsächlich rote und blaue Farbe. Für #8C2BAE ist eine «websichere» Webfarbe #993399 (oder kurz #939).
Die Farbe #8C2BAE wird in RGB als (140,43,174) definiert.
RGB: (140,43,174) (55%,17%,68%)
R 140 von 255 = 55%
G 43 von 255 = 17%
B 174 von 255 = 68%
R + G + B ~ 47%. #8C2BAE mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 43 + 174 = 357 (100%)
R 140 von 357 ~ 39.22%
G 43 von 357 ~ 12.04%
B 174 von 357 ~ 48.74%
Die Farbe #8C2BAE wird in CMYK als (20,75,0,32) definiert.
CMYK: (20,75,0,32) C20M75Y0K32 (20%,75%,0%,32%) (0.20/0.75/0.00/0.32)
8C | 2B | AE | |
---|---|---|---|
RGB | 140 | 43 | 174 |
HSL | 284° | 60.37% | 42.55% |
HSB/HSV | 284° | 75.29% | 68.24% |
CMYK | 19.54% | 75.29% | 0.00% |
31.76% |
Hexadezimal | 8C | 2B | AE |
Dezimal | 140 | 43 | 174 |
Binär | 10001100 | 101011 | 10101110 |
Oktal | 214 | 53 | 256 |
Beispiele css- und html für Elemente in der Farbe #8C2BAE. Bitte benutzen Sie auch rgb(140,43,174) statt hex-Code.
.myTextColor { color: #8C2BAE; }
<p style="color:#8C2BAE">This sample text font color is #8C2BAE.</p>
Die Farbe dieses Textes ist #8C2BAE.
.myBgColor { background-color: #8C2BAE; }
<div style="background-color:#8C2BAE">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C2BAE.
.myBorderColor { border: 1px solid #8C2BAE; }
<div style="border:3px solid #8C2BAE">Div</div>
Die Grenzen von diesem div sind in Farbe #8C2BAE.
.myOpacity80 { color: #8C2BAE; opacity: 0.8; }
<p style="color:#8C2BAE;opacity:0.8;">80%</p>
Text in Farbe #8C2BAE und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C2BAE;}
<p style="text-shadow: 3px 3px 1px #8C2BAE">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C2BAE.
.textShadow {text-shadow: 3px 3px 1px #8C2BAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C2BAE, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C2BAE und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C2BAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C2BAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C2BAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C2BAE; -webkit-box-shadow: 1px 1px 3px 2px #8C2BAE; box-shadow: 1px 1px 3px 2px #8C2BAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C2BAE; -webkit-box-shadow: 1px 1px 3px 2px #8C2BAE; box-shadow:1px 1px 3px 2px #8C2BAE;">
Div content here</div>
Dieser Text ist in der Farbe #8C2BAE auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C2BAE auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C2BAE.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C2BAE.