HEX: #AB96BD
RGB: (171,150,189)
#AB96BD contains red, green and blue colors in about the same proportion. Web safe color of #AB96BD is #9999CC (or #99C).
#AB96BD color RGB value is (171,150,189).
RGB: (171,150,189) (67%,59%,74%)
R 171 of 255 = 67%
G 150 of 255 = 59%
B 189 of 255 = 74%
R + G + B ~ 67%. #AB96BD is quite light color.
R + G + B =
171 + 150 + 189 = 510 (100%)
R 171 of 510 ~ 33.53%
G 150 of 510 ~ 29.41%
B 189 of 510 ~ 37.06%
#AB96BD color CMYK value is (10,21,0,26).
CMYK: (10,21,0,26) C10M21Y0K26 (10%,21%,0%,26%) (0.10/0.21/0.00/0.26)
AB | 96 | BD | |
---|---|---|---|
RGB | 171 | 150 | 189 |
HSL | 272° | 22.81% | 66.47% |
HSB/HSV | 272° | 20.63% | 74.12% |
CMYK | 9.52% | 20.63% | 0.00% |
25.88% |
HEX | AB | 96 | BD |
Decimal | 171 | 150 | 189 |
Binary | 10101011 | 10010110 | 10111101 |
Octal | 253 | 226 | 275 |
Examples of css and html codes for elements with #AB96BD color. Also use rgb(171,150,189) instead hex code.
.myTextColor { color: #AB96BD; }
<p style="color:#AB96BD">This sample text font color is #AB96BD.</p>
This text font color is #AB96BD.
.myBgColor { background-color: #AB96BD; }
<div style="background-color:#AB96BD">Inner text</div>
This div background color is #AB96BD.
.myBorderColor { border: 1px solid #AB96BD; }
<div style="border:3px solid #AB96BD">Div</div>
This div border color is #AB96BD.
.myOpacity80 { color: #AB96BD; opacity: 0.8; }
<p style="color:#AB96BD;opacity:0.8;">80%</p>
Text with #AB96BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB96BD;}
<p style="text-shadow: 3px 3px 1px #AB96BD">Text here.</p>
This text has shadow with #AB96BD color.
.textShadow {text-shadow: 3px 3px 1px #AB96BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB96BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB96BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB96BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB96BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB96BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB96BD; -webkit-box-shadow: 1px 1px 3px 2px #AB96BD; box-shadow: 1px 1px 3px 2px #AB96BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB96BD; -webkit-box-shadow: 1px 1px 3px 2px #AB96BD; box-shadow:1px 1px 3px 2px #AB96BD;">
Div content here</div>
This text has color #AB96BD on black background.
This text has color #AB96BD on white background.
This text has black color on #AB96BD background.
This text has white color on #AB96BD background.