HEX: #0F155F
RGB: (15,21,95)
#0F155F contains mainly blue color. Web safe color of #0F155F is #000066 (or #006).
#0F155F color RGB value is (15,21,95).
RGB: (15,21,95) (6%,8%,37%)
R 15 of 255 = 6%
G 21 of 255 = 8%
B 95 of 255 = 37%
R + G + B ~ 17%. #0F155F is dark color.
R + G + B =
15 + 21 + 95 = 131 (100%)
R 15 of 131 ~ 11.45%
G 21 of 131 ~ 16.03%
B 95 of 131 ~ 72.52%
#0F155F color CMYK value is (84,78,0,63).
CMYK: (84,78,0,63) C84M78Y0K63 (84%,78%,0%,63%) (0.84/0.78/0.00/0.63)
0F | 15 | 5F | |
---|---|---|---|
RGB | 15 | 21 | 95 |
HSL | 236° | 72.73% | 21.57% |
HSB/HSV | 236° | 84.21% | 37.25% |
CMYK | 84.21% | 77.89% | 0.00% |
62.75% |
HEX | 0F | 15 | 5F |
Decimal | 15 | 21 | 95 |
Binary | 1111 | 10101 | 1011111 |
Octal | 17 | 25 | 137 |
Examples of css and html codes for elements with #0F155F color. Also use rgb(15,21,95) instead hex code.
.myTextColor { color: #0F155F; }
<p style="color:#0F155F">This sample text font color is #0F155F.</p>
This text font color is #0F155F.
.myBgColor { background-color: #0F155F; }
<div style="background-color:#0F155F">Inner text</div>
This div background color is #0F155F.
.myBorderColor { border: 1px solid #0F155F; }
<div style="border:3px solid #0F155F">Div</div>
This div border color is #0F155F.
.myOpacity80 { color: #0F155F; opacity: 0.8; }
<p style="color:#0F155F;opacity:0.8;">80%</p>
Text with #0F155F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0F155F;}
<p style="text-shadow: 3px 3px 1px #0F155F">Text here.</p>
This text has shadow with #0F155F color.
.textShadow {text-shadow: 3px 3px 1px #0F155F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0F155F, 5px 5px 20px red">Text here.</p>
This text has shadow with #0F155F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0F155F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0F155F, Direction=45, Strength=4)">Text</p>
This text has shadow with #0F155F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0F155F; -webkit-box-shadow: 1px 1px 3px 2px #0F155F; box-shadow: 1px 1px 3px 2px #0F155F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0F155F; -webkit-box-shadow: 1px 1px 3px 2px #0F155F; box-shadow:1px 1px 3px 2px #0F155F;">
Div content here</div>
This text has color #0F155F on black background.
This text has color #0F155F on white background.
This text has black color on #0F155F background.
This text has white color on #0F155F background.