HEX: #A0020A
RGB: (160,2,10)
#A0020A contains mainly red color. Web safe color of #A0020A is #990000 (or #900).
#A0020A color RGB value is (160,2,10).
RGB: (160,2,10) (63%,1%,4%)
R 160 of 255 = 63%
G 2 of 255 = 1%
B 10 of 255 = 4%
R + G + B ~ 23%. #A0020A is dark color.
R + G + B =
160 + 2 + 10 = 172 (100%)
R 160 of 172 ~ 93.02%
G 2 of 172 ~ 1.16%
B 10 of 172 ~ 5.81%
#A0020A color CMYK value is (0,99,94,37).
CMYK: (0,99,94,37) C0M99Y94K37 (0%,99%,94%,37%) (0.00/0.99/0.94/0.37)
A0 | 02 | 0A | |
---|---|---|---|
RGB | 160 | 2 | 10 |
HSL | 357° | 97.53% | 31.76% |
HSB/HSV | 357° | 98.75% | 62.75% |
CMYK | 0.00% | 98.75% | 93.75% |
37.25% |
HEX | A0 | 02 | 0A |
Decimal | 160 | 2 | 10 |
Binary | 10100000 | 10 | 1010 |
Octal | 240 | 2 | 12 |
Examples of css and html codes for elements with #A0020A color. Also use rgb(160,2,10) instead hex code.
.myTextColor { color: #A0020A; }
<p style="color:#A0020A">This sample text font color is #A0020A.</p>
This text font color is #A0020A.
.myBgColor { background-color: #A0020A; }
<div style="background-color:#A0020A">Inner text</div>
This div background color is #A0020A.
.myBorderColor { border: 1px solid #A0020A; }
<div style="border:3px solid #A0020A">Div</div>
This div border color is #A0020A.
.myOpacity80 { color: #A0020A; opacity: 0.8; }
<p style="color:#A0020A;opacity:0.8;">80%</p>
Text with #A0020A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A0020A;}
<p style="text-shadow: 3px 3px 1px #A0020A">Text here.</p>
This text has shadow with #A0020A color.
.textShadow {text-shadow: 3px 3px 1px #A0020A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A0020A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A0020A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A0020A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A0020A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A0020A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A0020A; -webkit-box-shadow: 1px 1px 3px 2px #A0020A; box-shadow: 1px 1px 3px 2px #A0020A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A0020A; -webkit-box-shadow: 1px 1px 3px 2px #A0020A; box-shadow:1px 1px 3px 2px #A0020A;">
Div content here</div>
This text has color #A0020A on black background.
This text has color #A0020A on white background.
This text has black color on #A0020A background.
This text has white color on #A0020A background.