HEX: #AB95CB
RGB: (171,149,203)
#AB95CB contains red, green and blue colors in about the same proportion. Web safe color of #AB95CB is #9999CC (or #99C).
#AB95CB color RGB value is (171,149,203).
RGB: (171,149,203) (67%,58%,80%)
R 171 of 255 = 67%
G 149 of 255 = 58%
B 203 of 255 = 80%
R + G + B ~ 68%. #AB95CB is quite light color.
R + G + B =
171 + 149 + 203 = 523 (100%)
R 171 of 523 ~ 32.7%
G 149 of 523 ~ 28.49%
B 203 of 523 ~ 38.81%
#AB95CB color CMYK value is (16,27,0,20).
CMYK: (16,27,0,20) C16M27Y0K20 (16%,27%,0%,20%) (0.16/0.27/0.00/0.20)
AB | 95 | CB | |
---|---|---|---|
RGB | 171 | 149 | 203 |
HSL | 264° | 34.18% | 69.02% |
HSB/HSV | 264° | 26.60% | 79.61% |
CMYK | 15.76% | 26.60% | 0.00% |
20.39% |
HEX | AB | 95 | CB |
Decimal | 171 | 149 | 203 |
Binary | 10101011 | 10010101 | 11001011 |
Octal | 253 | 225 | 313 |
Examples of css and html codes for elements with #AB95CB color. Also use rgb(171,149,203) instead hex code.
.myTextColor { color: #AB95CB; }
<p style="color:#AB95CB">This sample text font color is #AB95CB.</p>
This text font color is #AB95CB.
.myBgColor { background-color: #AB95CB; }
<div style="background-color:#AB95CB">Inner text</div>
This div background color is #AB95CB.
.myBorderColor { border: 1px solid #AB95CB; }
<div style="border:3px solid #AB95CB">Div</div>
This div border color is #AB95CB.
.myOpacity80 { color: #AB95CB; opacity: 0.8; }
<p style="color:#AB95CB;opacity:0.8;">80%</p>
Text with #AB95CB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB95CB;}
<p style="text-shadow: 3px 3px 1px #AB95CB">Text here.</p>
This text has shadow with #AB95CB color.
.textShadow {text-shadow: 3px 3px 1px #AB95CB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB95CB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB95CB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB95CB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB95CB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB95CB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB95CB; -webkit-box-shadow: 1px 1px 3px 2px #AB95CB; box-shadow: 1px 1px 3px 2px #AB95CB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB95CB; -webkit-box-shadow: 1px 1px 3px 2px #AB95CB; box-shadow:1px 1px 3px 2px #AB95CB;">
Div content here</div>
This text has color #AB95CB on black background.
This text has color #AB95CB on white background.
This text has black color on #AB95CB background.
This text has white color on #AB95CB background.