HEX: #AB489E
RGB: (171,72,158)
#AB489E enthält hauptsächlich rote und blaue Farbe. Für #AB489E ist eine «websichere» Webfarbe #993399 (oder kurz #939).
Die Farbe #AB489E wird in RGB als (171,72,158) definiert.
RGB: (171,72,158) (67%,28%,62%)
R 171 von 255 = 67%
G 72 von 255 = 28%
B 158 von 255 = 62%
R + G + B ~ 52%. #AB489E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
171 + 72 + 158 = 401 (100%)
R 171 von 401 ~ 42.64%
G 72 von 401 ~ 17.96%
B 158 von 401 ~ 39.4%
Die Farbe #AB489E wird in CMYK als (0,58,8,33) definiert.
CMYK: (0,58,8,33) C0M58Y8K33 (0%,58%,8%,33%) (0.00/0.58/0.08/0.33)
AB | 48 | 9E | |
---|---|---|---|
RGB | 171 | 72 | 158 |
HSL | 308° | 40.74% | 47.65% |
HSB/HSV | 308° | 57.89% | 67.06% |
CMYK | 0.00% | 57.89% | 7.60% |
32.94% |
Hexadezimal | AB | 48 | 9E |
Dezimal | 171 | 72 | 158 |
Binär | 10101011 | 1001000 | 10011110 |
Oktal | 253 | 110 | 236 |
Beispiele css- und html für Elemente in der Farbe #AB489E. Bitte benutzen Sie auch rgb(171,72,158) statt hex-Code.
.myTextColor { color: #AB489E; }
<p style="color:#AB489E">This sample text font color is #AB489E.</p>
Die Farbe dieses Textes ist #AB489E.
.myBgColor { background-color: #AB489E; }
<div style="background-color:#AB489E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AB489E.
.myBorderColor { border: 1px solid #AB489E; }
<div style="border:3px solid #AB489E">Div</div>
Die Grenzen von diesem div sind in Farbe #AB489E.
.myOpacity80 { color: #AB489E; opacity: 0.8; }
<p style="color:#AB489E;opacity:0.8;">80%</p>
Text in Farbe #AB489E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB489E;}
<p style="text-shadow: 3px 3px 1px #AB489E">Text here.</p>
Dieser Text hat den Schatten in Farbe #AB489E.
.textShadow {text-shadow: 3px 3px 1px #AB489E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB489E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AB489E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB489E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB489E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB489E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB489E; -webkit-box-shadow: 1px 1px 3px 2px #AB489E; box-shadow: 1px 1px 3px 2px #AB489E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB489E; -webkit-box-shadow: 1px 1px 3px 2px #AB489E; box-shadow:1px 1px 3px 2px #AB489E;">
Div content here</div>
Dieser Text ist in der Farbe #AB489E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AB489E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AB489E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AB489E.