HEX: #A5989F
RGB: (165,152,159)
#A5989F contains red, green and blue colors in about the same proportion. Web safe color of #A5989F is #999999 (or #999).
#A5989F color RGB value is (165,152,159).
RGB: (165,152,159) (65%,60%,62%)
R 165 of 255 = 65%
G 152 of 255 = 60%
B 159 of 255 = 62%
R + G + B ~ 62%. #A5989F is quite light color.
R + G + B =
165 + 152 + 159 = 476 (100%)
R 165 of 476 ~ 34.66%
G 152 of 476 ~ 31.93%
B 159 of 476 ~ 33.4%
#A5989F color CMYK value is (0,8,4,35).
CMYK: (0,8,4,35) C0M8Y4K35 (0%,8%,4%,35%) (0.00/0.08/0.04/0.35)
A5 | 98 | 9F | |
---|---|---|---|
RGB | 165 | 152 | 159 |
HSL | 328° | 6.74% | 62.16% |
HSB/HSV | 328° | 7.88% | 64.71% |
CMYK | 0.00% | 7.88% | 3.64% |
35.29% |
HEX | A5 | 98 | 9F |
Decimal | 165 | 152 | 159 |
Binary | 10100101 | 10011000 | 10011111 |
Octal | 245 | 230 | 237 |
Examples of css and html codes for elements with #A5989F color. Also use rgb(165,152,159) instead hex code.
.myTextColor { color: #A5989F; }
<p style="color:#A5989F">This sample text font color is #A5989F.</p>
This text font color is #A5989F.
.myBgColor { background-color: #A5989F; }
<div style="background-color:#A5989F">Inner text</div>
This div background color is #A5989F.
.myBorderColor { border: 1px solid #A5989F; }
<div style="border:3px solid #A5989F">Div</div>
This div border color is #A5989F.
.myOpacity80 { color: #A5989F; opacity: 0.8; }
<p style="color:#A5989F;opacity:0.8;">80%</p>
Text with #A5989F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5989F;}
<p style="text-shadow: 3px 3px 1px #A5989F">Text here.</p>
This text has shadow with #A5989F color.
.textShadow {text-shadow: 3px 3px 1px #A5989F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5989F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5989F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5989F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5989F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5989F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5989F; -webkit-box-shadow: 1px 1px 3px 2px #A5989F; box-shadow: 1px 1px 3px 2px #A5989F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5989F; -webkit-box-shadow: 1px 1px 3px 2px #A5989F; box-shadow:1px 1px 3px 2px #A5989F;">
Div content here</div>
This text has color #A5989F on black background.
This text has color #A5989F on white background.
This text has black color on #A5989F background.
This text has white color on #A5989F background.