HEX: #8B5CAC
RGB: (139,92,172)
#8B5CAC enthält hauptsächlich rote und blaue Farbe. Für #8B5CAC ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B5CAC wird in RGB als (139,92,172) definiert.
RGB: (139,92,172) (55%,36%,67%)
R 139 von 255 = 55%
G 92 von 255 = 36%
B 172 von 255 = 67%
R + G + B ~ 53%. #8B5CAC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 92 + 172 = 403 (100%)
R 139 von 403 ~ 34.49%
G 92 von 403 ~ 22.83%
B 172 von 403 ~ 42.68%
Die Farbe #8B5CAC wird in CMYK als (19,47,0,33) definiert.
CMYK: (19,47,0,33) C19M47Y0K33 (19%,47%,0%,33%) (0.19/0.47/0.00/0.33)
8B | 5C | AC | |
---|---|---|---|
RGB | 139 | 92 | 172 |
HSL | 275° | 32.52% | 51.76% |
HSB/HSV | 275° | 46.51% | 67.45% |
CMYK | 19.19% | 46.51% | 0.00% |
32.55% |
Hexadezimal | 8B | 5C | AC |
Dezimal | 139 | 92 | 172 |
Binär | 10001011 | 1011100 | 10101100 |
Oktal | 213 | 134 | 254 |
Beispiele css- und html für Elemente in der Farbe #8B5CAC. Bitte benutzen Sie auch rgb(139,92,172) statt hex-Code.
.myTextColor { color: #8B5CAC; }
<p style="color:#8B5CAC">This sample text font color is #8B5CAC.</p>
Die Farbe dieses Textes ist #8B5CAC.
.myBgColor { background-color: #8B5CAC; }
<div style="background-color:#8B5CAC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5CAC.
.myBorderColor { border: 1px solid #8B5CAC; }
<div style="border:3px solid #8B5CAC">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5CAC.
.myOpacity80 { color: #8B5CAC; opacity: 0.8; }
<p style="color:#8B5CAC;opacity:0.8;">80%</p>
Text in Farbe #8B5CAC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5CAC;}
<p style="text-shadow: 3px 3px 1px #8B5CAC">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5CAC.
.textShadow {text-shadow: 3px 3px 1px #8B5CAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5CAC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5CAC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5CAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5CAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5CAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5CAC; -webkit-box-shadow: 1px 1px 3px 2px #8B5CAC; box-shadow: 1px 1px 3px 2px #8B5CAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5CAC; -webkit-box-shadow: 1px 1px 3px 2px #8B5CAC; box-shadow:1px 1px 3px 2px #8B5CAC;">
Div content here</div>
Dieser Text ist in der Farbe #8B5CAC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5CAC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5CAC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5CAC.