HEX: #8B6A8B
RGB: (139,106,139)
#8B6A8B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B6A8B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B6A8B wird in RGB als (139,106,139) definiert.
RGB: (139,106,139) (55%,42%,55%)
R 139 von 255 = 55%
G 106 von 255 = 42%
B 139 von 255 = 55%
R + G + B ~ 51%. #8B6A8B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 106 + 139 = 384 (100%)
R 139 von 384 ~ 36.2%
G 106 von 384 ~ 27.6%
B 139 von 384 ~ 36.2%
Die Farbe #8B6A8B wird in CMYK als (0,24,0,45) definiert.
CMYK: (0,24,0,45) C0M24Y0K45 (0%,24%,0%,45%) (0.00/0.24/0.00/0.45)
8B | 6A | 8B | |
---|---|---|---|
RGB | 139 | 106 | 139 |
HSL | 300° | 13.47% | 48.04% |
HSB/HSV | 300° | 23.74% | 54.51% |
CMYK | 0.00% | 23.74% | 0.00% |
45.49% |
Hexadezimal | 8B | 6A | 8B |
Dezimal | 139 | 106 | 139 |
Binär | 10001011 | 1101010 | 10001011 |
Oktal | 213 | 152 | 213 |
Beispiele css- und html für Elemente in der Farbe #8B6A8B. Bitte benutzen Sie auch rgb(139,106,139) statt hex-Code.
.myTextColor { color: #8B6A8B; }
<p style="color:#8B6A8B">This sample text font color is #8B6A8B.</p>
Die Farbe dieses Textes ist #8B6A8B.
.myBgColor { background-color: #8B6A8B; }
<div style="background-color:#8B6A8B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B6A8B.
.myBorderColor { border: 1px solid #8B6A8B; }
<div style="border:3px solid #8B6A8B">Div</div>
Die Grenzen von diesem div sind in Farbe #8B6A8B.
.myOpacity80 { color: #8B6A8B; opacity: 0.8; }
<p style="color:#8B6A8B;opacity:0.8;">80%</p>
Text in Farbe #8B6A8B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B6A8B;}
<p style="text-shadow: 3px 3px 1px #8B6A8B">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B6A8B.
.textShadow {text-shadow: 3px 3px 1px #8B6A8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B6A8B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B6A8B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B6A8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B6A8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B6A8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B6A8B; -webkit-box-shadow: 1px 1px 3px 2px #8B6A8B; box-shadow: 1px 1px 3px 2px #8B6A8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B6A8B; -webkit-box-shadow: 1px 1px 3px 2px #8B6A8B; box-shadow:1px 1px 3px 2px #8B6A8B;">
Div content here</div>
Dieser Text ist in der Farbe #8B6A8B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B6A8B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B6A8B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B6A8B.