HEX: #15204A
RGB: (21,32,74)
#15204A contains red, green and blue colors in about the same proportion. Web safe color of #15204A is #003333 (or #033).
#15204A color RGB value is (21,32,74).
RGB: (21,32,74) (8%,13%,29%)
R 21 of 255 = 8%
G 32 of 255 = 13%
B 74 of 255 = 29%
R + G + B ~ 17%. #15204A is dark color.
R + G + B =
21 + 32 + 74 = 127 (100%)
R 21 of 127 ~ 16.54%
G 32 of 127 ~ 25.2%
B 74 of 127 ~ 58.27%
#15204A color CMYK value is (72,57,0,71).
CMYK: (72,57,0,71) C72M57Y0K71 (72%,57%,0%,71%) (0.72/0.57/0.00/0.71)
15 | 20 | 4A | |
---|---|---|---|
RGB | 21 | 32 | 74 |
HSL | 228° | 55.79% | 18.63% |
HSB/HSV | 228° | 71.62% | 29.02% |
CMYK | 71.62% | 56.76% | 0.00% |
70.98% |
HEX | 15 | 20 | 4A |
Decimal | 21 | 32 | 74 |
Binary | 10101 | 100000 | 1001010 |
Octal | 25 | 40 | 112 |
Examples of css and html codes for elements with #15204A color. Also use rgb(21,32,74) instead hex code.
.myTextColor { color: #15204A; }
<p style="color:#15204A">This sample text font color is #15204A.</p>
This text font color is #15204A.
.myBgColor { background-color: #15204A; }
<div style="background-color:#15204A">Inner text</div>
This div background color is #15204A.
.myBorderColor { border: 1px solid #15204A; }
<div style="border:3px solid #15204A">Div</div>
This div border color is #15204A.
.myOpacity80 { color: #15204A; opacity: 0.8; }
<p style="color:#15204A;opacity:0.8;">80%</p>
Text with #15204A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15204A;}
<p style="text-shadow: 3px 3px 1px #15204A">Text here.</p>
This text has shadow with #15204A color.
.textShadow {text-shadow: 3px 3px 1px #15204A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15204A, 5px 5px 20px red">Text here.</p>
This text has shadow with #15204A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15204A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15204A, Direction=45, Strength=4)">Text</p>
This text has shadow with #15204A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #15204A; -webkit-box-shadow: 1px 1px 3px 2px #15204A; box-shadow: 1px 1px 3px 2px #15204A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #15204A; -webkit-box-shadow: 1px 1px 3px 2px #15204A; box-shadow:1px 1px 3px 2px #15204A;">
Div content here</div>
This text has color #15204A on black background.
This text has color #15204A on white background.
This text has black color on #15204A background.
This text has white color on #15204A background.