HEX: #8A49B6
RGB: (138,73,182)
#8A49B6 enthält hauptsächlich rote und blaue Farbe. Für #8A49B6 ist eine «websichere» Webfarbe #9933CC (oder kurz #93C).
Die Farbe #8A49B6 wird in RGB als (138,73,182) definiert.
RGB: (138,73,182) (54%,29%,71%)
R 138 von 255 = 54%
G 73 von 255 = 29%
B 182 von 255 = 71%
R + G + B ~ 51%. #8A49B6 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 73 + 182 = 393 (100%)
R 138 von 393 ~ 35.11%
G 73 von 393 ~ 18.58%
B 182 von 393 ~ 46.31%
Die Farbe #8A49B6 wird in CMYK als (24,60,0,29) definiert.
CMYK: (24,60,0,29) C24M60Y0K29 (24%,60%,0%,29%) (0.24/0.60/0.00/0.29)
8A | 49 | B6 | |
---|---|---|---|
RGB | 138 | 73 | 182 |
HSL | 276° | 42.75% | 50.00% |
HSB/HSV | 276° | 59.89% | 71.37% |
CMYK | 24.18% | 59.89% | 0.00% |
28.63% |
Hexadezimal | 8A | 49 | B6 |
Dezimal | 138 | 73 | 182 |
Binär | 10001010 | 1001001 | 10110110 |
Oktal | 212 | 111 | 266 |
Beispiele css- und html für Elemente in der Farbe #8A49B6. Bitte benutzen Sie auch rgb(138,73,182) statt hex-Code.
.myTextColor { color: #8A49B6; }
<p style="color:#8A49B6">This sample text font color is #8A49B6.</p>
Die Farbe dieses Textes ist #8A49B6.
.myBgColor { background-color: #8A49B6; }
<div style="background-color:#8A49B6">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A49B6.
.myBorderColor { border: 1px solid #8A49B6; }
<div style="border:3px solid #8A49B6">Div</div>
Die Grenzen von diesem div sind in Farbe #8A49B6.
.myOpacity80 { color: #8A49B6; opacity: 0.8; }
<p style="color:#8A49B6;opacity:0.8;">80%</p>
Text in Farbe #8A49B6 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A49B6;}
<p style="text-shadow: 3px 3px 1px #8A49B6">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A49B6.
.textShadow {text-shadow: 3px 3px 1px #8A49B6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A49B6, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A49B6 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A49B6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A49B6, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A49B6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A49B6; -webkit-box-shadow: 1px 1px 3px 2px #8A49B6; box-shadow: 1px 1px 3px 2px #8A49B6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A49B6; -webkit-box-shadow: 1px 1px 3px 2px #8A49B6; box-shadow:1px 1px 3px 2px #8A49B6;">
Div content here</div>
Dieser Text ist in der Farbe #8A49B6 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A49B6 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A49B6.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A49B6.