HEX: #AB3789
RGB: (171,55,137)
#AB3789 contains mainly red and blue colors. Web safe color of #AB3789 is #993399 (or #939).
#AB3789 color RGB value is (171,55,137).
RGB: (171,55,137) (67%,22%,54%)
R 171 of 255 = 67%
G 55 of 255 = 22%
B 137 of 255 = 54%
R + G + B ~ 48%. #AB3789 is middle color (not dark and not light).
R + G + B =
171 + 55 + 137 = 363 (100%)
R 171 of 363 ~ 47.11%
G 55 of 363 ~ 15.15%
B 137 of 363 ~ 37.74%
#AB3789 color CMYK value is (0,68,20,33).
CMYK: (0,68,20,33) C0M68Y20K33 (0%,68%,20%,33%) (0.00/0.68/0.20/0.33)
AB | 37 | 89 | |
---|---|---|---|
RGB | 171 | 55 | 137 |
HSL | 318° | 51.33% | 44.31% |
HSB/HSV | 318° | 67.84% | 67.06% |
CMYK | 0.00% | 67.84% | 19.88% |
32.94% |
HEX | AB | 37 | 89 |
Decimal | 171 | 55 | 137 |
Binary | 10101011 | 110111 | 10001001 |
Octal | 253 | 67 | 211 |
Examples of css and html codes for elements with #AB3789 color. Also use rgb(171,55,137) instead hex code.
.myTextColor { color: #AB3789; }
<p style="color:#AB3789">This sample text font color is #AB3789.</p>
This text font color is #AB3789.
.myBgColor { background-color: #AB3789; }
<div style="background-color:#AB3789">Inner text</div>
This div background color is #AB3789.
.myBorderColor { border: 1px solid #AB3789; }
<div style="border:3px solid #AB3789">Div</div>
This div border color is #AB3789.
.myOpacity80 { color: #AB3789; opacity: 0.8; }
<p style="color:#AB3789;opacity:0.8;">80%</p>
Text with #AB3789 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB3789;}
<p style="text-shadow: 3px 3px 1px #AB3789">Text here.</p>
This text has shadow with #AB3789 color.
.textShadow {text-shadow: 3px 3px 1px #AB3789, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB3789, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB3789 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB3789, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB3789, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB3789 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB3789; -webkit-box-shadow: 1px 1px 3px 2px #AB3789; box-shadow: 1px 1px 3px 2px #AB3789; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB3789; -webkit-box-shadow: 1px 1px 3px 2px #AB3789; box-shadow:1px 1px 3px 2px #AB3789;">
Div content here</div>
This text has color #AB3789 on black background.
This text has color #AB3789 on white background.
This text has black color on #AB3789 background.
This text has white color on #AB3789 background.