HEX: #A55F9E
RGB: (165,95,158)
#A55F9E contains mainly red and blue colors. Web safe color of #A55F9E is #996699 (or #969).
#A55F9E color RGB value is (165,95,158).
RGB: (165,95,158) (65%,37%,62%)
R 165 of 255 = 65%
G 95 of 255 = 37%
B 158 of 255 = 62%
R + G + B ~ 55%. #A55F9E is middle color (not dark and not light).
R + G + B =
165 + 95 + 158 = 418 (100%)
R 165 of 418 ~ 39.47%
G 95 of 418 ~ 22.73%
B 158 of 418 ~ 37.8%
#A55F9E color CMYK value is (0,42,4,35).
CMYK: (0,42,4,35) C0M42Y4K35 (0%,42%,4%,35%) (0.00/0.42/0.04/0.35)
A5 | 5F | 9E | |
---|---|---|---|
RGB | 165 | 95 | 158 |
HSL | 306° | 28.00% | 50.98% |
HSB/HSV | 306° | 42.42% | 64.71% |
CMYK | 0.00% | 42.42% | 4.24% |
35.29% |
HEX | A5 | 5F | 9E |
Decimal | 165 | 95 | 158 |
Binary | 10100101 | 1011111 | 10011110 |
Octal | 245 | 137 | 236 |
Examples of css and html codes for elements with #A55F9E color. Also use rgb(165,95,158) instead hex code.
.myTextColor { color: #A55F9E; }
<p style="color:#A55F9E">This sample text font color is #A55F9E.</p>
This text font color is #A55F9E.
.myBgColor { background-color: #A55F9E; }
<div style="background-color:#A55F9E">Inner text</div>
This div background color is #A55F9E.
.myBorderColor { border: 1px solid #A55F9E; }
<div style="border:3px solid #A55F9E">Div</div>
This div border color is #A55F9E.
.myOpacity80 { color: #A55F9E; opacity: 0.8; }
<p style="color:#A55F9E;opacity:0.8;">80%</p>
Text with #A55F9E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A55F9E;}
<p style="text-shadow: 3px 3px 1px #A55F9E">Text here.</p>
This text has shadow with #A55F9E color.
.textShadow {text-shadow: 3px 3px 1px #A55F9E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A55F9E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A55F9E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A55F9E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A55F9E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A55F9E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A55F9E; -webkit-box-shadow: 1px 1px 3px 2px #A55F9E; box-shadow: 1px 1px 3px 2px #A55F9E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A55F9E; -webkit-box-shadow: 1px 1px 3px 2px #A55F9E; box-shadow:1px 1px 3px 2px #A55F9E;">
Div content here</div>
This text has color #A55F9E on black background.
This text has color #A55F9E on white background.
This text has black color on #A55F9E background.
This text has white color on #A55F9E background.