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