HEX: #B0150D
RGB: (176,21,13)
#B0150D contains mainly red color. Web safe color of #B0150D is #990000 (or #900).
#B0150D color RGB value is (176,21,13).
RGB: (176,21,13) (69%,8%,5%)
R 176 of 255 = 69%
G 21 of 255 = 8%
B 13 of 255 = 5%
R + G + B ~ 27%. #B0150D is quite dark color.
R + G + B =
176 + 21 + 13 = 210 (100%)
R 176 of 210 ~ 83.81%
G 21 of 210 ~ 10%
B 13 of 210 ~ 6.19%
#B0150D color CMYK value is (0,88,93,31).
CMYK: (0,88,93,31) C0M88Y93K31 (0%,88%,93%,31%) (0.00/0.88/0.93/0.31)
B0 | 15 | 0D | |
---|---|---|---|
RGB | 176 | 21 | 13 |
HSL | 3° | 86.24% | 37.06% |
HSB/HSV | 3° | 92.61% | 69.02% |
CMYK | 0.00% | 88.07% | 92.61% |
30.98% |
HEX | B0 | 15 | 0D |
Decimal | 176 | 21 | 13 |
Binary | 10110000 | 10101 | 1101 |
Octal | 260 | 25 | 15 |
Examples of css and html codes for elements with #B0150D color. Also use rgb(176,21,13) instead hex code.
.myTextColor { color: #B0150D; }
<p style="color:#B0150D">This sample text font color is #B0150D.</p>
This text font color is #B0150D.
.myBgColor { background-color: #B0150D; }
<div style="background-color:#B0150D">Inner text</div>
This div background color is #B0150D.
.myBorderColor { border: 1px solid #B0150D; }
<div style="border:3px solid #B0150D">Div</div>
This div border color is #B0150D.
.myOpacity80 { color: #B0150D; opacity: 0.8; }
<p style="color:#B0150D;opacity:0.8;">80%</p>
Text with #B0150D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B0150D;}
<p style="text-shadow: 3px 3px 1px #B0150D">Text here.</p>
This text has shadow with #B0150D color.
.textShadow {text-shadow: 3px 3px 1px #B0150D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B0150D, 5px 5px 20px red">Text here.</p>
This text has shadow with #B0150D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B0150D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B0150D, Direction=45, Strength=4)">Text</p>
This text has shadow with #B0150D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B0150D; -webkit-box-shadow: 1px 1px 3px 2px #B0150D; box-shadow: 1px 1px 3px 2px #B0150D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B0150D; -webkit-box-shadow: 1px 1px 3px 2px #B0150D; box-shadow:1px 1px 3px 2px #B0150D;">
Div content here</div>
This text has color #B0150D on black background.
This text has color #B0150D on white background.
This text has black color on #B0150D background.
This text has white color on #B0150D background.