HEX: #A5428D
RGB: (165,66,141)
#A5428D contains mainly red and blue colors. Web safe color of #A5428D is #993399 (or #939).
#A5428D color RGB value is (165,66,141).
RGB: (165,66,141) (65%,26%,55%)
R 165 of 255 = 65%
G 66 of 255 = 26%
B 141 of 255 = 55%
R + G + B ~ 49%. #A5428D is middle color (not dark and not light).
R + G + B =
165 + 66 + 141 = 372 (100%)
R 165 of 372 ~ 44.35%
G 66 of 372 ~ 17.74%
B 141 of 372 ~ 37.9%
#A5428D color CMYK value is (0,60,15,35).
CMYK: (0,60,15,35) C0M60Y15K35 (0%,60%,15%,35%) (0.00/0.60/0.15/0.35)
A5 | 42 | 8D | |
---|---|---|---|
RGB | 165 | 66 | 141 |
HSL | 315° | 42.86% | 45.29% |
HSB/HSV | 315° | 60.00% | 64.71% |
CMYK | 0.00% | 60.00% | 14.55% |
35.29% |
HEX | A5 | 42 | 8D |
Decimal | 165 | 66 | 141 |
Binary | 10100101 | 1000010 | 10001101 |
Octal | 245 | 102 | 215 |
Examples of css and html codes for elements with #A5428D color. Also use rgb(165,66,141) instead hex code.
.myTextColor { color: #A5428D; }
<p style="color:#A5428D">This sample text font color is #A5428D.</p>
This text font color is #A5428D.
.myBgColor { background-color: #A5428D; }
<div style="background-color:#A5428D">Inner text</div>
This div background color is #A5428D.
.myBorderColor { border: 1px solid #A5428D; }
<div style="border:3px solid #A5428D">Div</div>
This div border color is #A5428D.
.myOpacity80 { color: #A5428D; opacity: 0.8; }
<p style="color:#A5428D;opacity:0.8;">80%</p>
Text with #A5428D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5428D;}
<p style="text-shadow: 3px 3px 1px #A5428D">Text here.</p>
This text has shadow with #A5428D color.
.textShadow {text-shadow: 3px 3px 1px #A5428D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5428D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5428D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5428D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5428D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5428D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5428D; -webkit-box-shadow: 1px 1px 3px 2px #A5428D; box-shadow: 1px 1px 3px 2px #A5428D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5428D; -webkit-box-shadow: 1px 1px 3px 2px #A5428D; box-shadow:1px 1px 3px 2px #A5428D;">
Div content here</div>
This text has color #A5428D on black background.
This text has color #A5428D on white background.
This text has black color on #A5428D background.
This text has white color on #A5428D background.