HEX: #AB56AF
RGB: (171,86,175)
#AB56AF enthält hauptsächlich rote und blaue Farbe. Für #AB56AF ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #AB56AF wird in RGB als (171,86,175) definiert.
RGB: (171,86,175) (67%,34%,69%)
R 171 von 255 = 67%
G 86 von 255 = 34%
B 175 von 255 = 69%
R + G + B ~ 57%. #AB56AF mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
171 + 86 + 175 = 432 (100%)
R 171 von 432 ~ 39.58%
G 86 von 432 ~ 19.91%
B 175 von 432 ~ 40.51%
Die Farbe #AB56AF wird in CMYK als (2,51,0,31) definiert.
CMYK: (2,51,0,31) C2M51Y0K31 (2%,51%,0%,31%) (0.02/0.51/0.00/0.31)
AB | 56 | AF | |
---|---|---|---|
RGB | 171 | 86 | 175 |
HSL | 297° | 35.74% | 51.18% |
HSB/HSV | 297° | 50.86% | 68.63% |
CMYK | 2.29% | 50.86% | 0.00% |
31.37% |
Hexadezimal | AB | 56 | AF |
Dezimal | 171 | 86 | 175 |
Binär | 10101011 | 1010110 | 10101111 |
Oktal | 253 | 126 | 257 |
Beispiele css- und html für Elemente in der Farbe #AB56AF. Bitte benutzen Sie auch rgb(171,86,175) statt hex-Code.
.myTextColor { color: #AB56AF; }
<p style="color:#AB56AF">This sample text font color is #AB56AF.</p>
Die Farbe dieses Textes ist #AB56AF.
.myBgColor { background-color: #AB56AF; }
<div style="background-color:#AB56AF">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AB56AF.
.myBorderColor { border: 1px solid #AB56AF; }
<div style="border:3px solid #AB56AF">Div</div>
Die Grenzen von diesem div sind in Farbe #AB56AF.
.myOpacity80 { color: #AB56AF; opacity: 0.8; }
<p style="color:#AB56AF;opacity:0.8;">80%</p>
Text in Farbe #AB56AF und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB56AF;}
<p style="text-shadow: 3px 3px 1px #AB56AF">Text here.</p>
Dieser Text hat den Schatten in Farbe #AB56AF.
.textShadow {text-shadow: 3px 3px 1px #AB56AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB56AF, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AB56AF und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB56AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB56AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB56AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB56AF; -webkit-box-shadow: 1px 1px 3px 2px #AB56AF; box-shadow: 1px 1px 3px 2px #AB56AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB56AF; -webkit-box-shadow: 1px 1px 3px 2px #AB56AF; box-shadow:1px 1px 3px 2px #AB56AF;">
Div content here</div>
Dieser Text ist in der Farbe #AB56AF auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AB56AF auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AB56AF.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AB56AF.