HEX: #9956CD
RGB: (153,86,205)
#9956CD enthält hauptsächlich rote und blaue Farbe. Für #9956CD ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #9956CD wird in RGB als (153,86,205) definiert.
RGB: (153,86,205) (60%,34%,80%)
R 153 von 255 = 60%
G 86 von 255 = 34%
B 205 von 255 = 80%
R + G + B ~ 58%. #9956CD mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
153 + 86 + 205 = 444 (100%)
R 153 von 444 ~ 34.46%
G 86 von 444 ~ 19.37%
B 205 von 444 ~ 46.17%
Die Farbe #9956CD wird in CMYK als (25,58,0,20) definiert.
CMYK: (25,58,0,20) C25M58Y0K20 (25%,58%,0%,20%) (0.25/0.58/0.00/0.20)
99 | 56 | CD | |
---|---|---|---|
RGB | 153 | 86 | 205 |
HSL | 274° | 54.34% | 57.06% |
HSB/HSV | 274° | 58.05% | 80.39% |
CMYK | 25.37% | 58.05% | 0.00% |
19.61% |
Hexadezimal | 99 | 56 | CD |
Dezimal | 153 | 86 | 205 |
Binär | 10011001 | 1010110 | 11001101 |
Oktal | 231 | 126 | 315 |
Beispiele css- und html für Elemente in der Farbe #9956CD. Bitte benutzen Sie auch rgb(153,86,205) statt hex-Code.
.myTextColor { color: #9956CD; }
<p style="color:#9956CD">This sample text font color is #9956CD.</p>
Die Farbe dieses Textes ist #9956CD.
.myBgColor { background-color: #9956CD; }
<div style="background-color:#9956CD">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9956CD.
.myBorderColor { border: 1px solid #9956CD; }
<div style="border:3px solid #9956CD">Div</div>
Die Grenzen von diesem div sind in Farbe #9956CD.
.myOpacity80 { color: #9956CD; opacity: 0.8; }
<p style="color:#9956CD;opacity:0.8;">80%</p>
Text in Farbe #9956CD und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9956CD;}
<p style="text-shadow: 3px 3px 1px #9956CD">Text here.</p>
Dieser Text hat den Schatten in Farbe #9956CD.
.textShadow {text-shadow: 3px 3px 1px #9956CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9956CD, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9956CD und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9956CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9956CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #9956CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9956CD; -webkit-box-shadow: 1px 1px 3px 2px #9956CD; box-shadow: 1px 1px 3px 2px #9956CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9956CD; -webkit-box-shadow: 1px 1px 3px 2px #9956CD; box-shadow:1px 1px 3px 2px #9956CD;">
Div content here</div>
Dieser Text ist in der Farbe #9956CD auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9956CD auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9956CD.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9956CD.