HEX: #AB9ED7
RGB: (171,158,215)
#AB9ED7 contains red, green and blue colors in about the same proportion. Web safe color of #AB9ED7 is #9999CC (or #99C).
#AB9ED7 color RGB value is (171,158,215).
RGB: (171,158,215) (67%,62%,84%)
R 171 of 255 = 67%
G 158 of 255 = 62%
B 215 of 255 = 84%
R + G + B ~ 71%. #AB9ED7 is quite light color.
R + G + B =
171 + 158 + 215 = 544 (100%)
R 171 of 544 ~ 31.43%
G 158 of 544 ~ 29.04%
B 215 of 544 ~ 39.52%
#AB9ED7 color CMYK value is (20,27,0,16).
CMYK: (20,27,0,16) C20M27Y0K16 (20%,27%,0%,16%) (0.20/0.27/0.00/0.16)
AB | 9E | D7 | |
---|---|---|---|
RGB | 171 | 158 | 215 |
HSL | 254° | 41.61% | 73.14% |
HSB/HSV | 254° | 26.51% | 84.31% |
CMYK | 20.47% | 26.51% | 0.00% |
15.69% |
HEX | AB | 9E | D7 |
Decimal | 171 | 158 | 215 |
Binary | 10101011 | 10011110 | 11010111 |
Octal | 253 | 236 | 327 |
Examples of css and html codes for elements with #AB9ED7 color. Also use rgb(171,158,215) instead hex code.
.myTextColor { color: #AB9ED7; }
<p style="color:#AB9ED7">This sample text font color is #AB9ED7.</p>
This text font color is #AB9ED7.
.myBgColor { background-color: #AB9ED7; }
<div style="background-color:#AB9ED7">Inner text</div>
This div background color is #AB9ED7.
.myBorderColor { border: 1px solid #AB9ED7; }
<div style="border:3px solid #AB9ED7">Div</div>
This div border color is #AB9ED7.
.myOpacity80 { color: #AB9ED7; opacity: 0.8; }
<p style="color:#AB9ED7;opacity:0.8;">80%</p>
Text with #AB9ED7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9ED7;}
<p style="text-shadow: 3px 3px 1px #AB9ED7">Text here.</p>
This text has shadow with #AB9ED7 color.
.textShadow {text-shadow: 3px 3px 1px #AB9ED7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9ED7, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9ED7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9ED7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9ED7, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9ED7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9ED7; -webkit-box-shadow: 1px 1px 3px 2px #AB9ED7; box-shadow: 1px 1px 3px 2px #AB9ED7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9ED7; -webkit-box-shadow: 1px 1px 3px 2px #AB9ED7; box-shadow:1px 1px 3px 2px #AB9ED7;">
Div content here</div>
This text has color #AB9ED7 on black background.
This text has color #AB9ED7 on white background.
This text has black color on #AB9ED7 background.
This text has white color on #AB9ED7 background.