HEX: #8C48BA
RGB: (140,72,186)
#8C48BA enthält hauptsächlich rote und blaue Farbe. Für #8C48BA ist eine «websichere» Webfarbe #9933CC (oder kurz #93C).
Die Farbe #8C48BA wird in RGB als (140,72,186) definiert.
RGB: (140,72,186) (55%,28%,73%)
R 140 von 255 = 55%
G 72 von 255 = 28%
B 186 von 255 = 73%
R + G + B ~ 52%. #8C48BA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 72 + 186 = 398 (100%)
R 140 von 398 ~ 35.18%
G 72 von 398 ~ 18.09%
B 186 von 398 ~ 46.73%
Die Farbe #8C48BA wird in CMYK als (25,61,0,27) definiert.
CMYK: (25,61,0,27) C25M61Y0K27 (25%,61%,0%,27%) (0.25/0.61/0.00/0.27)
8C | 48 | BA | |
---|---|---|---|
RGB | 140 | 72 | 186 |
HSL | 276° | 45.24% | 50.59% |
HSB/HSV | 276° | 61.29% | 72.94% |
CMYK | 24.73% | 61.29% | 0.00% |
27.06% |
Hexadezimal | 8C | 48 | BA |
Dezimal | 140 | 72 | 186 |
Binär | 10001100 | 1001000 | 10111010 |
Oktal | 214 | 110 | 272 |
Beispiele css- und html für Elemente in der Farbe #8C48BA. Bitte benutzen Sie auch rgb(140,72,186) statt hex-Code.
.myTextColor { color: #8C48BA; }
<p style="color:#8C48BA">This sample text font color is #8C48BA.</p>
Die Farbe dieses Textes ist #8C48BA.
.myBgColor { background-color: #8C48BA; }
<div style="background-color:#8C48BA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C48BA.
.myBorderColor { border: 1px solid #8C48BA; }
<div style="border:3px solid #8C48BA">Div</div>
Die Grenzen von diesem div sind in Farbe #8C48BA.
.myOpacity80 { color: #8C48BA; opacity: 0.8; }
<p style="color:#8C48BA;opacity:0.8;">80%</p>
Text in Farbe #8C48BA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C48BA;}
<p style="text-shadow: 3px 3px 1px #8C48BA">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C48BA.
.textShadow {text-shadow: 3px 3px 1px #8C48BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C48BA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C48BA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C48BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C48BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C48BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C48BA; -webkit-box-shadow: 1px 1px 3px 2px #8C48BA; box-shadow: 1px 1px 3px 2px #8C48BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C48BA; -webkit-box-shadow: 1px 1px 3px 2px #8C48BA; box-shadow:1px 1px 3px 2px #8C48BA;">
Div content here</div>
Dieser Text ist in der Farbe #8C48BA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C48BA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C48BA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C48BA.