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