HEX: #AC7FA5
RGB: (172,127,165)
#AC7FA5 contains red, green and blue colors in about the same proportion. Web safe color of #AC7FA5 is #996699 (or #969).
#AC7FA5 color RGB value is (172,127,165).
RGB: (172,127,165) (67%,50%,65%)
R 172 of 255 = 67%
G 127 of 255 = 50%
B 165 of 255 = 65%
R + G + B ~ 61%. #AC7FA5 is quite light color.
R + G + B =
172 + 127 + 165 = 464 (100%)
R 172 of 464 ~ 37.07%
G 127 of 464 ~ 27.37%
B 165 of 464 ~ 35.56%
#AC7FA5 color CMYK value is (0,26,4,33).
CMYK: (0,26,4,33) C0M26Y4K33 (0%,26%,4%,33%) (0.00/0.26/0.04/0.33)
AC | 7F | A5 | |
---|---|---|---|
RGB | 172 | 127 | 165 |
HSL | 309° | 21.33% | 58.63% |
HSB/HSV | 309° | 26.16% | 67.45% |
CMYK | 0.00% | 26.16% | 4.07% |
32.55% |
HEX | AC | 7F | A5 |
Decimal | 172 | 127 | 165 |
Binary | 10101100 | 1111111 | 10100101 |
Octal | 254 | 177 | 245 |
Examples of css and html codes for elements with #AC7FA5 color. Also use rgb(172,127,165) instead hex code.
.myTextColor { color: #AC7FA5; }
<p style="color:#AC7FA5">This sample text font color is #AC7FA5.</p>
This text font color is #AC7FA5.
.myBgColor { background-color: #AC7FA5; }
<div style="background-color:#AC7FA5">Inner text</div>
This div background color is #AC7FA5.
.myBorderColor { border: 1px solid #AC7FA5; }
<div style="border:3px solid #AC7FA5">Div</div>
This div border color is #AC7FA5.
.myOpacity80 { color: #AC7FA5; opacity: 0.8; }
<p style="color:#AC7FA5;opacity:0.8;">80%</p>
Text with #AC7FA5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AC7FA5;}
<p style="text-shadow: 3px 3px 1px #AC7FA5">Text here.</p>
This text has shadow with #AC7FA5 color.
.textShadow {text-shadow: 3px 3px 1px #AC7FA5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AC7FA5, 5px 5px 20px red">Text here.</p>
This text has shadow with #AC7FA5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AC7FA5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AC7FA5, Direction=45, Strength=4)">Text</p>
This text has shadow with #AC7FA5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AC7FA5; -webkit-box-shadow: 1px 1px 3px 2px #AC7FA5; box-shadow: 1px 1px 3px 2px #AC7FA5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AC7FA5; -webkit-box-shadow: 1px 1px 3px 2px #AC7FA5; box-shadow:1px 1px 3px 2px #AC7FA5;">
Div content here</div>
This text has color #AC7FA5 on black background.
This text has color #AC7FA5 on white background.
This text has black color on #AC7FA5 background.
This text has white color on #AC7FA5 background.