HEX: #AB18A6
RGB: (171,24,166)
#AB18A6 enthält hauptsächlich rote und blaue Farbe. Für #AB18A6 ist eine «websichere» Webfarbe #990099 (oder kurz #909).
Die Farbe #AB18A6 wird in RGB als (171,24,166) definiert.
RGB: (171,24,166) (67%,9%,65%)
R 171 von 255 = 67%
G 24 von 255 = 9%
B 166 von 255 = 65%
R + G + B ~ 47%. #AB18A6 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
171 + 24 + 166 = 361 (100%)
R 171 von 361 ~ 47.37%
G 24 von 361 ~ 6.65%
B 166 von 361 ~ 45.98%
Die Farbe #AB18A6 wird in CMYK als (0,86,3,33) definiert.
CMYK: (0,86,3,33) C0M86Y3K33 (0%,86%,3%,33%) (0.00/0.86/0.03/0.33)
AB | 18 | A6 | |
---|---|---|---|
RGB | 171 | 24 | 166 |
HSL | 302° | 75.38% | 38.24% |
HSB/HSV | 302° | 85.96% | 67.06% |
CMYK | 0.00% | 85.96% | 2.92% |
32.94% |
Hexadezimal | AB | 18 | A6 |
Dezimal | 171 | 24 | 166 |
Binär | 10101011 | 11000 | 10100110 |
Oktal | 253 | 30 | 246 |
Beispiele css- und html für Elemente in der Farbe #AB18A6. Bitte benutzen Sie auch rgb(171,24,166) statt hex-Code.
.myTextColor { color: #AB18A6; }
<p style="color:#AB18A6">This sample text font color is #AB18A6.</p>
Die Farbe dieses Textes ist #AB18A6.
.myBgColor { background-color: #AB18A6; }
<div style="background-color:#AB18A6">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AB18A6.
.myBorderColor { border: 1px solid #AB18A6; }
<div style="border:3px solid #AB18A6">Div</div>
Die Grenzen von diesem div sind in Farbe #AB18A6.
.myOpacity80 { color: #AB18A6; opacity: 0.8; }
<p style="color:#AB18A6;opacity:0.8;">80%</p>
Text in Farbe #AB18A6 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB18A6;}
<p style="text-shadow: 3px 3px 1px #AB18A6">Text here.</p>
Dieser Text hat den Schatten in Farbe #AB18A6.
.textShadow {text-shadow: 3px 3px 1px #AB18A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB18A6, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AB18A6 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB18A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB18A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB18A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB18A6; -webkit-box-shadow: 1px 1px 3px 2px #AB18A6; box-shadow: 1px 1px 3px 2px #AB18A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB18A6; -webkit-box-shadow: 1px 1px 3px 2px #AB18A6; box-shadow:1px 1px 3px 2px #AB18A6;">
Div content here</div>
Dieser Text ist in der Farbe #AB18A6 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AB18A6 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AB18A6.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AB18A6.