HEX: #150521
RGB: (21,5,33)
#150521 contains red, green and blue colors in about the same proportion. Web safe color of #150521 is #000033 (or #003).
#150521 color RGB value is (21,5,33).
RGB: (21,5,33)
(8%, 2%, 13%)
R 21 of 255 = 8%
G 5 of 255 = 2%
B 33 of 255 = 13%
R + G + B ~ 8%. #150521 is dark color.
R + G + B = 21 + 5 + 33 = 59 (100%)
R 21 of 59 ~ 35.59%
G 5 of 59 ~ 8.47%
B 33 of 59 ~ 55.93'%
#150521 color CMYK value is (36,85,0,87).
CMYK: (36,85,0,87) C36M85Y0K87 (36%,85%,0%,87%) (0.36/0.85/0.00/0.87)
Color #150521 in popluar color models
15 | 05 | 21 | |
---|---|---|---|
RGB | 21 | 5 | 33 |
HSL | 274° | 73.68% | 7.45% |
HSB/HSV | 274° | 84.85% | 12.94% |
CMYK | 36.36% | 84.85% | 0.00% |
87.06% |
Color #150521 in popluar number systems.
HEX | 15 | 05 | 21 |
Decimal | 21 | 5 | 33 |
Binary | 10101 | 101 | 100001 |
Octal | 25 | 5 | 41 |
Shades of #150521
Tints of #150521
Examples of css and html codes for elements with #150521 color. Also use rgb(21,5,33) instead hex code.
.myTextColor { color: #150521; }
<p style="color:#150521">This sample text font color is #150521.</p>
This text font color is #150521.
.myBgColor { background-color: #150521; }
<div style="background-color:#150521">Inner text</div>
This div background color is #150521.
.myBorderColor { border: 1px solid #150521; }
<div style="border:3px solid #150521">Div</div>
This div border color is #150521.
.myOpacity80 { color: #150521; opacity: 0.8; }
<p style="color:#150521;opacity:0.8;">80%</p>
Text with #150521 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #150521;}
<p style="text-shadow: 3px 3px 1px #150521">Text here.</p>
This text has shadow with #150521 color.
.textShadow {text-shadow: 3px 3px 1px #150521', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #150521, 5px 5px 20px red">Text here.</p>
This text has shadow with #150521 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#150521, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#150521, Direction=45, Strength=4)">Text</p>
This text has shadow with #150521 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #150521;
-webkit-box-shadow: 1px 1px 3px 2px #150521;
box-shadow: 1px 1px 3px 2px #150521;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #150521; -webkit-box-shadow: 1px 1px 3px 2px #150521; box-shadow:1px 1px 3px 2px #150521;">
Div content here
</div>
This text has color #150521 on black background.
This text has color #150521 on white background.
This text has black color on #150521 background.
This text has white color on #150521 background.
Complementary color for #hex is #EAFADE.