HEX: #9C7BAA
RGB: (156,123,170)
#9C7BAA enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9C7BAA ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9C7BAA wird in RGB als (156,123,170) definiert.
RGB: (156,123,170) (61%,48%,67%)
R 156 von 255 = 61%
G 123 von 255 = 48%
B 170 von 255 = 67%
R + G + B ~ 59%. #9C7BAA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
156 + 123 + 170 = 449 (100%)
R 156 von 449 ~ 34.74%
G 123 von 449 ~ 27.39%
B 170 von 449 ~ 37.86%
Die Farbe #9C7BAA wird in CMYK als (8,28,0,33) definiert.
CMYK: (8,28,0,33) C8M28Y0K33 (8%,28%,0%,33%) (0.08/0.28/0.00/0.33)
9C | 7B | AA | |
---|---|---|---|
RGB | 156 | 123 | 170 |
HSL | 282° | 21.66% | 57.45% |
HSB/HSV | 282° | 27.65% | 66.67% |
CMYK | 8.24% | 27.65% | 0.00% |
33.33% |
Hexadezimal | 9C | 7B | AA |
Dezimal | 156 | 123 | 170 |
Binär | 10011100 | 1111011 | 10101010 |
Oktal | 234 | 173 | 252 |
Beispiele css- und html für Elemente in der Farbe #9C7BAA. Bitte benutzen Sie auch rgb(156,123,170) statt hex-Code.
.myTextColor { color: #9C7BAA; }
<p style="color:#9C7BAA">This sample text font color is #9C7BAA.</p>
Die Farbe dieses Textes ist #9C7BAA.
.myBgColor { background-color: #9C7BAA; }
<div style="background-color:#9C7BAA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9C7BAA.
.myBorderColor { border: 1px solid #9C7BAA; }
<div style="border:3px solid #9C7BAA">Div</div>
Die Grenzen von diesem div sind in Farbe #9C7BAA.
.myOpacity80 { color: #9C7BAA; opacity: 0.8; }
<p style="color:#9C7BAA;opacity:0.8;">80%</p>
Text in Farbe #9C7BAA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9C7BAA;}
<p style="text-shadow: 3px 3px 1px #9C7BAA">Text here.</p>
Dieser Text hat den Schatten in Farbe #9C7BAA.
.textShadow {text-shadow: 3px 3px 1px #9C7BAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9C7BAA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9C7BAA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9C7BAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9C7BAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #9C7BAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9C7BAA; -webkit-box-shadow: 1px 1px 3px 2px #9C7BAA; box-shadow: 1px 1px 3px 2px #9C7BAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9C7BAA; -webkit-box-shadow: 1px 1px 3px 2px #9C7BAA; box-shadow:1px 1px 3px 2px #9C7BAA;">
Div content here</div>
Dieser Text ist in der Farbe #9C7BAA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9C7BAA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9C7BAA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9C7BAA.