HEX: #8C7A9B
RGB: (140,122,155)
#8C7A9B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8C7A9B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8C7A9B wird in RGB als (140,122,155) definiert.
RGB: (140,122,155) (55%,48%,61%)
R 140 von 255 = 55%
G 122 von 255 = 48%
B 155 von 255 = 61%
R + G + B ~ 55%. #8C7A9B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 122 + 155 = 417 (100%)
R 140 von 417 ~ 33.57%
G 122 von 417 ~ 29.26%
B 155 von 417 ~ 37.17%
Die Farbe #8C7A9B wird in CMYK als (10,21,0,39) definiert.
CMYK: (10,21,0,39) C10M21Y0K39 (10%,21%,0%,39%) (0.10/0.21/0.00/0.39)
8C | 7A | 9B | |
---|---|---|---|
RGB | 140 | 122 | 155 |
HSL | 273° | 14.16% | 54.31% |
HSB/HSV | 273° | 21.29% | 60.78% |
CMYK | 9.68% | 21.29% | 0.00% |
39.22% |
Hexadezimal | 8C | 7A | 9B |
Dezimal | 140 | 122 | 155 |
Binär | 10001100 | 1111010 | 10011011 |
Oktal | 214 | 172 | 233 |
Beispiele css- und html für Elemente in der Farbe #8C7A9B. Bitte benutzen Sie auch rgb(140,122,155) statt hex-Code.
.myTextColor { color: #8C7A9B; }
<p style="color:#8C7A9B">This sample text font color is #8C7A9B.</p>
Die Farbe dieses Textes ist #8C7A9B.
.myBgColor { background-color: #8C7A9B; }
<div style="background-color:#8C7A9B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C7A9B.
.myBorderColor { border: 1px solid #8C7A9B; }
<div style="border:3px solid #8C7A9B">Div</div>
Die Grenzen von diesem div sind in Farbe #8C7A9B.
.myOpacity80 { color: #8C7A9B; opacity: 0.8; }
<p style="color:#8C7A9B;opacity:0.8;">80%</p>
Text in Farbe #8C7A9B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C7A9B;}
<p style="text-shadow: 3px 3px 1px #8C7A9B">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C7A9B.
.textShadow {text-shadow: 3px 3px 1px #8C7A9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C7A9B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C7A9B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C7A9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C7A9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C7A9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C7A9B; -webkit-box-shadow: 1px 1px 3px 2px #8C7A9B; box-shadow: 1px 1px 3px 2px #8C7A9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C7A9B; -webkit-box-shadow: 1px 1px 3px 2px #8C7A9B; box-shadow:1px 1px 3px 2px #8C7A9B;">
Div content here</div>
Dieser Text ist in der Farbe #8C7A9B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C7A9B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C7A9B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C7A9B.