HEX: #956C8C
RGB: (149,108,140)
#956C8C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #956C8C ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #956C8C wird in RGB als (149,108,140) definiert.
RGB: (149,108,140) (58%,42%,55%)
R 149 von 255 = 58%
G 108 von 255 = 42%
B 140 von 255 = 55%
R + G + B ~ 52%. #956C8C mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
149 + 108 + 140 = 397 (100%)
R 149 von 397 ~ 37.53%
G 108 von 397 ~ 27.2%
B 140 von 397 ~ 35.26%
Die Farbe #956C8C wird in CMYK als (0,28,6,42) definiert.
CMYK: (0,28,6,42) C0M28Y6K42 (0%,28%,6%,42%) (0.00/0.28/0.06/0.42)
95 | 6C | 8C | |
---|---|---|---|
RGB | 149 | 108 | 140 |
HSL | 313° | 16.21% | 50.39% |
HSB/HSV | 313° | 27.52% | 58.43% |
CMYK | 0.00% | 27.52% | 6.04% |
41.57% |
Hexadezimal | 95 | 6C | 8C |
Dezimal | 149 | 108 | 140 |
Binär | 10010101 | 1101100 | 10001100 |
Oktal | 225 | 154 | 214 |
Beispiele css- und html für Elemente in der Farbe #956C8C. Bitte benutzen Sie auch rgb(149,108,140) statt hex-Code.
.myTextColor { color: #956C8C; }
<p style="color:#956C8C">This sample text font color is #956C8C.</p>
Die Farbe dieses Textes ist #956C8C.
.myBgColor { background-color: #956C8C; }
<div style="background-color:#956C8C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #956C8C.
.myBorderColor { border: 1px solid #956C8C; }
<div style="border:3px solid #956C8C">Div</div>
Die Grenzen von diesem div sind in Farbe #956C8C.
.myOpacity80 { color: #956C8C; opacity: 0.8; }
<p style="color:#956C8C;opacity:0.8;">80%</p>
Text in Farbe #956C8C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #956C8C;}
<p style="text-shadow: 3px 3px 1px #956C8C">Text here.</p>
Dieser Text hat den Schatten in Farbe #956C8C.
.textShadow {text-shadow: 3px 3px 1px #956C8C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #956C8C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #956C8C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#956C8C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#956C8C, Direction=45, Strength=4)">Text</p>
This text has shadow with #956C8C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #956C8C; -webkit-box-shadow: 1px 1px 3px 2px #956C8C; box-shadow: 1px 1px 3px 2px #956C8C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #956C8C; -webkit-box-shadow: 1px 1px 3px 2px #956C8C; box-shadow:1px 1px 3px 2px #956C8C;">
Div content here</div>
Dieser Text ist in der Farbe #956C8C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #956C8C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #956C8C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #956C8C.