HEX: #8A5DB1
RGB: (138,93,177)
#8A5DB1 enthält hauptsächlich rote und blaue Farbe. Für #8A5DB1 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8A5DB1 wird in RGB als (138,93,177) definiert.
RGB: (138,93,177) (54%,36%,69%)
R 138 von 255 = 54%
G 93 von 255 = 36%
B 177 von 255 = 69%
R + G + B ~ 53%. #8A5DB1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 93 + 177 = 408 (100%)
R 138 von 408 ~ 33.82%
G 93 von 408 ~ 22.79%
B 177 von 408 ~ 43.38%
Die Farbe #8A5DB1 wird in CMYK als (22,47,0,31) definiert.
CMYK: (22,47,0,31) C22M47Y0K31 (22%,47%,0%,31%) (0.22/0.47/0.00/0.31)
8A | 5D | B1 | |
---|---|---|---|
RGB | 138 | 93 | 177 |
HSL | 272° | 35.00% | 52.94% |
HSB/HSV | 272° | 47.46% | 69.41% |
CMYK | 22.03% | 47.46% | 0.00% |
30.59% |
Hexadezimal | 8A | 5D | B1 |
Dezimal | 138 | 93 | 177 |
Binär | 10001010 | 1011101 | 10110001 |
Oktal | 212 | 135 | 261 |
Beispiele css- und html für Elemente in der Farbe #8A5DB1. Bitte benutzen Sie auch rgb(138,93,177) statt hex-Code.
.myTextColor { color: #8A5DB1; }
<p style="color:#8A5DB1">This sample text font color is #8A5DB1.</p>
Die Farbe dieses Textes ist #8A5DB1.
.myBgColor { background-color: #8A5DB1; }
<div style="background-color:#8A5DB1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A5DB1.
.myBorderColor { border: 1px solid #8A5DB1; }
<div style="border:3px solid #8A5DB1">Div</div>
Die Grenzen von diesem div sind in Farbe #8A5DB1.
.myOpacity80 { color: #8A5DB1; opacity: 0.8; }
<p style="color:#8A5DB1;opacity:0.8;">80%</p>
Text in Farbe #8A5DB1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A5DB1;}
<p style="text-shadow: 3px 3px 1px #8A5DB1">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A5DB1.
.textShadow {text-shadow: 3px 3px 1px #8A5DB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A5DB1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A5DB1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A5DB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A5DB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A5DB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A5DB1; -webkit-box-shadow: 1px 1px 3px 2px #8A5DB1; box-shadow: 1px 1px 3px 2px #8A5DB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A5DB1; -webkit-box-shadow: 1px 1px 3px 2px #8A5DB1; box-shadow:1px 1px 3px 2px #8A5DB1;">
Div content here</div>
Dieser Text ist in der Farbe #8A5DB1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A5DB1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A5DB1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A5DB1.