HEX: #AB95D1
RGB: (171,149,209)
#AB95D1 contains mainly red and blue colors. Web safe color of #AB95D1 is #9999CC (or #99C).
#AB95D1 color RGB value is (171,149,209).
RGB: (171,149,209) (67%,58%,82%)
R 171 of 255 = 67%
G 149 of 255 = 58%
B 209 of 255 = 82%
R + G + B ~ 69%. #AB95D1 is quite light color.
R + G + B =
171 + 149 + 209 = 529 (100%)
R 171 of 529 ~ 32.33%
G 149 of 529 ~ 28.17%
B 209 of 529 ~ 39.51%
#AB95D1 color CMYK value is (18,29,0,18).
CMYK: (18,29,0,18) C18M29Y0K18 (18%,29%,0%,18%) (0.18/0.29/0.00/0.18)
AB | 95 | D1 | |
---|---|---|---|
RGB | 171 | 149 | 209 |
HSL | 262° | 39.47% | 70.20% |
HSB/HSV | 262° | 28.71% | 81.96% |
CMYK | 18.18% | 28.71% | 0.00% |
18.04% |
HEX | AB | 95 | D1 |
Decimal | 171 | 149 | 209 |
Binary | 10101011 | 10010101 | 11010001 |
Octal | 253 | 225 | 321 |
Examples of css and html codes for elements with #AB95D1 color. Also use rgb(171,149,209) instead hex code.
.myTextColor { color: #AB95D1; }
<p style="color:#AB95D1">This sample text font color is #AB95D1.</p>
This text font color is #AB95D1.
.myBgColor { background-color: #AB95D1; }
<div style="background-color:#AB95D1">Inner text</div>
This div background color is #AB95D1.
.myBorderColor { border: 1px solid #AB95D1; }
<div style="border:3px solid #AB95D1">Div</div>
This div border color is #AB95D1.
.myOpacity80 { color: #AB95D1; opacity: 0.8; }
<p style="color:#AB95D1;opacity:0.8;">80%</p>
Text with #AB95D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB95D1;}
<p style="text-shadow: 3px 3px 1px #AB95D1">Text here.</p>
This text has shadow with #AB95D1 color.
.textShadow {text-shadow: 3px 3px 1px #AB95D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB95D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB95D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB95D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB95D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB95D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB95D1; -webkit-box-shadow: 1px 1px 3px 2px #AB95D1; box-shadow: 1px 1px 3px 2px #AB95D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB95D1; -webkit-box-shadow: 1px 1px 3px 2px #AB95D1; box-shadow:1px 1px 3px 2px #AB95D1;">
Div content here</div>
This text has color #AB95D1 on black background.
This text has color #AB95D1 on white background.
This text has black color on #AB95D1 background.
This text has white color on #AB95D1 background.