HEX: #AD120C
RGB: (173,18,12)
#AD120C contains mainly red color. Web safe color of #AD120C is #990000 (or #900).
#AD120C color RGB value is (173,18,12).
RGB: (173,18,12) (68%,7%,5%)
R 173 of 255 = 68%
G 18 of 255 = 7%
B 12 of 255 = 5%
R + G + B ~ 27%. #AD120C is quite dark color.
R + G + B =
173 + 18 + 12 = 203 (100%)
R 173 of 203 ~ 85.22%
G 18 of 203 ~ 8.87%
B 12 of 203 ~ 5.91%
#AD120C color CMYK value is (0,90,93,32).
CMYK: (0,90,93,32) C0M90Y93K32 (0%,90%,93%,32%) (0.00/0.90/0.93/0.32)
AD | 12 | 0C | |
---|---|---|---|
RGB | 173 | 18 | 12 |
HSL | 2° | 87.03% | 36.27% |
HSB/HSV | 2° | 93.06% | 67.84% |
CMYK | 0.00% | 89.60% | 93.06% |
32.16% |
HEX | AD | 12 | 0C |
Decimal | 173 | 18 | 12 |
Binary | 10101101 | 10010 | 1100 |
Octal | 255 | 22 | 14 |
Examples of css and html codes for elements with #AD120C color. Also use rgb(173,18,12) instead hex code.
.myTextColor { color: #AD120C; }
<p style="color:#AD120C">This sample text font color is #AD120C.</p>
This text font color is #AD120C.
.myBgColor { background-color: #AD120C; }
<div style="background-color:#AD120C">Inner text</div>
This div background color is #AD120C.
.myBorderColor { border: 1px solid #AD120C; }
<div style="border:3px solid #AD120C">Div</div>
This div border color is #AD120C.
.myOpacity80 { color: #AD120C; opacity: 0.8; }
<p style="color:#AD120C;opacity:0.8;">80%</p>
Text with #AD120C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD120C;}
<p style="text-shadow: 3px 3px 1px #AD120C">Text here.</p>
This text has shadow with #AD120C color.
.textShadow {text-shadow: 3px 3px 1px #AD120C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD120C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD120C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD120C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD120C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD120C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD120C; -webkit-box-shadow: 1px 1px 3px 2px #AD120C; box-shadow: 1px 1px 3px 2px #AD120C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD120C; -webkit-box-shadow: 1px 1px 3px 2px #AD120C; box-shadow:1px 1px 3px 2px #AD120C;">
Div content here</div>
This text has color #AD120C on black background.
This text has color #AD120C on white background.
This text has black color on #AD120C background.
This text has white color on #AD120C background.