HEX: #AB73BD
RGB: (171,115,189)
#AB73BD contains mainly red and blue colors. Web safe color of #AB73BD is #9966CC (or #96C).
#AB73BD color RGB value is (171,115,189).
RGB: (171,115,189) (67%,45%,74%)
R 171 of 255 = 67%
G 115 of 255 = 45%
B 189 of 255 = 74%
R + G + B ~ 62%. #AB73BD is quite light color.
R + G + B =
171 + 115 + 189 = 475 (100%)
R 171 of 475 ~ 36%
G 115 of 475 ~ 24.21%
B 189 of 475 ~ 39.79%
#AB73BD color CMYK value is (10,39,0,26).
CMYK: (10,39,0,26) C10M39Y0K26 (10%,39%,0%,26%) (0.10/0.39/0.00/0.26)
AB | 73 | BD | |
---|---|---|---|
RGB | 171 | 115 | 189 |
HSL | 285° | 35.92% | 59.61% |
HSB/HSV | 285° | 39.15% | 74.12% |
CMYK | 9.52% | 39.15% | 0.00% |
25.88% |
HEX | AB | 73 | BD |
Decimal | 171 | 115 | 189 |
Binary | 10101011 | 1110011 | 10111101 |
Octal | 253 | 163 | 275 |
Examples of css and html codes for elements with #AB73BD color. Also use rgb(171,115,189) instead hex code.
.myTextColor { color: #AB73BD; }
<p style="color:#AB73BD">This sample text font color is #AB73BD.</p>
This text font color is #AB73BD.
.myBgColor { background-color: #AB73BD; }
<div style="background-color:#AB73BD">Inner text</div>
This div background color is #AB73BD.
.myBorderColor { border: 1px solid #AB73BD; }
<div style="border:3px solid #AB73BD">Div</div>
This div border color is #AB73BD.
.myOpacity80 { color: #AB73BD; opacity: 0.8; }
<p style="color:#AB73BD;opacity:0.8;">80%</p>
Text with #AB73BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB73BD;}
<p style="text-shadow: 3px 3px 1px #AB73BD">Text here.</p>
This text has shadow with #AB73BD color.
.textShadow {text-shadow: 3px 3px 1px #AB73BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB73BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB73BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB73BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB73BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB73BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB73BD; -webkit-box-shadow: 1px 1px 3px 2px #AB73BD; box-shadow: 1px 1px 3px 2px #AB73BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB73BD; -webkit-box-shadow: 1px 1px 3px 2px #AB73BD; box-shadow:1px 1px 3px 2px #AB73BD;">
Div content here</div>
This text has color #AB73BD on black background.
This text has color #AB73BD on white background.
This text has black color on #AB73BD background.
This text has white color on #AB73BD background.