HEX: #8A6D9B
RGB: (138,109,155)
#8A6D9B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8A6D9B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8A6D9B wird in RGB als (138,109,155) definiert.
RGB: (138,109,155) (54%,43%,61%)
R 138 von 255 = 54%
G 109 von 255 = 43%
B 155 von 255 = 61%
R + G + B ~ 53%. #8A6D9B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 109 + 155 = 402 (100%)
R 138 von 402 ~ 34.33%
G 109 von 402 ~ 27.11%
B 155 von 402 ~ 38.56%
Die Farbe #8A6D9B wird in CMYK als (11,30,0,39) definiert.
CMYK: (11,30,0,39) C11M30Y0K39 (11%,30%,0%,39%) (0.11/0.30/0.00/0.39)
8A | 6D | 9B | |
---|---|---|---|
RGB | 138 | 109 | 155 |
HSL | 278° | 18.70% | 51.76% |
HSB/HSV | 278° | 29.68% | 60.78% |
CMYK | 10.97% | 29.68% | 0.00% |
39.22% |
Hexadezimal | 8A | 6D | 9B |
Dezimal | 138 | 109 | 155 |
Binär | 10001010 | 1101101 | 10011011 |
Oktal | 212 | 155 | 233 |
Beispiele css- und html für Elemente in der Farbe #8A6D9B. Bitte benutzen Sie auch rgb(138,109,155) statt hex-Code.
.myTextColor { color: #8A6D9B; }
<p style="color:#8A6D9B">This sample text font color is #8A6D9B.</p>
Die Farbe dieses Textes ist #8A6D9B.
.myBgColor { background-color: #8A6D9B; }
<div style="background-color:#8A6D9B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A6D9B.
.myBorderColor { border: 1px solid #8A6D9B; }
<div style="border:3px solid #8A6D9B">Div</div>
Die Grenzen von diesem div sind in Farbe #8A6D9B.
.myOpacity80 { color: #8A6D9B; opacity: 0.8; }
<p style="color:#8A6D9B;opacity:0.8;">80%</p>
Text in Farbe #8A6D9B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A6D9B;}
<p style="text-shadow: 3px 3px 1px #8A6D9B">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A6D9B.
.textShadow {text-shadow: 3px 3px 1px #8A6D9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A6D9B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A6D9B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A6D9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A6D9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A6D9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A6D9B; -webkit-box-shadow: 1px 1px 3px 2px #8A6D9B; box-shadow: 1px 1px 3px 2px #8A6D9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A6D9B; -webkit-box-shadow: 1px 1px 3px 2px #8A6D9B; box-shadow:1px 1px 3px 2px #8A6D9B;">
Div content here</div>
Dieser Text ist in der Farbe #8A6D9B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A6D9B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A6D9B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A6D9B.