HEX: #966C87
RGB: (150,108,135)
#966C87 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #966C87 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #966C87 wird in RGB als (150,108,135) definiert.
RGB: (150,108,135) (59%,42%,53%)
R 150 von 255 = 59%
G 108 von 255 = 42%
B 135 von 255 = 53%
R + G + B ~ 51%. #966C87 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
150 + 108 + 135 = 393 (100%)
R 150 von 393 ~ 38.17%
G 108 von 393 ~ 27.48%
B 135 von 393 ~ 34.35%
Die Farbe #966C87 wird in CMYK als (0,28,10,41) definiert.
CMYK: (0,28,10,41) C0M28Y10K41 (0%,28%,10%,41%) (0.00/0.28/0.10/0.41)
96 | 6C | 87 | |
---|---|---|---|
RGB | 150 | 108 | 135 |
HSL | 321° | 16.67% | 50.59% |
HSB/HSV | 321° | 28.00% | 58.82% |
CMYK | 0.00% | 28.00% | 10.00% |
41.18% |
Hexadezimal | 96 | 6C | 87 |
Dezimal | 150 | 108 | 135 |
Binär | 10010110 | 1101100 | 10000111 |
Oktal | 226 | 154 | 207 |
Beispiele css- und html für Elemente in der Farbe #966C87. Bitte benutzen Sie auch rgb(150,108,135) statt hex-Code.
.myTextColor { color: #966C87; }
<p style="color:#966C87">This sample text font color is #966C87.</p>
Die Farbe dieses Textes ist #966C87.
.myBgColor { background-color: #966C87; }
<div style="background-color:#966C87">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #966C87.
.myBorderColor { border: 1px solid #966C87; }
<div style="border:3px solid #966C87">Div</div>
Die Grenzen von diesem div sind in Farbe #966C87.
.myOpacity80 { color: #966C87; opacity: 0.8; }
<p style="color:#966C87;opacity:0.8;">80%</p>
Text in Farbe #966C87 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966C87;}
<p style="text-shadow: 3px 3px 1px #966C87">Text here.</p>
Dieser Text hat den Schatten in Farbe #966C87.
.textShadow {text-shadow: 3px 3px 1px #966C87, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966C87, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #966C87 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966C87, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966C87, Direction=45, Strength=4)">Text</p>
This text has shadow with #966C87 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966C87; -webkit-box-shadow: 1px 1px 3px 2px #966C87; box-shadow: 1px 1px 3px 2px #966C87; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966C87; -webkit-box-shadow: 1px 1px 3px 2px #966C87; box-shadow:1px 1px 3px 2px #966C87;">
Div content here</div>
Dieser Text ist in der Farbe #966C87 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #966C87 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #966C87.
Dieser Text ist weiß auf dem Hintergrund in Farbe #966C87.