HEX: #A42E3E
RGB: (164,46,62)
#A42E3E contains mainly red color. Web safe color of #A42E3E is #993333 (or #933).
#A42E3E color RGB value is (164,46,62).
RGB: (164,46,62) (64%,18%,24%)
R 164 of 255 = 64%
G 46 of 255 = 18%
B 62 of 255 = 24%
R + G + B ~ 35%. #A42E3E is quite dark color.
R + G + B =
164 + 46 + 62 = 272 (100%)
R 164 of 272 ~ 60.29%
G 46 of 272 ~ 16.91%
B 62 of 272 ~ 22.79%
#A42E3E color CMYK value is (0,72,62,36).
CMYK: (0,72,62,36) C0M72Y62K36 (0%,72%,62%,36%) (0.00/0.72/0.62/0.36)
A4 | 2E | 3E | |
---|---|---|---|
RGB | 164 | 46 | 62 |
HSL | 352° | 56.19% | 41.18% |
HSB/HSV | 352° | 71.95% | 64.31% |
CMYK | 0.00% | 71.95% | 62.20% |
35.69% |
HEX | A4 | 2E | 3E |
Decimal | 164 | 46 | 62 |
Binary | 10100100 | 101110 | 111110 |
Octal | 244 | 56 | 76 |
Examples of css and html codes for elements with #A42E3E color. Also use rgb(164,46,62) instead hex code.
.myTextColor { color: #A42E3E; }
<p style="color:#A42E3E">This sample text font color is #A42E3E.</p>
This text font color is #A42E3E.
.myBgColor { background-color: #A42E3E; }
<div style="background-color:#A42E3E">Inner text</div>
This div background color is #A42E3E.
.myBorderColor { border: 1px solid #A42E3E; }
<div style="border:3px solid #A42E3E">Div</div>
This div border color is #A42E3E.
.myOpacity80 { color: #A42E3E; opacity: 0.8; }
<p style="color:#A42E3E;opacity:0.8;">80%</p>
Text with #A42E3E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A42E3E;}
<p style="text-shadow: 3px 3px 1px #A42E3E">Text here.</p>
This text has shadow with #A42E3E color.
.textShadow {text-shadow: 3px 3px 1px #A42E3E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A42E3E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A42E3E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A42E3E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A42E3E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A42E3E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A42E3E; -webkit-box-shadow: 1px 1px 3px 2px #A42E3E; box-shadow: 1px 1px 3px 2px #A42E3E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A42E3E; -webkit-box-shadow: 1px 1px 3px 2px #A42E3E; box-shadow:1px 1px 3px 2px #A42E3E;">
Div content here</div>
This text has color #A42E3E on black background.
This text has color #A42E3E on white background.
This text has black color on #A42E3E background.
This text has white color on #A42E3E background.