HEX: #A5809F
RGB: (165,128,159)
#A5809F contains red, green and blue colors in about the same proportion. Web safe color of #A5809F is #996699 (or #969).
#A5809F color RGB value is (165,128,159).
RGB: (165,128,159) (65%,50%,62%)
R 165 of 255 = 65%
G 128 of 255 = 50%
B 159 of 255 = 62%
R + G + B ~ 59%. #A5809F is middle color (not dark and not light).
R + G + B =
165 + 128 + 159 = 452 (100%)
R 165 of 452 ~ 36.5%
G 128 of 452 ~ 28.32%
B 159 of 452 ~ 35.18%
#A5809F color CMYK value is (0,22,4,35).
CMYK: (0,22,4,35) C0M22Y4K35 (0%,22%,4%,35%) (0.00/0.22/0.04/0.35)
A5 | 80 | 9F | |
---|---|---|---|
RGB | 165 | 128 | 159 |
HSL | 310° | 17.05% | 57.45% |
HSB/HSV | 310° | 22.42% | 64.71% |
CMYK | 0.00% | 22.42% | 3.64% |
35.29% |
HEX | A5 | 80 | 9F |
Decimal | 165 | 128 | 159 |
Binary | 10100101 | 10000000 | 10011111 |
Octal | 245 | 200 | 237 |
Examples of css and html codes for elements with #A5809F color. Also use rgb(165,128,159) instead hex code.
.myTextColor { color: #A5809F; }
<p style="color:#A5809F">This sample text font color is #A5809F.</p>
This text font color is #A5809F.
.myBgColor { background-color: #A5809F; }
<div style="background-color:#A5809F">Inner text</div>
This div background color is #A5809F.
.myBorderColor { border: 1px solid #A5809F; }
<div style="border:3px solid #A5809F">Div</div>
This div border color is #A5809F.
.myOpacity80 { color: #A5809F; opacity: 0.8; }
<p style="color:#A5809F;opacity:0.8;">80%</p>
Text with #A5809F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5809F;}
<p style="text-shadow: 3px 3px 1px #A5809F">Text here.</p>
This text has shadow with #A5809F color.
.textShadow {text-shadow: 3px 3px 1px #A5809F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5809F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5809F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5809F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5809F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5809F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5809F; -webkit-box-shadow: 1px 1px 3px 2px #A5809F; box-shadow: 1px 1px 3px 2px #A5809F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5809F; -webkit-box-shadow: 1px 1px 3px 2px #A5809F; box-shadow:1px 1px 3px 2px #A5809F;">
Div content here</div>
This text has color #A5809F on black background.
This text has color #A5809F on white background.
This text has black color on #A5809F background.
This text has white color on #A5809F background.