HEX: #15126D
RGB: (21,18,109)
#15126D contains mainly blue color. Web safe color of #15126D is #000066 (or #006).
#15126D color RGB value is (21,18,109).
RGB: (21,18,109) (8%,7%,43%)
R 21 of 255 = 8%
G 18 of 255 = 7%
B 109 of 255 = 43%
R + G + B ~ 19%. #15126D is dark color.
R + G + B =
21 + 18 + 109 = 148 (100%)
R 21 of 148 ~ 14.19%
G 18 of 148 ~ 12.16%
B 109 of 148 ~ 73.65%
#15126D color CMYK value is (81,83,0,57).
CMYK: (81,83,0,57) C81M83Y0K57 (81%,83%,0%,57%) (0.81/0.83/0.00/0.57)
15 | 12 | 6D | |
---|---|---|---|
RGB | 21 | 18 | 109 |
HSL | 242° | 71.65% | 24.90% |
HSB/HSV | 242° | 83.49% | 42.75% |
CMYK | 80.73% | 83.49% | 0.00% |
57.25% |
HEX | 15 | 12 | 6D |
Decimal | 21 | 18 | 109 |
Binary | 10101 | 10010 | 1101101 |
Octal | 25 | 22 | 155 |
Examples of css and html codes for elements with #15126D color. Also use rgb(21,18,109) instead hex code.
.myTextColor { color: #15126D; }
<p style="color:#15126D">This sample text font color is #15126D.</p>
This text font color is #15126D.
.myBgColor { background-color: #15126D; }
<div style="background-color:#15126D">Inner text</div>
This div background color is #15126D.
.myBorderColor { border: 1px solid #15126D; }
<div style="border:3px solid #15126D">Div</div>
This div border color is #15126D.
.myOpacity80 { color: #15126D; opacity: 0.8; }
<p style="color:#15126D;opacity:0.8;">80%</p>
Text with #15126D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15126D;}
<p style="text-shadow: 3px 3px 1px #15126D">Text here.</p>
This text has shadow with #15126D color.
.textShadow {text-shadow: 3px 3px 1px #15126D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15126D, 5px 5px 20px red">Text here.</p>
This text has shadow with #15126D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15126D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15126D, Direction=45, Strength=4)">Text</p>
This text has shadow with #15126D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #15126D; -webkit-box-shadow: 1px 1px 3px 2px #15126D; box-shadow: 1px 1px 3px 2px #15126D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #15126D; -webkit-box-shadow: 1px 1px 3px 2px #15126D; box-shadow:1px 1px 3px 2px #15126D;">
Div content here</div>
This text has color #15126D on black background.
This text has color #15126D on white background.
This text has black color on #15126D background.
This text has white color on #15126D background.