HEX: #AD2215
RGB: (173,34,21)
#AD2215 contains mainly red color. Web safe color of #AD2215 is #993300 (or #930).
#AD2215 color RGB value is (173,34,21).
RGB: (173,34,21) (68%,13%,8%)
R 173 of 255 = 68%
G 34 of 255 = 13%
B 21 of 255 = 8%
R + G + B ~ 30%. #AD2215 is quite dark color.
R + G + B =
173 + 34 + 21 = 228 (100%)
R 173 of 228 ~ 75.88%
G 34 of 228 ~ 14.91%
B 21 of 228 ~ 9.21%
#AD2215 color CMYK value is (0,80,88,32).
CMYK: (0,80,88,32) C0M80Y88K32 (0%,80%,88%,32%) (0.00/0.80/0.88/0.32)
AD | 22 | 15 | |
---|---|---|---|
RGB | 173 | 34 | 21 |
HSL | 5° | 78.35% | 38.04% |
HSB/HSV | 5° | 87.86% | 67.84% |
CMYK | 0.00% | 80.35% | 87.86% |
32.16% |
HEX | AD | 22 | 15 |
Decimal | 173 | 34 | 21 |
Binary | 10101101 | 100010 | 10101 |
Octal | 255 | 42 | 25 |
Examples of css and html codes for elements with #AD2215 color. Also use rgb(173,34,21) instead hex code.
.myTextColor { color: #AD2215; }
<p style="color:#AD2215">This sample text font color is #AD2215.</p>
This text font color is #AD2215.
.myBgColor { background-color: #AD2215; }
<div style="background-color:#AD2215">Inner text</div>
This div background color is #AD2215.
.myBorderColor { border: 1px solid #AD2215; }
<div style="border:3px solid #AD2215">Div</div>
This div border color is #AD2215.
.myOpacity80 { color: #AD2215; opacity: 0.8; }
<p style="color:#AD2215;opacity:0.8;">80%</p>
Text with #AD2215 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD2215;}
<p style="text-shadow: 3px 3px 1px #AD2215">Text here.</p>
This text has shadow with #AD2215 color.
.textShadow {text-shadow: 3px 3px 1px #AD2215, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD2215, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD2215 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD2215, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD2215, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD2215 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD2215; -webkit-box-shadow: 1px 1px 3px 2px #AD2215; box-shadow: 1px 1px 3px 2px #AD2215; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD2215; -webkit-box-shadow: 1px 1px 3px 2px #AD2215; box-shadow:1px 1px 3px 2px #AD2215;">
Div content here</div>
This text has color #AD2215 on black background.
This text has color #AD2215 on white background.
This text has black color on #AD2215 background.
This text has white color on #AD2215 background.