HEX: #966699
RGB: (150,102,153)
#966699 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #966699 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #966699 wird in RGB als (150,102,153) definiert.
RGB: (150,102,153) (59%,40%,60%)
R 150 von 255 = 59%
G 102 von 255 = 40%
B 153 von 255 = 60%
R + G + B ~ 53%. #966699 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
150 + 102 + 153 = 405 (100%)
R 150 von 405 ~ 37.04%
G 102 von 405 ~ 25.19%
B 153 von 405 ~ 37.78%
Die Farbe #966699 wird in CMYK als (2,33,0,40) definiert.
CMYK: (2,33,0,40) C2M33Y0K40 (2%,33%,0%,40%) (0.02/0.33/0.00/0.40)
96 | 66 | 99 | |
---|---|---|---|
RGB | 150 | 102 | 153 |
HSL | 296° | 20.00% | 50.00% |
HSB/HSV | 296° | 33.33% | 60.00% |
CMYK | 1.96% | 33.33% | 0.00% |
40.00% |
Hexadezimal | 96 | 66 | 99 |
Dezimal | 150 | 102 | 153 |
Binär | 10010110 | 1100110 | 10011001 |
Oktal | 226 | 146 | 231 |
Beispiele css- und html für Elemente in der Farbe #966699. Bitte benutzen Sie auch rgb(150,102,153) statt hex-Code.
.myTextColor { color: #966699; }
<p style="color:#966699">This sample text font color is #966699.</p>
Die Farbe dieses Textes ist #966699.
.myBgColor { background-color: #966699; }
<div style="background-color:#966699">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #966699.
.myBorderColor { border: 1px solid #966699; }
<div style="border:3px solid #966699">Div</div>
Die Grenzen von diesem div sind in Farbe #966699.
.myOpacity80 { color: #966699; opacity: 0.8; }
<p style="color:#966699;opacity:0.8;">80%</p>
Text in Farbe #966699 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966699;}
<p style="text-shadow: 3px 3px 1px #966699">Text here.</p>
Dieser Text hat den Schatten in Farbe #966699.
.textShadow {text-shadow: 3px 3px 1px #966699, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966699, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #966699 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966699, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966699, Direction=45, Strength=4)">Text</p>
This text has shadow with #966699 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966699; -webkit-box-shadow: 1px 1px 3px 2px #966699; box-shadow: 1px 1px 3px 2px #966699; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966699; -webkit-box-shadow: 1px 1px 3px 2px #966699; box-shadow:1px 1px 3px 2px #966699;">
Div content here</div>
Dieser Text ist in der Farbe #966699 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #966699 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #966699.
Dieser Text ist weiß auf dem Hintergrund in Farbe #966699.