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