HEX: #AB97C9
RGB: (171,151,201)
#AB97C9 contains red, green and blue colors in about the same proportion. Web safe color of #AB97C9 is #9999CC (or #99C).
#AB97C9 color RGB value is (171,151,201).
RGB: (171,151,201) (67%,59%,79%)
R 171 of 255 = 67%
G 151 of 255 = 59%
B 201 of 255 = 79%
R + G + B ~ 68%. #AB97C9 is quite light color.
R + G + B =
171 + 151 + 201 = 523 (100%)
R 171 of 523 ~ 32.7%
G 151 of 523 ~ 28.87%
B 201 of 523 ~ 38.43%
#AB97C9 color CMYK value is (15,25,0,21).
CMYK: (15,25,0,21) C15M25Y0K21 (15%,25%,0%,21%) (0.15/0.25/0.00/0.21)
AB | 97 | C9 | |
---|---|---|---|
RGB | 171 | 151 | 201 |
HSL | 264° | 31.65% | 69.02% |
HSB/HSV | 264° | 24.88% | 78.82% |
CMYK | 14.93% | 24.88% | 0.00% |
21.18% |
HEX | AB | 97 | C9 |
Decimal | 171 | 151 | 201 |
Binary | 10101011 | 10010111 | 11001001 |
Octal | 253 | 227 | 311 |
Examples of css and html codes for elements with #AB97C9 color. Also use rgb(171,151,201) instead hex code.
.myTextColor { color: #AB97C9; }
<p style="color:#AB97C9">This sample text font color is #AB97C9.</p>
This text font color is #AB97C9.
.myBgColor { background-color: #AB97C9; }
<div style="background-color:#AB97C9">Inner text</div>
This div background color is #AB97C9.
.myBorderColor { border: 1px solid #AB97C9; }
<div style="border:3px solid #AB97C9">Div</div>
This div border color is #AB97C9.
.myOpacity80 { color: #AB97C9; opacity: 0.8; }
<p style="color:#AB97C9;opacity:0.8;">80%</p>
Text with #AB97C9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB97C9;}
<p style="text-shadow: 3px 3px 1px #AB97C9">Text here.</p>
This text has shadow with #AB97C9 color.
.textShadow {text-shadow: 3px 3px 1px #AB97C9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB97C9, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB97C9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB97C9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB97C9, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB97C9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB97C9; -webkit-box-shadow: 1px 1px 3px 2px #AB97C9; box-shadow: 1px 1px 3px 2px #AB97C9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB97C9; -webkit-box-shadow: 1px 1px 3px 2px #AB97C9; box-shadow:1px 1px 3px 2px #AB97C9;">
Div content here</div>
This text has color #AB97C9 on black background.
This text has color #AB97C9 on white background.
This text has black color on #AB97C9 background.
This text has white color on #AB97C9 background.