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