HEX: #9B7FAC
RGB: (155,127,172)
#9B7FAC enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9B7FAC ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9B7FAC wird in RGB als (155,127,172) definiert.
RGB: (155,127,172) (61%,50%,67%)
R 155 von 255 = 61%
G 127 von 255 = 50%
B 172 von 255 = 67%
R + G + B ~ 59%. #9B7FAC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 127 + 172 = 454 (100%)
R 155 von 454 ~ 34.14%
G 127 von 454 ~ 27.97%
B 172 von 454 ~ 37.89%
Die Farbe #9B7FAC wird in CMYK als (10,26,0,33) definiert.
CMYK: (10,26,0,33) C10M26Y0K33 (10%,26%,0%,33%) (0.10/0.26/0.00/0.33)
9B | 7F | AC | |
---|---|---|---|
RGB | 155 | 127 | 172 |
HSL | 277° | 21.33% | 58.63% |
HSB/HSV | 277° | 26.16% | 67.45% |
CMYK | 9.88% | 26.16% | 0.00% |
32.55% |
Hexadezimal | 9B | 7F | AC |
Dezimal | 155 | 127 | 172 |
Binär | 10011011 | 1111111 | 10101100 |
Oktal | 233 | 177 | 254 |
Beispiele css- und html für Elemente in der Farbe #9B7FAC. Bitte benutzen Sie auch rgb(155,127,172) statt hex-Code.
.myTextColor { color: #9B7FAC; }
<p style="color:#9B7FAC">This sample text font color is #9B7FAC.</p>
Die Farbe dieses Textes ist #9B7FAC.
.myBgColor { background-color: #9B7FAC; }
<div style="background-color:#9B7FAC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B7FAC.
.myBorderColor { border: 1px solid #9B7FAC; }
<div style="border:3px solid #9B7FAC">Div</div>
Die Grenzen von diesem div sind in Farbe #9B7FAC.
.myOpacity80 { color: #9B7FAC; opacity: 0.8; }
<p style="color:#9B7FAC;opacity:0.8;">80%</p>
Text in Farbe #9B7FAC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B7FAC;}
<p style="text-shadow: 3px 3px 1px #9B7FAC">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B7FAC.
.textShadow {text-shadow: 3px 3px 1px #9B7FAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B7FAC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B7FAC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B7FAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B7FAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B7FAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B7FAC; -webkit-box-shadow: 1px 1px 3px 2px #9B7FAC; box-shadow: 1px 1px 3px 2px #9B7FAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B7FAC; -webkit-box-shadow: 1px 1px 3px 2px #9B7FAC; box-shadow:1px 1px 3px 2px #9B7FAC;">
Div content here</div>
Dieser Text ist in der Farbe #9B7FAC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B7FAC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B7FAC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B7FAC.