HEX: #9A76AB
RGB: (154,118,171)
#9A76AB enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9A76AB ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9A76AB wird in RGB als (154,118,171) definiert.
RGB: (154,118,171) (60%,46%,67%)
R 154 von 255 = 60%
G 118 von 255 = 46%
B 171 von 255 = 67%
R + G + B ~ 58%. #9A76AB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
154 + 118 + 171 = 443 (100%)
R 154 von 443 ~ 34.76%
G 118 von 443 ~ 26.64%
B 171 von 443 ~ 38.6%
Die Farbe #9A76AB wird in CMYK als (10,31,0,33) definiert.
CMYK: (10,31,0,33) C10M31Y0K33 (10%,31%,0%,33%) (0.10/0.31/0.00/0.33)
9A | 76 | AB | |
---|---|---|---|
RGB | 154 | 118 | 171 |
HSL | 281° | 23.98% | 56.67% |
HSB/HSV | 281° | 30.99% | 67.06% |
CMYK | 9.94% | 30.99% | 0.00% |
32.94% |
Hexadezimal | 9A | 76 | AB |
Dezimal | 154 | 118 | 171 |
Binär | 10011010 | 1110110 | 10101011 |
Oktal | 232 | 166 | 253 |
Beispiele css- und html für Elemente in der Farbe #9A76AB. Bitte benutzen Sie auch rgb(154,118,171) statt hex-Code.
.myTextColor { color: #9A76AB; }
<p style="color:#9A76AB">This sample text font color is #9A76AB.</p>
Die Farbe dieses Textes ist #9A76AB.
.myBgColor { background-color: #9A76AB; }
<div style="background-color:#9A76AB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9A76AB.
.myBorderColor { border: 1px solid #9A76AB; }
<div style="border:3px solid #9A76AB">Div</div>
Die Grenzen von diesem div sind in Farbe #9A76AB.
.myOpacity80 { color: #9A76AB; opacity: 0.8; }
<p style="color:#9A76AB;opacity:0.8;">80%</p>
Text in Farbe #9A76AB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9A76AB;}
<p style="text-shadow: 3px 3px 1px #9A76AB">Text here.</p>
Dieser Text hat den Schatten in Farbe #9A76AB.
.textShadow {text-shadow: 3px 3px 1px #9A76AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9A76AB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9A76AB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9A76AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9A76AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #9A76AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9A76AB; -webkit-box-shadow: 1px 1px 3px 2px #9A76AB; box-shadow: 1px 1px 3px 2px #9A76AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9A76AB; -webkit-box-shadow: 1px 1px 3px 2px #9A76AB; box-shadow:1px 1px 3px 2px #9A76AB;">
Div content here</div>
Dieser Text ist in der Farbe #9A76AB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9A76AB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9A76AB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9A76AB.