HEX: #AB6BBA
RGB: (171,107,186)
#AB6BBA contains mainly red and blue colors. Web safe color of #AB6BBA is #9966CC (or #96C).
#AB6BBA color RGB value is (171,107,186).
RGB: (171,107,186) (67%,42%,73%)
R 171 of 255 = 67%
G 107 of 255 = 42%
B 186 of 255 = 73%
R + G + B ~ 61%. #AB6BBA is quite light color.
R + G + B =
171 + 107 + 186 = 464 (100%)
R 171 of 464 ~ 36.85%
G 107 of 464 ~ 23.06%
B 186 of 464 ~ 40.09%
#AB6BBA color CMYK value is (8,42,0,27).
CMYK: (8,42,0,27) C8M42Y0K27 (8%,42%,0%,27%) (0.08/0.42/0.00/0.27)
AB | 6B | BA | |
---|---|---|---|
RGB | 171 | 107 | 186 |
HSL | 289° | 36.41% | 57.45% |
HSB/HSV | 289° | 42.47% | 72.94% |
CMYK | 8.06% | 42.47% | 0.00% |
27.06% |
HEX | AB | 6B | BA |
Decimal | 171 | 107 | 186 |
Binary | 10101011 | 1101011 | 10111010 |
Octal | 253 | 153 | 272 |
Examples of css and html codes for elements with #AB6BBA color. Also use rgb(171,107,186) instead hex code.
.myTextColor { color: #AB6BBA; }
<p style="color:#AB6BBA">This sample text font color is #AB6BBA.</p>
This text font color is #AB6BBA.
.myBgColor { background-color: #AB6BBA; }
<div style="background-color:#AB6BBA">Inner text</div>
This div background color is #AB6BBA.
.myBorderColor { border: 1px solid #AB6BBA; }
<div style="border:3px solid #AB6BBA">Div</div>
This div border color is #AB6BBA.
.myOpacity80 { color: #AB6BBA; opacity: 0.8; }
<p style="color:#AB6BBA;opacity:0.8;">80%</p>
Text with #AB6BBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6BBA;}
<p style="text-shadow: 3px 3px 1px #AB6BBA">Text here.</p>
This text has shadow with #AB6BBA color.
.textShadow {text-shadow: 3px 3px 1px #AB6BBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6BBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6BBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6BBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6BBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6BBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6BBA; -webkit-box-shadow: 1px 1px 3px 2px #AB6BBA; box-shadow: 1px 1px 3px 2px #AB6BBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6BBA; -webkit-box-shadow: 1px 1px 3px 2px #AB6BBA; box-shadow:1px 1px 3px 2px #AB6BBA;">
Div content here</div>
This text has color #AB6BBA on black background.
This text has color #AB6BBA on white background.
This text has black color on #AB6BBA background.
This text has white color on #AB6BBA background.