HEX: #A0112D
RGB: (160,17,45)
#A0112D contains mainly red color. Web safe color of #A0112D is #990033 (or #903).
#A0112D color RGB value is (160,17,45).
RGB: (160,17,45) (63%,7%,18%)
R 160 of 255 = 63%
G 17 of 255 = 7%
B 45 of 255 = 18%
R + G + B ~ 29%. #A0112D is quite dark color.
R + G + B =
160 + 17 + 45 = 222 (100%)
R 160 of 222 ~ 72.07%
G 17 of 222 ~ 7.66%
B 45 of 222 ~ 20.27%
#A0112D color CMYK value is (0,89,72,37).
CMYK: (0,89,72,37) C0M89Y72K37 (0%,89%,72%,37%) (0.00/0.89/0.72/0.37)
A0 | 11 | 2D | |
---|---|---|---|
RGB | 160 | 17 | 45 |
HSL | 348° | 80.79% | 34.71% |
HSB/HSV | 348° | 89.38% | 62.75% |
CMYK | 0.00% | 89.38% | 71.88% |
37.25% |
HEX | A0 | 11 | 2D |
Decimal | 160 | 17 | 45 |
Binary | 10100000 | 10001 | 101101 |
Octal | 240 | 21 | 55 |
Examples of css and html codes for elements with #A0112D color. Also use rgb(160,17,45) instead hex code.
.myTextColor { color: #A0112D; }
<p style="color:#A0112D">This sample text font color is #A0112D.</p>
This text font color is #A0112D.
.myBgColor { background-color: #A0112D; }
<div style="background-color:#A0112D">Inner text</div>
This div background color is #A0112D.
.myBorderColor { border: 1px solid #A0112D; }
<div style="border:3px solid #A0112D">Div</div>
This div border color is #A0112D.
.myOpacity80 { color: #A0112D; opacity: 0.8; }
<p style="color:#A0112D;opacity:0.8;">80%</p>
Text with #A0112D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A0112D;}
<p style="text-shadow: 3px 3px 1px #A0112D">Text here.</p>
This text has shadow with #A0112D color.
.textShadow {text-shadow: 3px 3px 1px #A0112D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A0112D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A0112D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A0112D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A0112D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A0112D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A0112D; -webkit-box-shadow: 1px 1px 3px 2px #A0112D; box-shadow: 1px 1px 3px 2px #A0112D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A0112D; -webkit-box-shadow: 1px 1px 3px 2px #A0112D; box-shadow:1px 1px 3px 2px #A0112D;">
Div content here</div>
This text has color #A0112D on black background.
This text has color #A0112D on white background.
This text has black color on #A0112D background.
This text has white color on #A0112D background.