HEX: #150506
RGB: (21,5,6)
#150506 contains red, green and blue colors in about the same proportion. Web safe color of #150506 is #000000 (or #000).
#150506 color RGB value is (21,5,6).
RGB: (21,5,6) (8%,2%,2%)
R 21 of 255 = 8%
G 5 of 255 = 2%
B 6 of 255 = 2%
R + G + B ~ 4%. #150506 is dark color.
R + G + B =
21 + 5 + 6 = 32 (100%)
R 21 of 32 ~ 65.63%
G 5 of 32 ~ 15.63%
B 6 of 32 ~ 18.75%
#150506 color CMYK value is (0,76,71,92).
CMYK: (0,76,71,92) C0M76Y71K92 (0%,76%,71%,92%) (0.00/0.76/0.71/0.92)
15 | 05 | 06 | |
---|---|---|---|
RGB | 21 | 5 | 6 |
HSL | 356° | 61.54% | 5.10% |
HSB/HSV | 356° | 76.19% | 8.24% |
CMYK | 0.00% | 76.19% | 71.43% |
91.76% |
HEX | 15 | 05 | 06 |
Decimal | 21 | 5 | 6 |
Binary | 10101 | 101 | 110 |
Octal | 25 | 5 | 6 |
Examples of css and html codes for elements with #150506 color. Also use rgb(21,5,6) instead hex code.
.myTextColor { color: #150506; }
<p style="color:#150506">This sample text font color is #150506.</p>
This text font color is #150506.
.myBgColor { background-color: #150506; }
<div style="background-color:#150506">Inner text</div>
This div background color is #150506.
.myBorderColor { border: 1px solid #150506; }
<div style="border:3px solid #150506">Div</div>
This div border color is #150506.
.myOpacity80 { color: #150506; opacity: 0.8; }
<p style="color:#150506;opacity:0.8;">80%</p>
Text with #150506 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #150506;}
<p style="text-shadow: 3px 3px 1px #150506">Text here.</p>
This text has shadow with #150506 color.
.textShadow {text-shadow: 3px 3px 1px #150506, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #150506, 5px 5px 20px red">Text here.</p>
This text has shadow with #150506 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#150506, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#150506, Direction=45, Strength=4)">Text</p>
This text has shadow with #150506 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #150506; -webkit-box-shadow: 1px 1px 3px 2px #150506; box-shadow: 1px 1px 3px 2px #150506; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #150506; -webkit-box-shadow: 1px 1px 3px 2px #150506; box-shadow:1px 1px 3px 2px #150506;">
Div content here</div>
This text has color #150506 on black background.
This text has color #150506 on white background.
This text has black color on #150506 background.
This text has white color on #150506 background.