HEX: #B72A1C
RGB: (183,42,28)
#B72A1C contains mainly red color. Web safe color of #B72A1C is #CC3333 (or #C33).
#B72A1C color RGB value is (183,42,28).
RGB: (183,42,28) (72%,16%,11%)
R 183 of 255 = 72%
G 42 of 255 = 16%
B 28 of 255 = 11%
R + G + B ~ 33%. #B72A1C is quite dark color.
R + G + B =
183 + 42 + 28 = 253 (100%)
R 183 of 253 ~ 72.33%
G 42 of 253 ~ 16.6%
B 28 of 253 ~ 11.07%
#B72A1C color CMYK value is (0,77,85,28).
CMYK: (0,77,85,28) C0M77Y85K28 (0%,77%,85%,28%) (0.00/0.77/0.85/0.28)
B7 | 2A | 1C | |
---|---|---|---|
RGB | 183 | 42 | 28 |
HSL | 5° | 73.46% | 41.37% |
HSB/HSV | 5° | 84.70% | 71.76% |
CMYK | 0.00% | 77.05% | 84.70% |
28.24% |
HEX | B7 | 2A | 1C |
Decimal | 183 | 42 | 28 |
Binary | 10110111 | 101010 | 11100 |
Octal | 267 | 52 | 34 |
Examples of css and html codes for elements with #B72A1C color. Also use rgb(183,42,28) instead hex code.
.myTextColor { color: #B72A1C; }
<p style="color:#B72A1C">This sample text font color is #B72A1C.</p>
This text font color is #B72A1C.
.myBgColor { background-color: #B72A1C; }
<div style="background-color:#B72A1C">Inner text</div>
This div background color is #B72A1C.
.myBorderColor { border: 1px solid #B72A1C; }
<div style="border:3px solid #B72A1C">Div</div>
This div border color is #B72A1C.
.myOpacity80 { color: #B72A1C; opacity: 0.8; }
<p style="color:#B72A1C;opacity:0.8;">80%</p>
Text with #B72A1C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B72A1C;}
<p style="text-shadow: 3px 3px 1px #B72A1C">Text here.</p>
This text has shadow with #B72A1C color.
.textShadow {text-shadow: 3px 3px 1px #B72A1C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B72A1C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B72A1C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B72A1C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B72A1C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B72A1C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B72A1C; -webkit-box-shadow: 1px 1px 3px 2px #B72A1C; box-shadow: 1px 1px 3px 2px #B72A1C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B72A1C; -webkit-box-shadow: 1px 1px 3px 2px #B72A1C; box-shadow:1px 1px 3px 2px #B72A1C;">
Div content here</div>
This text has color #B72A1C on black background.
This text has color #B72A1C on white background.
This text has black color on #B72A1C background.
This text has white color on #B72A1C background.