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