HEX: #8B5C95
RGB: (139,92,149)
#8B5C95 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B5C95 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B5C95 wird in RGB als (139,92,149) definiert.
RGB: (139,92,149) (55%,36%,58%)
R 139 von 255 = 55%
G 92 von 255 = 36%
B 149 von 255 = 58%
R + G + B ~ 50%. #8B5C95 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 92 + 149 = 380 (100%)
R 139 von 380 ~ 36.58%
G 92 von 380 ~ 24.21%
B 149 von 380 ~ 39.21%
Die Farbe #8B5C95 wird in CMYK als (7,38,0,42) definiert.
CMYK: (7,38,0,42) C7M38Y0K42 (7%,38%,0%,42%) (0.07/0.38/0.00/0.42)
8B | 5C | 95 | |
---|---|---|---|
RGB | 139 | 92 | 149 |
HSL | 289° | 23.65% | 47.25% |
HSB/HSV | 289° | 38.26% | 58.43% |
CMYK | 6.71% | 38.26% | 0.00% |
41.57% |
Hexadezimal | 8B | 5C | 95 |
Dezimal | 139 | 92 | 149 |
Binär | 10001011 | 1011100 | 10010101 |
Oktal | 213 | 134 | 225 |
Beispiele css- und html für Elemente in der Farbe #8B5C95. Bitte benutzen Sie auch rgb(139,92,149) statt hex-Code.
.myTextColor { color: #8B5C95; }
<p style="color:#8B5C95">This sample text font color is #8B5C95.</p>
Die Farbe dieses Textes ist #8B5C95.
.myBgColor { background-color: #8B5C95; }
<div style="background-color:#8B5C95">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5C95.
.myBorderColor { border: 1px solid #8B5C95; }
<div style="border:3px solid #8B5C95">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5C95.
.myOpacity80 { color: #8B5C95; opacity: 0.8; }
<p style="color:#8B5C95;opacity:0.8;">80%</p>
Text in Farbe #8B5C95 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5C95;}
<p style="text-shadow: 3px 3px 1px #8B5C95">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5C95.
.textShadow {text-shadow: 3px 3px 1px #8B5C95, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5C95, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5C95 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5C95, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5C95, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5C95 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5C95; -webkit-box-shadow: 1px 1px 3px 2px #8B5C95; box-shadow: 1px 1px 3px 2px #8B5C95; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5C95; -webkit-box-shadow: 1px 1px 3px 2px #8B5C95; box-shadow:1px 1px 3px 2px #8B5C95;">
Div content here</div>
Dieser Text ist in der Farbe #8B5C95 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5C95 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5C95.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5C95.