HEX: #AD1B2C
RGB: (173,27,44)
#AD1B2C contains mainly red color. Web safe color of #AD1B2C is #993333 (or #933).
#AD1B2C color RGB value is (173,27,44).
RGB: (173,27,44) (68%,11%,17%)
R 173 of 255 = 68%
G 27 of 255 = 11%
B 44 of 255 = 17%
R + G + B ~ 32%. #AD1B2C is quite dark color.
R + G + B =
173 + 27 + 44 = 244 (100%)
R 173 of 244 ~ 70.9%
G 27 of 244 ~ 11.07%
B 44 of 244 ~ 18.03%
#AD1B2C color CMYK value is (0,84,75,32).
CMYK: (0,84,75,32) C0M84Y75K32 (0%,84%,75%,32%) (0.00/0.84/0.75/0.32)
AD | 1B | 2C | |
---|---|---|---|
RGB | 173 | 27 | 44 |
HSL | 353° | 73.00% | 39.22% |
HSB/HSV | 353° | 84.39% | 67.84% |
CMYK | 0.00% | 84.39% | 74.57% |
32.16% |
HEX | AD | 1B | 2C |
Decimal | 173 | 27 | 44 |
Binary | 10101101 | 11011 | 101100 |
Octal | 255 | 33 | 54 |
Examples of css and html codes for elements with #AD1B2C color. Also use rgb(173,27,44) instead hex code.
.myTextColor { color: #AD1B2C; }
<p style="color:#AD1B2C">This sample text font color is #AD1B2C.</p>
This text font color is #AD1B2C.
.myBgColor { background-color: #AD1B2C; }
<div style="background-color:#AD1B2C">Inner text</div>
This div background color is #AD1B2C.
.myBorderColor { border: 1px solid #AD1B2C; }
<div style="border:3px solid #AD1B2C">Div</div>
This div border color is #AD1B2C.
.myOpacity80 { color: #AD1B2C; opacity: 0.8; }
<p style="color:#AD1B2C;opacity:0.8;">80%</p>
Text with #AD1B2C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD1B2C;}
<p style="text-shadow: 3px 3px 1px #AD1B2C">Text here.</p>
This text has shadow with #AD1B2C color.
.textShadow {text-shadow: 3px 3px 1px #AD1B2C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD1B2C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD1B2C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD1B2C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD1B2C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD1B2C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD1B2C; -webkit-box-shadow: 1px 1px 3px 2px #AD1B2C; box-shadow: 1px 1px 3px 2px #AD1B2C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD1B2C; -webkit-box-shadow: 1px 1px 3px 2px #AD1B2C; box-shadow:1px 1px 3px 2px #AD1B2C;">
Div content here</div>
This text has color #AD1B2C on black background.
This text has color #AD1B2C on white background.
This text has black color on #AD1B2C background.
This text has white color on #AD1B2C background.