HEX: #A5757E
RGB: (165,117,126)
#A5757E contains red, green and blue colors in about the same proportion. Web safe color of #A5757E is #996666 (or #966).
#A5757E color RGB value is (165,117,126).
RGB: (165,117,126) (65%,46%,49%)
R 165 of 255 = 65%
G 117 of 255 = 46%
B 126 of 255 = 49%
R + G + B ~ 53%. #A5757E is middle color (not dark and not light).
R + G + B =
165 + 117 + 126 = 408 (100%)
R 165 of 408 ~ 40.44%
G 117 of 408 ~ 28.68%
B 126 of 408 ~ 30.88%
#A5757E color CMYK value is (0,29,24,35).
CMYK: (0,29,24,35) C0M29Y24K35 (0%,29%,24%,35%) (0.00/0.29/0.24/0.35)
A5 | 75 | 7E | |
---|---|---|---|
RGB | 165 | 117 | 126 |
HSL | 349° | 21.05% | 55.29% |
HSB/HSV | 349° | 29.09% | 64.71% |
CMYK | 0.00% | 29.09% | 23.64% |
35.29% |
HEX | A5 | 75 | 7E |
Decimal | 165 | 117 | 126 |
Binary | 10100101 | 1110101 | 1111110 |
Octal | 245 | 165 | 176 |
Examples of css and html codes for elements with #A5757E color. Also use rgb(165,117,126) instead hex code.
.myTextColor { color: #A5757E; }
<p style="color:#A5757E">This sample text font color is #A5757E.</p>
This text font color is #A5757E.
.myBgColor { background-color: #A5757E; }
<div style="background-color:#A5757E">Inner text</div>
This div background color is #A5757E.
.myBorderColor { border: 1px solid #A5757E; }
<div style="border:3px solid #A5757E">Div</div>
This div border color is #A5757E.
.myOpacity80 { color: #A5757E; opacity: 0.8; }
<p style="color:#A5757E;opacity:0.8;">80%</p>
Text with #A5757E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5757E;}
<p style="text-shadow: 3px 3px 1px #A5757E">Text here.</p>
This text has shadow with #A5757E color.
.textShadow {text-shadow: 3px 3px 1px #A5757E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5757E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5757E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5757E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5757E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5757E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5757E; -webkit-box-shadow: 1px 1px 3px 2px #A5757E; box-shadow: 1px 1px 3px 2px #A5757E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5757E; -webkit-box-shadow: 1px 1px 3px 2px #A5757E; box-shadow:1px 1px 3px 2px #A5757E;">
Div content here</div>
This text has color #A5757E on black background.
This text has color #A5757E on white background.
This text has black color on #A5757E background.
This text has white color on #A5757E background.