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