HEX: #9B57A1
RGB: (155,87,161)
#9B57A1 enthält hauptsächlich rote und blaue Farbe. Für #9B57A1 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9B57A1 wird in RGB als (155,87,161) definiert.
RGB: (155,87,161) (61%,34%,63%)
R 155 von 255 = 61%
G 87 von 255 = 34%
B 161 von 255 = 63%
R + G + B ~ 53%. #9B57A1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 87 + 161 = 403 (100%)
R 155 von 403 ~ 38.46%
G 87 von 403 ~ 21.59%
B 161 von 403 ~ 39.95%
Die Farbe #9B57A1 wird in CMYK als (4,46,0,37) definiert.
CMYK: (4,46,0,37) C4M46Y0K37 (4%,46%,0%,37%) (0.04/0.46/0.00/0.37)
9B | 57 | A1 | |
---|---|---|---|
RGB | 155 | 87 | 161 |
HSL | 295° | 29.84% | 48.63% |
HSB/HSV | 295° | 45.96% | 63.14% |
CMYK | 3.73% | 45.96% | 0.00% |
36.86% |
Hexadezimal | 9B | 57 | A1 |
Dezimal | 155 | 87 | 161 |
Binär | 10011011 | 1010111 | 10100001 |
Oktal | 233 | 127 | 241 |
Beispiele css- und html für Elemente in der Farbe #9B57A1. Bitte benutzen Sie auch rgb(155,87,161) statt hex-Code.
.myTextColor { color: #9B57A1; }
<p style="color:#9B57A1">This sample text font color is #9B57A1.</p>
Die Farbe dieses Textes ist #9B57A1.
.myBgColor { background-color: #9B57A1; }
<div style="background-color:#9B57A1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B57A1.
.myBorderColor { border: 1px solid #9B57A1; }
<div style="border:3px solid #9B57A1">Div</div>
Die Grenzen von diesem div sind in Farbe #9B57A1.
.myOpacity80 { color: #9B57A1; opacity: 0.8; }
<p style="color:#9B57A1;opacity:0.8;">80%</p>
Text in Farbe #9B57A1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B57A1;}
<p style="text-shadow: 3px 3px 1px #9B57A1">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B57A1.
.textShadow {text-shadow: 3px 3px 1px #9B57A1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B57A1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B57A1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B57A1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B57A1, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B57A1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B57A1; -webkit-box-shadow: 1px 1px 3px 2px #9B57A1; box-shadow: 1px 1px 3px 2px #9B57A1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B57A1; -webkit-box-shadow: 1px 1px 3px 2px #9B57A1; box-shadow:1px 1px 3px 2px #9B57A1;">
Div content here</div>
Dieser Text ist in der Farbe #9B57A1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B57A1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B57A1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B57A1.