HEX: #9F76AA
RGB: (159,118,170)
#9F76AA enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9F76AA ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9F76AA wird in RGB als (159,118,170) definiert.
RGB: (159,118,170) (62%,46%,67%)
R 159 von 255 = 62%
G 118 von 255 = 46%
B 170 von 255 = 67%
R + G + B ~ 58%. #9F76AA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
159 + 118 + 170 = 447 (100%)
R 159 von 447 ~ 35.57%
G 118 von 447 ~ 26.4%
B 170 von 447 ~ 38.03%
Die Farbe #9F76AA wird in CMYK als (6,31,0,33) definiert.
CMYK: (6,31,0,33) C6M31Y0K33 (6%,31%,0%,33%) (0.06/0.31/0.00/0.33)
9F | 76 | AA | |
---|---|---|---|
RGB | 159 | 118 | 170 |
HSL | 287° | 23.42% | 56.47% |
HSB/HSV | 287° | 30.59% | 66.67% |
CMYK | 6.47% | 30.59% | 0.00% |
33.33% |
Hexadezimal | 9F | 76 | AA |
Dezimal | 159 | 118 | 170 |
Binär | 10011111 | 1110110 | 10101010 |
Oktal | 237 | 166 | 252 |
Beispiele css- und html für Elemente in der Farbe #9F76AA. Bitte benutzen Sie auch rgb(159,118,170) statt hex-Code.
.myTextColor { color: #9F76AA; }
<p style="color:#9F76AA">This sample text font color is #9F76AA.</p>
Die Farbe dieses Textes ist #9F76AA.
.myBgColor { background-color: #9F76AA; }
<div style="background-color:#9F76AA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9F76AA.
.myBorderColor { border: 1px solid #9F76AA; }
<div style="border:3px solid #9F76AA">Div</div>
Die Grenzen von diesem div sind in Farbe #9F76AA.
.myOpacity80 { color: #9F76AA; opacity: 0.8; }
<p style="color:#9F76AA;opacity:0.8;">80%</p>
Text in Farbe #9F76AA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9F76AA;}
<p style="text-shadow: 3px 3px 1px #9F76AA">Text here.</p>
Dieser Text hat den Schatten in Farbe #9F76AA.
.textShadow {text-shadow: 3px 3px 1px #9F76AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9F76AA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9F76AA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9F76AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9F76AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #9F76AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9F76AA; -webkit-box-shadow: 1px 1px 3px 2px #9F76AA; box-shadow: 1px 1px 3px 2px #9F76AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9F76AA; -webkit-box-shadow: 1px 1px 3px 2px #9F76AA; box-shadow:1px 1px 3px 2px #9F76AA;">
Div content here</div>
Dieser Text ist in der Farbe #9F76AA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9F76AA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9F76AA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9F76AA.