HEX: #AB89DA
RGB: (171,137,218)
#AB89DA contains mainly red and blue colors. Web safe color of #AB89DA is #9999CC (or #99C).
#AB89DA color RGB value is (171,137,218).
RGB: (171,137,218) (67%,54%,85%)
R 171 of 255 = 67%
G 137 of 255 = 54%
B 218 of 255 = 85%
R + G + B ~ 69%. #AB89DA is quite light color.
R + G + B =
171 + 137 + 218 = 526 (100%)
R 171 of 526 ~ 32.51%
G 137 of 526 ~ 26.05%
B 218 of 526 ~ 41.44%
#AB89DA color CMYK value is (22,37,0,15).
CMYK: (22,37,0,15) C22M37Y0K15 (22%,37%,0%,15%) (0.22/0.37/0.00/0.15)
AB | 89 | DA | |
---|---|---|---|
RGB | 171 | 137 | 218 |
HSL | 265° | 52.26% | 69.61% |
HSB/HSV | 265° | 37.16% | 85.49% |
CMYK | 21.56% | 37.16% | 0.00% |
14.51% |
HEX | AB | 89 | DA |
Decimal | 171 | 137 | 218 |
Binary | 10101011 | 10001001 | 11011010 |
Octal | 253 | 211 | 332 |
Examples of css and html codes for elements with #AB89DA color. Also use rgb(171,137,218) instead hex code.
.myTextColor { color: #AB89DA; }
<p style="color:#AB89DA">This sample text font color is #AB89DA.</p>
This text font color is #AB89DA.
.myBgColor { background-color: #AB89DA; }
<div style="background-color:#AB89DA">Inner text</div>
This div background color is #AB89DA.
.myBorderColor { border: 1px solid #AB89DA; }
<div style="border:3px solid #AB89DA">Div</div>
This div border color is #AB89DA.
.myOpacity80 { color: #AB89DA; opacity: 0.8; }
<p style="color:#AB89DA;opacity:0.8;">80%</p>
Text with #AB89DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB89DA;}
<p style="text-shadow: 3px 3px 1px #AB89DA">Text here.</p>
This text has shadow with #AB89DA color.
.textShadow {text-shadow: 3px 3px 1px #AB89DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB89DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB89DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB89DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB89DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB89DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB89DA; -webkit-box-shadow: 1px 1px 3px 2px #AB89DA; box-shadow: 1px 1px 3px 2px #AB89DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB89DA; -webkit-box-shadow: 1px 1px 3px 2px #AB89DA; box-shadow:1px 1px 3px 2px #AB89DA;">
Div content here</div>
This text has color #AB89DA on black background.
This text has color #AB89DA on white background.
This text has black color on #AB89DA background.
This text has white color on #AB89DA background.