HEX: #A5707F
RGB: (165,112,127)
#A5707F contains red, green and blue colors in about the same proportion. Web safe color of #A5707F is #996666 (or #966).
#A5707F color RGB value is (165,112,127).
RGB: (165,112,127) (65%,44%,50%)
R 165 of 255 = 65%
G 112 of 255 = 44%
B 127 of 255 = 50%
R + G + B ~ 53%. #A5707F is middle color (not dark and not light).
R + G + B =
165 + 112 + 127 = 404 (100%)
R 165 of 404 ~ 40.84%
G 112 of 404 ~ 27.72%
B 127 of 404 ~ 31.44%
#A5707F color CMYK value is (0,32,23,35).
CMYK: (0,32,23,35) C0M32Y23K35 (0%,32%,23%,35%) (0.00/0.32/0.23/0.35)
A5 | 70 | 7F | |
---|---|---|---|
RGB | 165 | 112 | 127 |
HSL | 343° | 22.75% | 54.31% |
HSB/HSV | 343° | 32.12% | 64.71% |
CMYK | 0.00% | 32.12% | 23.03% |
35.29% |
HEX | A5 | 70 | 7F |
Decimal | 165 | 112 | 127 |
Binary | 10100101 | 1110000 | 1111111 |
Octal | 245 | 160 | 177 |
Examples of css and html codes for elements with #A5707F color. Also use rgb(165,112,127) instead hex code.
.myTextColor { color: #A5707F; }
<p style="color:#A5707F">This sample text font color is #A5707F.</p>
This text font color is #A5707F.
.myBgColor { background-color: #A5707F; }
<div style="background-color:#A5707F">Inner text</div>
This div background color is #A5707F.
.myBorderColor { border: 1px solid #A5707F; }
<div style="border:3px solid #A5707F">Div</div>
This div border color is #A5707F.
.myOpacity80 { color: #A5707F; opacity: 0.8; }
<p style="color:#A5707F;opacity:0.8;">80%</p>
Text with #A5707F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5707F;}
<p style="text-shadow: 3px 3px 1px #A5707F">Text here.</p>
This text has shadow with #A5707F color.
.textShadow {text-shadow: 3px 3px 1px #A5707F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5707F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5707F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5707F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5707F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5707F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5707F; -webkit-box-shadow: 1px 1px 3px 2px #A5707F; box-shadow: 1px 1px 3px 2px #A5707F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5707F; -webkit-box-shadow: 1px 1px 3px 2px #A5707F; box-shadow:1px 1px 3px 2px #A5707F;">
Div content here</div>
This text has color #A5707F on black background.
This text has color #A5707F on white background.
This text has black color on #A5707F background.
This text has white color on #A5707F background.