HEX: #AA56BB
RGB: (170,86,187)
#AA56BB enthält hauptsächlich rote und blaue Farbe. Für #AA56BB ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #AA56BB wird in RGB als (170,86,187) definiert.
RGB: (170,86,187) (67%,34%,73%)
R 170 von 255 = 67%
G 86 von 255 = 34%
B 187 von 255 = 73%
R + G + B ~ 58%. #AA56BB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
170 + 86 + 187 = 443 (100%)
R 170 von 443 ~ 38.37%
G 86 von 443 ~ 19.41%
B 187 von 443 ~ 42.21%
Die Farbe #AA56BB wird in CMYK als (9,54,0,27) definiert.
CMYK: (9,54,0,27) C9M54Y0K27 (9%,54%,0%,27%) (0.09/0.54/0.00/0.27)
AA | 56 | BB | |
---|---|---|---|
RGB | 170 | 86 | 187 |
HSL | 290° | 42.62% | 53.53% |
HSB/HSV | 290° | 54.01% | 73.33% |
CMYK | 9.09% | 54.01% | 0.00% |
26.67% |
Hexadezimal | AA | 56 | BB |
Dezimal | 170 | 86 | 187 |
Binär | 10101010 | 1010110 | 10111011 |
Oktal | 252 | 126 | 273 |
Beispiele css- und html für Elemente in der Farbe #AA56BB. Bitte benutzen Sie auch rgb(170,86,187) statt hex-Code.
.myTextColor { color: #AA56BB; }
<p style="color:#AA56BB">This sample text font color is #AA56BB.</p>
Die Farbe dieses Textes ist #AA56BB.
.myBgColor { background-color: #AA56BB; }
<div style="background-color:#AA56BB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AA56BB.
.myBorderColor { border: 1px solid #AA56BB; }
<div style="border:3px solid #AA56BB">Div</div>
Die Grenzen von diesem div sind in Farbe #AA56BB.
.myOpacity80 { color: #AA56BB; opacity: 0.8; }
<p style="color:#AA56BB;opacity:0.8;">80%</p>
Text in Farbe #AA56BB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA56BB;}
<p style="text-shadow: 3px 3px 1px #AA56BB">Text here.</p>
Dieser Text hat den Schatten in Farbe #AA56BB.
.textShadow {text-shadow: 3px 3px 1px #AA56BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA56BB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AA56BB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA56BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA56BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA56BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA56BB; -webkit-box-shadow: 1px 1px 3px 2px #AA56BB; box-shadow: 1px 1px 3px 2px #AA56BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA56BB; -webkit-box-shadow: 1px 1px 3px 2px #AA56BB; box-shadow:1px 1px 3px 2px #AA56BB;">
Div content here</div>
Dieser Text ist in der Farbe #AA56BB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AA56BB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AA56BB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AA56BB.