HEX: #8B6CA1
RGB: (139,108,161)
#8B6CA1 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B6CA1 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B6CA1 wird in RGB als (139,108,161) definiert.
RGB: (139,108,161) (55%,42%,63%)
R 139 von 255 = 55%
G 108 von 255 = 42%
B 161 von 255 = 63%
R + G + B ~ 53%. #8B6CA1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 108 + 161 = 408 (100%)
R 139 von 408 ~ 34.07%
G 108 von 408 ~ 26.47%
B 161 von 408 ~ 39.46%
Die Farbe #8B6CA1 wird in CMYK als (14,33,0,37) definiert.
CMYK: (14,33,0,37) C14M33Y0K37 (14%,33%,0%,37%) (0.14/0.33/0.00/0.37)
8B | 6C | A1 | |
---|---|---|---|
RGB | 139 | 108 | 161 |
HSL | 275° | 21.99% | 52.75% |
HSB/HSV | 275° | 32.92% | 63.14% |
CMYK | 13.66% | 32.92% | 0.00% |
36.86% |
Hexadezimal | 8B | 6C | A1 |
Dezimal | 139 | 108 | 161 |
Binär | 10001011 | 1101100 | 10100001 |
Oktal | 213 | 154 | 241 |
Beispiele css- und html für Elemente in der Farbe #8B6CA1. Bitte benutzen Sie auch rgb(139,108,161) statt hex-Code.
.myTextColor { color: #8B6CA1; }
<p style="color:#8B6CA1">This sample text font color is #8B6CA1.</p>
Die Farbe dieses Textes ist #8B6CA1.
.myBgColor { background-color: #8B6CA1; }
<div style="background-color:#8B6CA1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B6CA1.
.myBorderColor { border: 1px solid #8B6CA1; }
<div style="border:3px solid #8B6CA1">Div</div>
Die Grenzen von diesem div sind in Farbe #8B6CA1.
.myOpacity80 { color: #8B6CA1; opacity: 0.8; }
<p style="color:#8B6CA1;opacity:0.8;">80%</p>
Text in Farbe #8B6CA1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B6CA1;}
<p style="text-shadow: 3px 3px 1px #8B6CA1">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B6CA1.
.textShadow {text-shadow: 3px 3px 1px #8B6CA1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B6CA1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B6CA1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B6CA1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B6CA1, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B6CA1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B6CA1; -webkit-box-shadow: 1px 1px 3px 2px #8B6CA1; box-shadow: 1px 1px 3px 2px #8B6CA1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B6CA1; -webkit-box-shadow: 1px 1px 3px 2px #8B6CA1; box-shadow:1px 1px 3px 2px #8B6CA1;">
Div content here</div>
Dieser Text ist in der Farbe #8B6CA1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B6CA1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B6CA1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B6CA1.