HEX: #AB8AC9
RGB: (171,138,201)
#AB8AC9 contains mainly red and blue colors. Web safe color of #AB8AC9 is #9999CC (or #99C).
#AB8AC9 color RGB value is (171,138,201).
RGB: (171,138,201) (67%,54%,79%)
R 171 of 255 = 67%
G 138 of 255 = 54%
B 201 of 255 = 79%
R + G + B ~ 67%. #AB8AC9 is quite light color.
R + G + B =
171 + 138 + 201 = 510 (100%)
R 171 of 510 ~ 33.53%
G 138 of 510 ~ 27.06%
B 201 of 510 ~ 39.41%
#AB8AC9 color CMYK value is (15,31,0,21).
CMYK: (15,31,0,21) C15M31Y0K21 (15%,31%,0%,21%) (0.15/0.31/0.00/0.21)
AB | 8A | C9 | |
---|---|---|---|
RGB | 171 | 138 | 201 |
HSL | 271° | 36.84% | 66.47% |
HSB/HSV | 271° | 31.34% | 78.82% |
CMYK | 14.93% | 31.34% | 0.00% |
21.18% |
HEX | AB | 8A | C9 |
Decimal | 171 | 138 | 201 |
Binary | 10101011 | 10001010 | 11001001 |
Octal | 253 | 212 | 311 |
Examples of css and html codes for elements with #AB8AC9 color. Also use rgb(171,138,201) instead hex code.
.myTextColor { color: #AB8AC9; }
<p style="color:#AB8AC9">This sample text font color is #AB8AC9.</p>
This text font color is #AB8AC9.
.myBgColor { background-color: #AB8AC9; }
<div style="background-color:#AB8AC9">Inner text</div>
This div background color is #AB8AC9.
.myBorderColor { border: 1px solid #AB8AC9; }
<div style="border:3px solid #AB8AC9">Div</div>
This div border color is #AB8AC9.
.myOpacity80 { color: #AB8AC9; opacity: 0.8; }
<p style="color:#AB8AC9;opacity:0.8;">80%</p>
Text with #AB8AC9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8AC9;}
<p style="text-shadow: 3px 3px 1px #AB8AC9">Text here.</p>
This text has shadow with #AB8AC9 color.
.textShadow {text-shadow: 3px 3px 1px #AB8AC9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8AC9, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8AC9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8AC9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8AC9, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8AC9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8AC9; -webkit-box-shadow: 1px 1px 3px 2px #AB8AC9; box-shadow: 1px 1px 3px 2px #AB8AC9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8AC9; -webkit-box-shadow: 1px 1px 3px 2px #AB8AC9; box-shadow:1px 1px 3px 2px #AB8AC9;">
Div content here</div>
This text has color #AB8AC9 on black background.
This text has color #AB8AC9 on white background.
This text has black color on #AB8AC9 background.
This text has white color on #AB8AC9 background.