HEX: #A5397D
RGB: (165,57,125)
#A5397D contains mainly red and blue colors. Web safe color of #A5397D is #993366 (or #936).
#A5397D color RGB value is (165,57,125).
RGB: (165,57,125) (65%,22%,49%)
R 165 of 255 = 65%
G 57 of 255 = 22%
B 125 of 255 = 49%
R + G + B ~ 45%. #A5397D is middle color (not dark and not light).
R + G + B =
165 + 57 + 125 = 347 (100%)
R 165 of 347 ~ 47.55%
G 57 of 347 ~ 16.43%
B 125 of 347 ~ 36.02%
#A5397D color CMYK value is (0,65,24,35).
CMYK: (0,65,24,35) C0M65Y24K35 (0%,65%,24%,35%) (0.00/0.65/0.24/0.35)
A5 | 39 | 7D | |
---|---|---|---|
RGB | 165 | 57 | 125 |
HSL | 322° | 48.65% | 43.53% |
HSB/HSV | 322° | 65.45% | 64.71% |
CMYK | 0.00% | 65.45% | 24.24% |
35.29% |
HEX | A5 | 39 | 7D |
Decimal | 165 | 57 | 125 |
Binary | 10100101 | 111001 | 1111101 |
Octal | 245 | 71 | 175 |
Examples of css and html codes for elements with #A5397D color. Also use rgb(165,57,125) instead hex code.
.myTextColor { color: #A5397D; }
<p style="color:#A5397D">This sample text font color is #A5397D.</p>
This text font color is #A5397D.
.myBgColor { background-color: #A5397D; }
<div style="background-color:#A5397D">Inner text</div>
This div background color is #A5397D.
.myBorderColor { border: 1px solid #A5397D; }
<div style="border:3px solid #A5397D">Div</div>
This div border color is #A5397D.
.myOpacity80 { color: #A5397D; opacity: 0.8; }
<p style="color:#A5397D;opacity:0.8;">80%</p>
Text with #A5397D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5397D;}
<p style="text-shadow: 3px 3px 1px #A5397D">Text here.</p>
This text has shadow with #A5397D color.
.textShadow {text-shadow: 3px 3px 1px #A5397D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5397D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5397D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5397D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5397D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5397D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5397D; -webkit-box-shadow: 1px 1px 3px 2px #A5397D; box-shadow: 1px 1px 3px 2px #A5397D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5397D; -webkit-box-shadow: 1px 1px 3px 2px #A5397D; box-shadow:1px 1px 3px 2px #A5397D;">
Div content here</div>
This text has color #A5397D on black background.
This text has color #A5397D on white background.
This text has black color on #A5397D background.
This text has white color on #A5397D background.