HEX: #9C7DAE
RGB: (156,125,174)
#9C7DAE enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9C7DAE ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9C7DAE wird in RGB als (156,125,174) definiert.
RGB: (156,125,174) (61%,49%,68%)
R 156 von 255 = 61%
G 125 von 255 = 49%
B 174 von 255 = 68%
R + G + B ~ 59%. #9C7DAE mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
156 + 125 + 174 = 455 (100%)
R 156 von 455 ~ 34.29%
G 125 von 455 ~ 27.47%
B 174 von 455 ~ 38.24%
Die Farbe #9C7DAE wird in CMYK als (10,28,0,32) definiert.
CMYK: (10,28,0,32) C10M28Y0K32 (10%,28%,0%,32%) (0.10/0.28/0.00/0.32)
9C | 7D | AE | |
---|---|---|---|
RGB | 156 | 125 | 174 |
HSL | 278° | 23.22% | 58.63% |
HSB/HSV | 278° | 28.16% | 68.24% |
CMYK | 10.34% | 28.16% | 0.00% |
31.76% |
Hexadezimal | 9C | 7D | AE |
Dezimal | 156 | 125 | 174 |
Binär | 10011100 | 1111101 | 10101110 |
Oktal | 234 | 175 | 256 |
Beispiele css- und html für Elemente in der Farbe #9C7DAE. Bitte benutzen Sie auch rgb(156,125,174) statt hex-Code.
.myTextColor { color: #9C7DAE; }
<p style="color:#9C7DAE">This sample text font color is #9C7DAE.</p>
Die Farbe dieses Textes ist #9C7DAE.
.myBgColor { background-color: #9C7DAE; }
<div style="background-color:#9C7DAE">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9C7DAE.
.myBorderColor { border: 1px solid #9C7DAE; }
<div style="border:3px solid #9C7DAE">Div</div>
Die Grenzen von diesem div sind in Farbe #9C7DAE.
.myOpacity80 { color: #9C7DAE; opacity: 0.8; }
<p style="color:#9C7DAE;opacity:0.8;">80%</p>
Text in Farbe #9C7DAE und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9C7DAE;}
<p style="text-shadow: 3px 3px 1px #9C7DAE">Text here.</p>
Dieser Text hat den Schatten in Farbe #9C7DAE.
.textShadow {text-shadow: 3px 3px 1px #9C7DAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9C7DAE, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9C7DAE und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9C7DAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9C7DAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #9C7DAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9C7DAE; -webkit-box-shadow: 1px 1px 3px 2px #9C7DAE; box-shadow: 1px 1px 3px 2px #9C7DAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9C7DAE; -webkit-box-shadow: 1px 1px 3px 2px #9C7DAE; box-shadow:1px 1px 3px 2px #9C7DAE;">
Div content here</div>
Dieser Text ist in der Farbe #9C7DAE auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9C7DAE auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9C7DAE.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9C7DAE.