HEX: #AB6BAE
RGB: (171,107,174)
#AB6BAE contains mainly red and blue colors. Web safe color of #AB6BAE is #996699 (or #969).
#AB6BAE color RGB value is (171,107,174).
RGB: (171,107,174) (67%,42%,68%)
R 171 of 255 = 67%
G 107 of 255 = 42%
B 174 of 255 = 68%
R + G + B ~ 59%. #AB6BAE is middle color (not dark and not light).
R + G + B =
171 + 107 + 174 = 452 (100%)
R 171 of 452 ~ 37.83%
G 107 of 452 ~ 23.67%
B 174 of 452 ~ 38.5%
#AB6BAE color CMYK value is (2,39,0,32).
CMYK: (2,39,0,32) C2M39Y0K32 (2%,39%,0%,32%) (0.02/0.39/0.00/0.32)
AB | 6B | AE | |
---|---|---|---|
RGB | 171 | 107 | 174 |
HSL | 297° | 29.26% | 55.10% |
HSB/HSV | 297° | 38.51% | 68.24% |
CMYK | 1.72% | 38.51% | 0.00% |
31.76% |
HEX | AB | 6B | AE |
Decimal | 171 | 107 | 174 |
Binary | 10101011 | 1101011 | 10101110 |
Octal | 253 | 153 | 256 |
Examples of css and html codes for elements with #AB6BAE color. Also use rgb(171,107,174) instead hex code.
.myTextColor { color: #AB6BAE; }
<p style="color:#AB6BAE">This sample text font color is #AB6BAE.</p>
This text font color is #AB6BAE.
.myBgColor { background-color: #AB6BAE; }
<div style="background-color:#AB6BAE">Inner text</div>
This div background color is #AB6BAE.
.myBorderColor { border: 1px solid #AB6BAE; }
<div style="border:3px solid #AB6BAE">Div</div>
This div border color is #AB6BAE.
.myOpacity80 { color: #AB6BAE; opacity: 0.8; }
<p style="color:#AB6BAE;opacity:0.8;">80%</p>
Text with #AB6BAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6BAE;}
<p style="text-shadow: 3px 3px 1px #AB6BAE">Text here.</p>
This text has shadow with #AB6BAE color.
.textShadow {text-shadow: 3px 3px 1px #AB6BAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6BAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6BAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6BAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6BAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6BAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6BAE; -webkit-box-shadow: 1px 1px 3px 2px #AB6BAE; box-shadow: 1px 1px 3px 2px #AB6BAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6BAE; -webkit-box-shadow: 1px 1px 3px 2px #AB6BAE; box-shadow:1px 1px 3px 2px #AB6BAE;">
Div content here</div>
This text has color #AB6BAE on black background.
This text has color #AB6BAE on white background.
This text has black color on #AB6BAE background.
This text has white color on #AB6BAE background.