HEX: #AB54CC
RGB: (171,84,204)
#AB54CC enthält hauptsächlich rote und blaue Farbe. Für #AB54CC ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #AB54CC wird in RGB als (171,84,204) definiert.
RGB: (171,84,204) (67%,33%,80%)
R 171 von 255 = 67%
G 84 von 255 = 33%
B 204 von 255 = 80%
R + G + B ~ 60%. #AB54CC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
171 + 84 + 204 = 459 (100%)
R 171 von 459 ~ 37.25%
G 84 von 459 ~ 18.3%
B 204 von 459 ~ 44.44%
Die Farbe #AB54CC wird in CMYK als (16,59,0,20) definiert.
CMYK: (16,59,0,20) C16M59Y0K20 (16%,59%,0%,20%) (0.16/0.59/0.00/0.20)
AB | 54 | CC | |
---|---|---|---|
RGB | 171 | 84 | 204 |
HSL | 284° | 54.05% | 56.47% |
HSB/HSV | 284° | 58.82% | 80.00% |
CMYK | 16.18% | 58.82% | 0.00% |
20.00% |
Hexadezimal | AB | 54 | CC |
Dezimal | 171 | 84 | 204 |
Binär | 10101011 | 1010100 | 11001100 |
Oktal | 253 | 124 | 314 |
Beispiele css- und html für Elemente in der Farbe #AB54CC. Bitte benutzen Sie auch rgb(171,84,204) statt hex-Code.
.myTextColor { color: #AB54CC; }
<p style="color:#AB54CC">This sample text font color is #AB54CC.</p>
Die Farbe dieses Textes ist #AB54CC.
.myBgColor { background-color: #AB54CC; }
<div style="background-color:#AB54CC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AB54CC.
.myBorderColor { border: 1px solid #AB54CC; }
<div style="border:3px solid #AB54CC">Div</div>
Die Grenzen von diesem div sind in Farbe #AB54CC.
.myOpacity80 { color: #AB54CC; opacity: 0.8; }
<p style="color:#AB54CC;opacity:0.8;">80%</p>
Text in Farbe #AB54CC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB54CC;}
<p style="text-shadow: 3px 3px 1px #AB54CC">Text here.</p>
Dieser Text hat den Schatten in Farbe #AB54CC.
.textShadow {text-shadow: 3px 3px 1px #AB54CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB54CC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AB54CC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB54CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB54CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB54CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB54CC; -webkit-box-shadow: 1px 1px 3px 2px #AB54CC; box-shadow: 1px 1px 3px 2px #AB54CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB54CC; -webkit-box-shadow: 1px 1px 3px 2px #AB54CC; box-shadow:1px 1px 3px 2px #AB54CC;">
Div content here</div>
Dieser Text ist in der Farbe #AB54CC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AB54CC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AB54CC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AB54CC.