HEX: #15246D
RGB: (21,36,109)
#15246D contains mainly blue color. Web safe color of #15246D is #003366 (or #036).
#15246D color RGB value is (21,36,109).
RGB: (21,36,109) (8%,14%,43%)
R 21 of 255 = 8%
G 36 of 255 = 14%
B 109 of 255 = 43%
R + G + B ~ 22%. #15246D is dark color.
R + G + B =
21 + 36 + 109 = 166 (100%)
R 21 of 166 ~ 12.65%
G 36 of 166 ~ 21.69%
B 109 of 166 ~ 65.66%
#15246D color CMYK value is (81,67,0,57).
CMYK: (81,67,0,57) C81M67Y0K57 (81%,67%,0%,57%) (0.81/0.67/0.00/0.57)
15 | 24 | 6D | |
---|---|---|---|
RGB | 21 | 36 | 109 |
HSL | 230° | 67.69% | 25.49% |
HSB/HSV | 230° | 80.73% | 42.75% |
CMYK | 80.73% | 66.97% | 0.00% |
57.25% |
HEX | 15 | 24 | 6D |
Decimal | 21 | 36 | 109 |
Binary | 10101 | 100100 | 1101101 |
Octal | 25 | 44 | 155 |
Examples of css and html codes for elements with #15246D color. Also use rgb(21,36,109) instead hex code.
.myTextColor { color: #15246D; }
<p style="color:#15246D">This sample text font color is #15246D.</p>
This text font color is #15246D.
.myBgColor { background-color: #15246D; }
<div style="background-color:#15246D">Inner text</div>
This div background color is #15246D.
.myBorderColor { border: 1px solid #15246D; }
<div style="border:3px solid #15246D">Div</div>
This div border color is #15246D.
.myOpacity80 { color: #15246D; opacity: 0.8; }
<p style="color:#15246D;opacity:0.8;">80%</p>
Text with #15246D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15246D;}
<p style="text-shadow: 3px 3px 1px #15246D">Text here.</p>
This text has shadow with #15246D color.
.textShadow {text-shadow: 3px 3px 1px #15246D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15246D, 5px 5px 20px red">Text here.</p>
This text has shadow with #15246D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15246D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15246D, Direction=45, Strength=4)">Text</p>
This text has shadow with #15246D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #15246D; -webkit-box-shadow: 1px 1px 3px 2px #15246D; box-shadow: 1px 1px 3px 2px #15246D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #15246D; -webkit-box-shadow: 1px 1px 3px 2px #15246D; box-shadow:1px 1px 3px 2px #15246D;">
Div content here</div>
This text has color #15246D on black background.
This text has color #15246D on white background.
This text has black color on #15246D background.
This text has white color on #15246D background.