HEX: #A5557A
RGB: (165,85,122)
#A5557A contains mainly red and blue colors. Web safe color of #A5557A is #996666 (or #966).
#A5557A color RGB value is (165,85,122).
RGB: (165,85,122) (65%,33%,48%)
R 165 of 255 = 65%
G 85 of 255 = 33%
B 122 of 255 = 48%
R + G + B ~ 49%. #A5557A is middle color (not dark and not light).
R + G + B =
165 + 85 + 122 = 372 (100%)
R 165 of 372 ~ 44.35%
G 85 of 372 ~ 22.85%
B 122 of 372 ~ 32.8%
#A5557A color CMYK value is (0,48,26,35).
CMYK: (0,48,26,35) C0M48Y26K35 (0%,48%,26%,35%) (0.00/0.48/0.26/0.35)
A5 | 55 | 7A | |
---|---|---|---|
RGB | 165 | 85 | 122 |
HSL | 332° | 32.00% | 49.02% |
HSB/HSV | 332° | 48.48% | 64.71% |
CMYK | 0.00% | 48.48% | 26.06% |
35.29% |
HEX | A5 | 55 | 7A |
Decimal | 165 | 85 | 122 |
Binary | 10100101 | 1010101 | 1111010 |
Octal | 245 | 125 | 172 |
Examples of css and html codes for elements with #A5557A color. Also use rgb(165,85,122) instead hex code.
.myTextColor { color: #A5557A; }
<p style="color:#A5557A">This sample text font color is #A5557A.</p>
This text font color is #A5557A.
.myBgColor { background-color: #A5557A; }
<div style="background-color:#A5557A">Inner text</div>
This div background color is #A5557A.
.myBorderColor { border: 1px solid #A5557A; }
<div style="border:3px solid #A5557A">Div</div>
This div border color is #A5557A.
.myOpacity80 { color: #A5557A; opacity: 0.8; }
<p style="color:#A5557A;opacity:0.8;">80%</p>
Text with #A5557A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5557A;}
<p style="text-shadow: 3px 3px 1px #A5557A">Text here.</p>
This text has shadow with #A5557A color.
.textShadow {text-shadow: 3px 3px 1px #A5557A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5557A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5557A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5557A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5557A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5557A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5557A; -webkit-box-shadow: 1px 1px 3px 2px #A5557A; box-shadow: 1px 1px 3px 2px #A5557A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5557A; -webkit-box-shadow: 1px 1px 3px 2px #A5557A; box-shadow:1px 1px 3px 2px #A5557A;">
Div content here</div>
This text has color #A5557A on black background.
This text has color #A5557A on white background.
This text has black color on #A5557A background.
This text has white color on #A5557A background.