HEX: #AB94CD
RGB: (171,148,205)
#AB94CD contains red, green and blue colors in about the same proportion. Web safe color of #AB94CD is #9999CC (or #99C).
#AB94CD color RGB value is (171,148,205).
RGB: (171,148,205) (67%,58%,80%)
R 171 of 255 = 67%
G 148 of 255 = 58%
B 205 of 255 = 80%
R + G + B ~ 68%. #AB94CD is quite light color.
R + G + B =
171 + 148 + 205 = 524 (100%)
R 171 of 524 ~ 32.63%
G 148 of 524 ~ 28.24%
B 205 of 524 ~ 39.12%
#AB94CD color CMYK value is (17,28,0,20).
CMYK: (17,28,0,20) C17M28Y0K20 (17%,28%,0%,20%) (0.17/0.28/0.00/0.20)
AB | 94 | CD | |
---|---|---|---|
RGB | 171 | 148 | 205 |
HSL | 264° | 36.31% | 69.22% |
HSB/HSV | 264° | 27.80% | 80.39% |
CMYK | 16.59% | 27.80% | 0.00% |
19.61% |
HEX | AB | 94 | CD |
Decimal | 171 | 148 | 205 |
Binary | 10101011 | 10010100 | 11001101 |
Octal | 253 | 224 | 315 |
Examples of css and html codes for elements with #AB94CD color. Also use rgb(171,148,205) instead hex code.
.myTextColor { color: #AB94CD; }
<p style="color:#AB94CD">This sample text font color is #AB94CD.</p>
This text font color is #AB94CD.
.myBgColor { background-color: #AB94CD; }
<div style="background-color:#AB94CD">Inner text</div>
This div background color is #AB94CD.
.myBorderColor { border: 1px solid #AB94CD; }
<div style="border:3px solid #AB94CD">Div</div>
This div border color is #AB94CD.
.myOpacity80 { color: #AB94CD; opacity: 0.8; }
<p style="color:#AB94CD;opacity:0.8;">80%</p>
Text with #AB94CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB94CD;}
<p style="text-shadow: 3px 3px 1px #AB94CD">Text here.</p>
This text has shadow with #AB94CD color.
.textShadow {text-shadow: 3px 3px 1px #AB94CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB94CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB94CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB94CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB94CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB94CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB94CD; -webkit-box-shadow: 1px 1px 3px 2px #AB94CD; box-shadow: 1px 1px 3px 2px #AB94CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB94CD; -webkit-box-shadow: 1px 1px 3px 2px #AB94CD; box-shadow:1px 1px 3px 2px #AB94CD;">
Div content here</div>
This text has color #AB94CD on black background.
This text has color #AB94CD on white background.
This text has black color on #AB94CD background.
This text has white color on #AB94CD background.