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