HEX: #AB74AF
RGB: (171,116,175)
#AB74AF contains red, green and blue colors in about the same proportion. Web safe color of #AB74AF is #996699 (or #969).
#AB74AF color RGB value is (171,116,175).
RGB: (171,116,175) (67%,45%,69%)
R 171 of 255 = 67%
G 116 of 255 = 45%
B 175 of 255 = 69%
R + G + B ~ 60%. #AB74AF is middle color (not dark and not light).
R + G + B =
171 + 116 + 175 = 462 (100%)
R 171 of 462 ~ 37.01%
G 116 of 462 ~ 25.11%
B 175 of 462 ~ 37.88%
#AB74AF color CMYK value is (2,34,0,31).
CMYK: (2,34,0,31) C2M34Y0K31 (2%,34%,0%,31%) (0.02/0.34/0.00/0.31)
AB | 74 | AF | |
---|---|---|---|
RGB | 171 | 116 | 175 |
HSL | 296° | 26.94% | 57.06% |
HSB/HSV | 296° | 33.71% | 68.63% |
CMYK | 2.29% | 33.71% | 0.00% |
31.37% |
HEX | AB | 74 | AF |
Decimal | 171 | 116 | 175 |
Binary | 10101011 | 1110100 | 10101111 |
Octal | 253 | 164 | 257 |
Examples of css and html codes for elements with #AB74AF color. Also use rgb(171,116,175) instead hex code.
.myTextColor { color: #AB74AF; }
<p style="color:#AB74AF">This sample text font color is #AB74AF.</p>
This text font color is #AB74AF.
.myBgColor { background-color: #AB74AF; }
<div style="background-color:#AB74AF">Inner text</div>
This div background color is #AB74AF.
.myBorderColor { border: 1px solid #AB74AF; }
<div style="border:3px solid #AB74AF">Div</div>
This div border color is #AB74AF.
.myOpacity80 { color: #AB74AF; opacity: 0.8; }
<p style="color:#AB74AF;opacity:0.8;">80%</p>
Text with #AB74AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB74AF;}
<p style="text-shadow: 3px 3px 1px #AB74AF">Text here.</p>
This text has shadow with #AB74AF color.
.textShadow {text-shadow: 3px 3px 1px #AB74AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB74AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB74AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB74AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB74AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB74AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB74AF; -webkit-box-shadow: 1px 1px 3px 2px #AB74AF; box-shadow: 1px 1px 3px 2px #AB74AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB74AF; -webkit-box-shadow: 1px 1px 3px 2px #AB74AF; box-shadow:1px 1px 3px 2px #AB74AF;">
Div content here</div>
This text has color #AB74AF on black background.
This text has color #AB74AF on white background.
This text has black color on #AB74AF background.
This text has white color on #AB74AF background.