HEX: #AA52DC
RGB: (170,82,220)
#AA52DC enthält hauptsächlich rote und blaue Farbe. Für #AA52DC ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #AA52DC wird in RGB als (170,82,220) definiert.
RGB: (170,82,220) (67%,32%,86%)
R 170 von 255 = 67%
G 82 von 255 = 32%
B 220 von 255 = 86%
R + G + B ~ 62%. #AA52DC ziemlich helle Farbe.
R + G + B =
170 + 82 + 220 = 472 (100%)
R 170 von 472 ~ 36.02%
G 82 von 472 ~ 17.37%
B 220 von 472 ~ 46.61%
Die Farbe #AA52DC wird in CMYK als (23,63,0,14) definiert.
CMYK: (23,63,0,14) C23M63Y0K14 (23%,63%,0%,14%) (0.23/0.63/0.00/0.14)
AA | 52 | DC | |
---|---|---|---|
RGB | 170 | 82 | 220 |
HSL | 278° | 66.35% | 59.22% |
HSB/HSV | 278° | 62.73% | 86.27% |
CMYK | 22.73% | 62.73% | 0.00% |
13.73% |
Hexadezimal | AA | 52 | DC |
Dezimal | 170 | 82 | 220 |
Binär | 10101010 | 1010010 | 11011100 |
Oktal | 252 | 122 | 334 |
Beispiele css- und html für Elemente in der Farbe #AA52DC. Bitte benutzen Sie auch rgb(170,82,220) statt hex-Code.
.myTextColor { color: #AA52DC; }
<p style="color:#AA52DC">This sample text font color is #AA52DC.</p>
Die Farbe dieses Textes ist #AA52DC.
.myBgColor { background-color: #AA52DC; }
<div style="background-color:#AA52DC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AA52DC.
.myBorderColor { border: 1px solid #AA52DC; }
<div style="border:3px solid #AA52DC">Div</div>
Die Grenzen von diesem div sind in Farbe #AA52DC.
.myOpacity80 { color: #AA52DC; opacity: 0.8; }
<p style="color:#AA52DC;opacity:0.8;">80%</p>
Text in Farbe #AA52DC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA52DC;}
<p style="text-shadow: 3px 3px 1px #AA52DC">Text here.</p>
Dieser Text hat den Schatten in Farbe #AA52DC.
.textShadow {text-shadow: 3px 3px 1px #AA52DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA52DC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AA52DC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA52DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA52DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA52DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA52DC; -webkit-box-shadow: 1px 1px 3px 2px #AA52DC; box-shadow: 1px 1px 3px 2px #AA52DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA52DC; -webkit-box-shadow: 1px 1px 3px 2px #AA52DC; box-shadow:1px 1px 3px 2px #AA52DC;">
Div content here</div>
Dieser Text ist in der Farbe #AA52DC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AA52DC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AA52DC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AA52DC.