HEX: #A4248E
RGB: (164,36,142)
#A4248E contains mainly red and blue colors. Web safe color of #A4248E is #993399 (or #939).
#A4248E color RGB value is (164,36,142).
RGB: (164,36,142) (64%,14%,56%)
R 164 of 255 = 64%
G 36 of 255 = 14%
B 142 of 255 = 56%
R + G + B ~ 45%. #A4248E is middle color (not dark and not light).
R + G + B =
164 + 36 + 142 = 342 (100%)
R 164 of 342 ~ 47.95%
G 36 of 342 ~ 10.53%
B 142 of 342 ~ 41.52%
#A4248E color CMYK value is (0,78,13,36).
CMYK: (0,78,13,36) C0M78Y13K36 (0%,78%,13%,36%) (0.00/0.78/0.13/0.36)
A4 | 24 | 8E | |
---|---|---|---|
RGB | 164 | 36 | 142 |
HSL | 310° | 64.00% | 39.22% |
HSB/HSV | 310° | 78.05% | 64.31% |
CMYK | 0.00% | 78.05% | 13.41% |
35.69% |
HEX | A4 | 24 | 8E |
Decimal | 164 | 36 | 142 |
Binary | 10100100 | 100100 | 10001110 |
Octal | 244 | 44 | 216 |
Examples of css and html codes for elements with #A4248E color. Also use rgb(164,36,142) instead hex code.
.myTextColor { color: #A4248E; }
<p style="color:#A4248E">This sample text font color is #A4248E.</p>
This text font color is #A4248E.
.myBgColor { background-color: #A4248E; }
<div style="background-color:#A4248E">Inner text</div>
This div background color is #A4248E.
.myBorderColor { border: 1px solid #A4248E; }
<div style="border:3px solid #A4248E">Div</div>
This div border color is #A4248E.
.myOpacity80 { color: #A4248E; opacity: 0.8; }
<p style="color:#A4248E;opacity:0.8;">80%</p>
Text with #A4248E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4248E;}
<p style="text-shadow: 3px 3px 1px #A4248E">Text here.</p>
This text has shadow with #A4248E color.
.textShadow {text-shadow: 3px 3px 1px #A4248E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4248E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4248E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4248E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4248E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4248E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4248E; -webkit-box-shadow: 1px 1px 3px 2px #A4248E; box-shadow: 1px 1px 3px 2px #A4248E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4248E; -webkit-box-shadow: 1px 1px 3px 2px #A4248E; box-shadow:1px 1px 3px 2px #A4248E;">
Div content here</div>
This text has color #A4248E on black background.
This text has color #A4248E on white background.
This text has black color on #A4248E background.
This text has white color on #A4248E background.