HEX: #AB89DE
RGB: (171,137,222)
#AB89DE contains mainly red and blue colors. Web safe color of #AB89DE is #9999CC (or #99C).
#AB89DE color RGB value is (171,137,222).
RGB: (171,137,222) (67%,54%,87%)
R 171 of 255 = 67%
G 137 of 255 = 54%
B 222 of 255 = 87%
R + G + B ~ 69%. #AB89DE is quite light color.
R + G + B =
171 + 137 + 222 = 530 (100%)
R 171 of 530 ~ 32.26%
G 137 of 530 ~ 25.85%
B 222 of 530 ~ 41.89%
#AB89DE color CMYK value is (23,38,0,13).
CMYK: (23,38,0,13) C23M38Y0K13 (23%,38%,0%,13%) (0.23/0.38/0.00/0.13)
AB | 89 | DE | |
---|---|---|---|
RGB | 171 | 137 | 222 |
HSL | 264° | 56.29% | 70.39% |
HSB/HSV | 264° | 38.29% | 87.06% |
CMYK | 22.97% | 38.29% | 0.00% |
12.94% |
HEX | AB | 89 | DE |
Decimal | 171 | 137 | 222 |
Binary | 10101011 | 10001001 | 11011110 |
Octal | 253 | 211 | 336 |
Examples of css and html codes for elements with #AB89DE color. Also use rgb(171,137,222) instead hex code.
.myTextColor { color: #AB89DE; }
<p style="color:#AB89DE">This sample text font color is #AB89DE.</p>
This text font color is #AB89DE.
.myBgColor { background-color: #AB89DE; }
<div style="background-color:#AB89DE">Inner text</div>
This div background color is #AB89DE.
.myBorderColor { border: 1px solid #AB89DE; }
<div style="border:3px solid #AB89DE">Div</div>
This div border color is #AB89DE.
.myOpacity80 { color: #AB89DE; opacity: 0.8; }
<p style="color:#AB89DE;opacity:0.8;">80%</p>
Text with #AB89DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB89DE;}
<p style="text-shadow: 3px 3px 1px #AB89DE">Text here.</p>
This text has shadow with #AB89DE color.
.textShadow {text-shadow: 3px 3px 1px #AB89DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB89DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB89DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB89DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB89DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB89DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB89DE; -webkit-box-shadow: 1px 1px 3px 2px #AB89DE; box-shadow: 1px 1px 3px 2px #AB89DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB89DE; -webkit-box-shadow: 1px 1px 3px 2px #AB89DE; box-shadow:1px 1px 3px 2px #AB89DE;">
Div content here</div>
This text has color #AB89DE on black background.
This text has color #AB89DE on white background.
This text has black color on #AB89DE background.
This text has white color on #AB89DE background.