HEX: #15478A
RGB: (21,71,138)
#15478A contains mainly blue color. Web safe color of #15478A is #003399 (or #039).
#15478A color RGB value is (21,71,138).
RGB: (21,71,138)
(8%, 28%, 54%)
R 21 of 255 = 8%
G 71 of 255 = 28%
B 138 of 255 = 54%
R + G + B ~ 30%. #15478A is quite dark color.
R + G + B = 21 + 71 + 138 = 230 (100%)
R 21 of 230 ~ 9.13%
G 71 of 230 ~ 30.87%
B 138 of 230 ~ 60'%
#15478A color CMYK value is (85,49,0,46).
CMYK: (85,49,0,46) C85M49Y0K46 (85%,49%,0%,46%) (0.85/0.49/0.00/0.46)
Color #15478A in popluar color models
15 | 47 | 8A | |
---|---|---|---|
RGB | 21 | 71 | 138 |
HSL | 214° | 73.58% | 31.18% |
HSB/HSV | 214° | 84.78% | 54.12% |
CMYK | 84.78% | 48.55% | 0.00% |
45.88% |
Color #15478A in popluar number systems.
HEX | 15 | 47 | 8A |
Decimal | 21 | 71 | 138 |
Binary | 10101 | 1000111 | 10001010 |
Octal | 25 | 107 | 212 |
Shades of #15478A
Tints of #15478A
Examples of css and html codes for elements with #15478A color. Also use rgb(21,71,138) instead hex code.
.myTextColor { color: #15478A; }
<p style="color:#15478A">This sample text font color is #15478A.</p>
This text font color is #15478A.
.myBgColor { background-color: #15478A; }
<div style="background-color:#15478A">Inner text</div>
This div background color is #15478A.
.myBorderColor { border: 1px solid #15478A; }
<div style="border:3px solid #15478A">Div</div>
This div border color is #15478A.
.myOpacity80 { color: #15478A; opacity: 0.8; }
<p style="color:#15478A;opacity:0.8;">80%</p>
Text with #15478A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15478A;}
<p style="text-shadow: 3px 3px 1px #15478A">Text here.</p>
This text has shadow with #15478A color.
.textShadow {text-shadow: 3px 3px 1px #15478A', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15478A, 5px 5px 20px red">Text here.</p>
This text has shadow with #15478A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15478A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15478A, Direction=45, Strength=4)">Text</p>
This text has shadow with #15478A and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #15478A;
-webkit-box-shadow: 1px 1px 3px 2px #15478A;
box-shadow: 1px 1px 3px 2px #15478A;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #15478A; -webkit-box-shadow: 1px 1px 3px 2px #15478A; box-shadow:1px 1px 3px 2px #15478A;">
Div content here
</div>
This text has color #15478A on black background.
This text has color #15478A on white background.
This text has black color on #15478A background.
This text has white color on #15478A background.
Complementary color for #hex is #EAB875.