HEX: #AB9DDB
RGB: (171,157,219)
#AB9DDB contains mainly red and blue colors. Web safe color of #AB9DDB is #9999CC (or #99C).
#AB9DDB color RGB value is (171,157,219).
RGB: (171,157,219) (67%,62%,86%)
R 171 of 255 = 67%
G 157 of 255 = 62%
B 219 of 255 = 86%
R + G + B ~ 72%. #AB9DDB is quite light color.
R + G + B =
171 + 157 + 219 = 547 (100%)
R 171 of 547 ~ 31.26%
G 157 of 547 ~ 28.7%
B 219 of 547 ~ 40.04%
#AB9DDB color CMYK value is (22,28,0,14).
CMYK: (22,28,0,14) C22M28Y0K14 (22%,28%,0%,14%) (0.22/0.28/0.00/0.14)
AB | 9D | DB | |
---|---|---|---|
RGB | 171 | 157 | 219 |
HSL | 254° | 46.27% | 73.73% |
HSB/HSV | 254° | 28.31% | 85.88% |
CMYK | 21.92% | 28.31% | 0.00% |
14.12% |
HEX | AB | 9D | DB |
Decimal | 171 | 157 | 219 |
Binary | 10101011 | 10011101 | 11011011 |
Octal | 253 | 235 | 333 |
Examples of css and html codes for elements with #AB9DDB color. Also use rgb(171,157,219) instead hex code.
.myTextColor { color: #AB9DDB; }
<p style="color:#AB9DDB">This sample text font color is #AB9DDB.</p>
This text font color is #AB9DDB.
.myBgColor { background-color: #AB9DDB; }
<div style="background-color:#AB9DDB">Inner text</div>
This div background color is #AB9DDB.
.myBorderColor { border: 1px solid #AB9DDB; }
<div style="border:3px solid #AB9DDB">Div</div>
This div border color is #AB9DDB.
.myOpacity80 { color: #AB9DDB; opacity: 0.8; }
<p style="color:#AB9DDB;opacity:0.8;">80%</p>
Text with #AB9DDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9DDB;}
<p style="text-shadow: 3px 3px 1px #AB9DDB">Text here.</p>
This text has shadow with #AB9DDB color.
.textShadow {text-shadow: 3px 3px 1px #AB9DDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9DDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9DDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9DDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9DDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9DDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9DDB; -webkit-box-shadow: 1px 1px 3px 2px #AB9DDB; box-shadow: 1px 1px 3px 2px #AB9DDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9DDB; -webkit-box-shadow: 1px 1px 3px 2px #AB9DDB; box-shadow:1px 1px 3px 2px #AB9DDB;">
Div content here</div>
This text has color #AB9DDB on black background.
This text has color #AB9DDB on white background.
This text has black color on #AB9DDB background.
This text has white color on #AB9DDB background.