HEX: #15004D
RGB: (21,0,77)
#15004D contains only red and blue colors. Web safe color of #15004D is #000033 (or #003).
#15004D color RGB value is (21,0,77).
RGB: (21,0,77)
(8%, 0%, 30%)
R 21 of 255 = 8%
G 0 of 255 = 0%
B 77 of 255 = 30%
R + G + B ~ 13%. #15004D is dark color.
R + G + B = 21 + 0 + 77 = 98 (100%)
R 21 of 98 ~ 21.43%
G 0 of 98 ~ 0%
B 77 of 98 ~ 78.57'%
#15004D color CMYK value is (73,100,0,70).
CMYK: (73,100,0,70)
C73M100Y0K70 (73%, 100%, 0%, 70%)
(0.73 / 1.00 / 0.00 / 0.70)
Color #15004D in popluar color models
15 | 00 | 4D | |
---|---|---|---|
RGB | 21 | 0 | 77 |
HSL | 256° | 100.00% | 15.10% |
HSB/HSV | 256° | 100.00% | 30.20% |
CMYK | 72.73% | 100.00% | 0.00% |
69.80% |
Color #15004D in popluar number systems.
HEX | 15 | 00 | 4D |
Decimal | 21 | 0 | 77 |
Binary | 10101 | 0 | 1001101 |
Octal | 25 | 0 | 115 |
Shades of #15004D
Tints of #15004D
Examples of css and html codes for elements with #15004D color. Also use rgb(21,0,77) instead hex code.
.myTextColor { color: #15004D; }
<p style="color:#15004D">This sample text font color is #15004D.</p>
This text font color is #15004D.
.myBgColor { background-color: #15004D; }
<div style="background-color:#15004D">Inner text</div>
This div background color is #15004D.
.myBorderColor { border: 1px solid #15004D; }
<div style="border:3px solid #15004D">Div</div>
This div border color is #15004D.
.myOpacity80 { color: #15004D; opacity: 0.8; }
<p style="color:#15004D;opacity:0.8;">80%</p>
Text with #15004D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15004D;}
<p style="text-shadow: 3px 3px 1px #15004D">Text here.</p>
This text has shadow with #15004D color.
.textShadow {text-shadow: 3px 3px 1px #15004D', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15004D, 5px 5px 20px red">Text here.</p>
This text has shadow with #15004D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15004D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15004D, Direction=45, Strength=4)">Text</p>
This text has shadow with #15004D and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #15004D;
-webkit-box-shadow: 1px 1px 3px 2px #15004D;
box-shadow: 1px 1px 3px 2px #15004D;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #15004D; -webkit-box-shadow: 1px 1px 3px 2px #15004D; box-shadow:1px 1px 3px 2px #15004D;">
Div content here
</div>
This text has color #15004D on black background.
This text has color #15004D on white background.
This text has black color on #15004D background.
This text has white color on #15004D background.
Complementary color for #hex is #EAFFB2.