HEX: #8B4980
RGB: (139,73,128)
#8B4980 enthält hauptsächlich rote und blaue Farbe. Für #8B4980 ist eine «websichere» Webfarbe #993366 (oder kurz #936).
Die Farbe #8B4980 wird in RGB als (139,73,128) definiert.
RGB: (139,73,128) (55%,29%,50%)
R 139 von 255 = 55%
G 73 von 255 = 29%
B 128 von 255 = 50%
R + G + B ~ 45%. #8B4980 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 73 + 128 = 340 (100%)
R 139 von 340 ~ 40.88%
G 73 von 340 ~ 21.47%
B 128 von 340 ~ 37.65%
Die Farbe #8B4980 wird in CMYK als (0,47,8,45) definiert.
CMYK: (0,47,8,45) C0M47Y8K45 (0%,47%,8%,45%) (0.00/0.47/0.08/0.45)
8B | 49 | 80 | |
---|---|---|---|
RGB | 139 | 73 | 128 |
HSL | 310° | 31.13% | 41.57% |
HSB/HSV | 310° | 47.48% | 54.51% |
CMYK | 0.00% | 47.48% | 7.91% |
45.49% |
Hexadezimal | 8B | 49 | 80 |
Dezimal | 139 | 73 | 128 |
Binär | 10001011 | 1001001 | 10000000 |
Oktal | 213 | 111 | 200 |
Beispiele css- und html für Elemente in der Farbe #8B4980. Bitte benutzen Sie auch rgb(139,73,128) statt hex-Code.
.myTextColor { color: #8B4980; }
<p style="color:#8B4980">This sample text font color is #8B4980.</p>
Die Farbe dieses Textes ist #8B4980.
.myBgColor { background-color: #8B4980; }
<div style="background-color:#8B4980">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B4980.
.myBorderColor { border: 1px solid #8B4980; }
<div style="border:3px solid #8B4980">Div</div>
Die Grenzen von diesem div sind in Farbe #8B4980.
.myOpacity80 { color: #8B4980; opacity: 0.8; }
<p style="color:#8B4980;opacity:0.8;">80%</p>
Text in Farbe #8B4980 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B4980;}
<p style="text-shadow: 3px 3px 1px #8B4980">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B4980.
.textShadow {text-shadow: 3px 3px 1px #8B4980, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B4980, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B4980 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B4980, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B4980, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B4980 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B4980; -webkit-box-shadow: 1px 1px 3px 2px #8B4980; box-shadow: 1px 1px 3px 2px #8B4980; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B4980; -webkit-box-shadow: 1px 1px 3px 2px #8B4980; box-shadow:1px 1px 3px 2px #8B4980;">
Div content here</div>
Dieser Text ist in der Farbe #8B4980 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B4980 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B4980.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B4980.