HEX: #AB3F7A
RGB: (171,63,122)
#AB3F7A contains mainly red and blue colors. Web safe color of #AB3F7A is #993366 (or #936).
#AB3F7A color RGB value is (171,63,122).
RGB: (171,63,122) (67%,25%,48%)
R 171 of 255 = 67%
G 63 of 255 = 25%
B 122 of 255 = 48%
R + G + B ~ 47%. #AB3F7A is middle color (not dark and not light).
R + G + B =
171 + 63 + 122 = 356 (100%)
R 171 of 356 ~ 48.03%
G 63 of 356 ~ 17.7%
B 122 of 356 ~ 34.27%
#AB3F7A color CMYK value is (0,63,29,33).
CMYK: (0,63,29,33) C0M63Y29K33 (0%,63%,29%,33%) (0.00/0.63/0.29/0.33)
AB | 3F | 7A | |
---|---|---|---|
RGB | 171 | 63 | 122 |
HSL | 327° | 46.15% | 45.88% |
HSB/HSV | 327° | 63.16% | 67.06% |
CMYK | 0.00% | 63.16% | 28.65% |
32.94% |
HEX | AB | 3F | 7A |
Decimal | 171 | 63 | 122 |
Binary | 10101011 | 111111 | 1111010 |
Octal | 253 | 77 | 172 |
Examples of css and html codes for elements with #AB3F7A color. Also use rgb(171,63,122) instead hex code.
.myTextColor { color: #AB3F7A; }
<p style="color:#AB3F7A">This sample text font color is #AB3F7A.</p>
This text font color is #AB3F7A.
.myBgColor { background-color: #AB3F7A; }
<div style="background-color:#AB3F7A">Inner text</div>
This div background color is #AB3F7A.
.myBorderColor { border: 1px solid #AB3F7A; }
<div style="border:3px solid #AB3F7A">Div</div>
This div border color is #AB3F7A.
.myOpacity80 { color: #AB3F7A; opacity: 0.8; }
<p style="color:#AB3F7A;opacity:0.8;">80%</p>
Text with #AB3F7A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB3F7A;}
<p style="text-shadow: 3px 3px 1px #AB3F7A">Text here.</p>
This text has shadow with #AB3F7A color.
.textShadow {text-shadow: 3px 3px 1px #AB3F7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB3F7A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB3F7A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB3F7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB3F7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB3F7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB3F7A; -webkit-box-shadow: 1px 1px 3px 2px #AB3F7A; box-shadow: 1px 1px 3px 2px #AB3F7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB3F7A; -webkit-box-shadow: 1px 1px 3px 2px #AB3F7A; box-shadow:1px 1px 3px 2px #AB3F7A;">
Div content here</div>
This text has color #AB3F7A on black background.
This text has color #AB3F7A on white background.
This text has black color on #AB3F7A background.
This text has white color on #AB3F7A background.