HEX: #AB6CBA
RGB: (171,108,186)
#AB6CBA enthält hauptsächlich rote und blaue Farbe. Für #AB6CBA ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #AB6CBA wird in RGB als (171,108,186) definiert.
RGB: (171,108,186) (67%,42%,73%)
R 171 von 255 = 67%
G 108 von 255 = 42%
B 186 von 255 = 73%
R + G + B ~ 61%. #AB6CBA ziemlich helle Farbe.
R + G + B =
171 + 108 + 186 = 465 (100%)
R 171 von 465 ~ 36.77%
G 108 von 465 ~ 23.23%
B 186 von 465 ~ 40%
Die Farbe #AB6CBA wird in CMYK als (8,42,0,27) definiert.
CMYK: (8,42,0,27) C8M42Y0K27 (8%,42%,0%,27%) (0.08/0.42/0.00/0.27)
AB | 6C | BA | |
---|---|---|---|
RGB | 171 | 108 | 186 |
HSL | 288° | 36.11% | 57.65% |
HSB/HSV | 288° | 41.94% | 72.94% |
CMYK | 8.06% | 41.94% | 0.00% |
27.06% |
Hexadezimal | AB | 6C | BA |
Dezimal | 171 | 108 | 186 |
Binär | 10101011 | 1101100 | 10111010 |
Oktal | 253 | 154 | 272 |
Beispiele css- und html für Elemente in der Farbe #AB6CBA. Bitte benutzen Sie auch rgb(171,108,186) statt hex-Code.
.myTextColor { color: #AB6CBA; }
<p style="color:#AB6CBA">This sample text font color is #AB6CBA.</p>
Die Farbe dieses Textes ist #AB6CBA.
.myBgColor { background-color: #AB6CBA; }
<div style="background-color:#AB6CBA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #AB6CBA.
.myBorderColor { border: 1px solid #AB6CBA; }
<div style="border:3px solid #AB6CBA">Div</div>
Die Grenzen von diesem div sind in Farbe #AB6CBA.
.myOpacity80 { color: #AB6CBA; opacity: 0.8; }
<p style="color:#AB6CBA;opacity:0.8;">80%</p>
Text in Farbe #AB6CBA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6CBA;}
<p style="text-shadow: 3px 3px 1px #AB6CBA">Text here.</p>
Dieser Text hat den Schatten in Farbe #AB6CBA.
.textShadow {text-shadow: 3px 3px 1px #AB6CBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6CBA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #AB6CBA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6CBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6CBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6CBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6CBA; -webkit-box-shadow: 1px 1px 3px 2px #AB6CBA; box-shadow: 1px 1px 3px 2px #AB6CBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6CBA; -webkit-box-shadow: 1px 1px 3px 2px #AB6CBA; box-shadow:1px 1px 3px 2px #AB6CBA;">
Div content here</div>
Dieser Text ist in der Farbe #AB6CBA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #AB6CBA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #AB6CBA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #AB6CBA.