HEX: #AB6ADD
RGB: (171,106,221)
#AB6ADD contains mainly red and blue colors. Web safe color of #AB6ADD is #9966CC (or #96C).
#AB6ADD color RGB value is (171,106,221).
RGB: (171,106,221) (67%,42%,87%)
R 171 of 255 = 67%
G 106 of 255 = 42%
B 221 of 255 = 87%
R + G + B ~ 65%. #AB6ADD is quite light color.
R + G + B =
171 + 106 + 221 = 498 (100%)
R 171 of 498 ~ 34.34%
G 106 of 498 ~ 21.29%
B 221 of 498 ~ 44.38%
#AB6ADD color CMYK value is (23,52,0,13).
CMYK: (23,52,0,13) C23M52Y0K13 (23%,52%,0%,13%) (0.23/0.52/0.00/0.13)
AB | 6A | DD | |
---|---|---|---|
RGB | 171 | 106 | 221 |
HSL | 274° | 62.84% | 64.12% |
HSB/HSV | 274° | 52.04% | 86.67% |
CMYK | 22.62% | 52.04% | 0.00% |
13.33% |
HEX | AB | 6A | DD |
Decimal | 171 | 106 | 221 |
Binary | 10101011 | 1101010 | 11011101 |
Octal | 253 | 152 | 335 |
Examples of css and html codes for elements with #AB6ADD color. Also use rgb(171,106,221) instead hex code.
.myTextColor { color: #AB6ADD; }
<p style="color:#AB6ADD">This sample text font color is #AB6ADD.</p>
This text font color is #AB6ADD.
.myBgColor { background-color: #AB6ADD; }
<div style="background-color:#AB6ADD">Inner text</div>
This div background color is #AB6ADD.
.myBorderColor { border: 1px solid #AB6ADD; }
<div style="border:3px solid #AB6ADD">Div</div>
This div border color is #AB6ADD.
.myOpacity80 { color: #AB6ADD; opacity: 0.8; }
<p style="color:#AB6ADD;opacity:0.8;">80%</p>
Text with #AB6ADD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6ADD;}
<p style="text-shadow: 3px 3px 1px #AB6ADD">Text here.</p>
This text has shadow with #AB6ADD color.
.textShadow {text-shadow: 3px 3px 1px #AB6ADD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6ADD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6ADD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6ADD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6ADD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6ADD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6ADD; -webkit-box-shadow: 1px 1px 3px 2px #AB6ADD; box-shadow: 1px 1px 3px 2px #AB6ADD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6ADD; -webkit-box-shadow: 1px 1px 3px 2px #AB6ADD; box-shadow:1px 1px 3px 2px #AB6ADD;">
Div content here</div>
This text has color #AB6ADD on black background.
This text has color #AB6ADD on white background.
This text has black color on #AB6ADD background.
This text has white color on #AB6ADD background.