HEX: #8B2AA5
RGB: (139,42,165)
#8B2AA5 enthält hauptsächlich rote und blaue Farbe. Für #8B2AA5 ist eine «websichere» Webfarbe #993399 (oder kurz #939).
Die Farbe #8B2AA5 wird in RGB als (139,42,165) definiert.
RGB: (139,42,165) (55%,16%,65%)
R 139 von 255 = 55%
G 42 von 255 = 16%
B 165 von 255 = 65%
R + G + B ~ 45%. #8B2AA5 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 42 + 165 = 346 (100%)
R 139 von 346 ~ 40.17%
G 42 von 346 ~ 12.14%
B 165 von 346 ~ 47.69%
Die Farbe #8B2AA5 wird in CMYK als (16,75,0,35) definiert.
CMYK: (16,75,0,35) C16M75Y0K35 (16%,75%,0%,35%) (0.16/0.75/0.00/0.35)
8B | 2A | A5 | |
---|---|---|---|
RGB | 139 | 42 | 165 |
HSL | 287° | 59.42% | 40.59% |
HSB/HSV | 287° | 74.55% | 64.71% |
CMYK | 15.76% | 74.55% | 0.00% |
35.29% |
Hexadezimal | 8B | 2A | A5 |
Dezimal | 139 | 42 | 165 |
Binär | 10001011 | 101010 | 10100101 |
Oktal | 213 | 52 | 245 |
Beispiele css- und html für Elemente in der Farbe #8B2AA5. Bitte benutzen Sie auch rgb(139,42,165) statt hex-Code.
.myTextColor { color: #8B2AA5; }
<p style="color:#8B2AA5">This sample text font color is #8B2AA5.</p>
Die Farbe dieses Textes ist #8B2AA5.
.myBgColor { background-color: #8B2AA5; }
<div style="background-color:#8B2AA5">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B2AA5.
.myBorderColor { border: 1px solid #8B2AA5; }
<div style="border:3px solid #8B2AA5">Div</div>
Die Grenzen von diesem div sind in Farbe #8B2AA5.
.myOpacity80 { color: #8B2AA5; opacity: 0.8; }
<p style="color:#8B2AA5;opacity:0.8;">80%</p>
Text in Farbe #8B2AA5 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B2AA5;}
<p style="text-shadow: 3px 3px 1px #8B2AA5">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B2AA5.
.textShadow {text-shadow: 3px 3px 1px #8B2AA5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B2AA5, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B2AA5 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B2AA5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B2AA5, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B2AA5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B2AA5; -webkit-box-shadow: 1px 1px 3px 2px #8B2AA5; box-shadow: 1px 1px 3px 2px #8B2AA5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B2AA5; -webkit-box-shadow: 1px 1px 3px 2px #8B2AA5; box-shadow:1px 1px 3px 2px #8B2AA5;">
Div content here</div>
Dieser Text ist in der Farbe #8B2AA5 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B2AA5 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B2AA5.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B2AA5.