HEX: #AB9DDA
RGB: (171,157,218)
#AB9DDA contains mainly red and blue colors. Web safe color of #AB9DDA is #9999CC (or #99C).
#AB9DDA color RGB value is (171,157,218).
RGB: (171,157,218) (67%,62%,85%)
R 171 of 255 = 67%
G 157 of 255 = 62%
B 218 of 255 = 85%
R + G + B ~ 71%. #AB9DDA is quite light color.
R + G + B =
171 + 157 + 218 = 546 (100%)
R 171 of 546 ~ 31.32%
G 157 of 546 ~ 28.75%
B 218 of 546 ~ 39.93%
#AB9DDA color CMYK value is (22,28,0,15).
CMYK: (22,28,0,15) C22M28Y0K15 (22%,28%,0%,15%) (0.22/0.28/0.00/0.15)
AB | 9D | DA | |
---|---|---|---|
RGB | 171 | 157 | 218 |
HSL | 254° | 45.19% | 73.53% |
HSB/HSV | 254° | 27.98% | 85.49% |
CMYK | 21.56% | 27.98% | 0.00% |
14.51% |
HEX | AB | 9D | DA |
Decimal | 171 | 157 | 218 |
Binary | 10101011 | 10011101 | 11011010 |
Octal | 253 | 235 | 332 |
Examples of css and html codes for elements with #AB9DDA color. Also use rgb(171,157,218) instead hex code.
.myTextColor { color: #AB9DDA; }
<p style="color:#AB9DDA">This sample text font color is #AB9DDA.</p>
This text font color is #AB9DDA.
.myBgColor { background-color: #AB9DDA; }
<div style="background-color:#AB9DDA">Inner text</div>
This div background color is #AB9DDA.
.myBorderColor { border: 1px solid #AB9DDA; }
<div style="border:3px solid #AB9DDA">Div</div>
This div border color is #AB9DDA.
.myOpacity80 { color: #AB9DDA; opacity: 0.8; }
<p style="color:#AB9DDA;opacity:0.8;">80%</p>
Text with #AB9DDA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9DDA;}
<p style="text-shadow: 3px 3px 1px #AB9DDA">Text here.</p>
This text has shadow with #AB9DDA color.
.textShadow {text-shadow: 3px 3px 1px #AB9DDA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9DDA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9DDA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9DDA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9DDA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9DDA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9DDA; -webkit-box-shadow: 1px 1px 3px 2px #AB9DDA; box-shadow: 1px 1px 3px 2px #AB9DDA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9DDA; -webkit-box-shadow: 1px 1px 3px 2px #AB9DDA; box-shadow:1px 1px 3px 2px #AB9DDA;">
Div content here</div>
This text has color #AB9DDA on black background.
This text has color #AB9DDA on white background.
This text has black color on #AB9DDA background.
This text has white color on #AB9DDA background.