HEX: #0F0FAB
RGB: (15,15,171)
#0F0FAB contains mainly blue color. Web safe color of #0F0FAB is #000099 (or #009).
#0F0FAB color RGB value is (15,15,171).
RGB: (15,15,171) (6%,6%,67%)
R 15 of 255 = 6%
G 15 of 255 = 6%
B 171 of 255 = 67%
R + G + B ~ 26%. #0F0FAB is quite dark color.
R + G + B =
15 + 15 + 171 = 201 (100%)
R 15 of 201 ~ 7.46%
G 15 of 201 ~ 7.46%
B 171 of 201 ~ 85.07%
#0F0FAB color CMYK value is (91,91,0,33).
CMYK: (91,91,0,33) C91M91Y0K33 (91%,91%,0%,33%) (0.91/0.91/0.00/0.33)
0F | 0F | AB | |
---|---|---|---|
RGB | 15 | 15 | 171 |
HSL | 240° | 83.87% | 36.47% |
HSB/HSV | 240° | 91.23% | 67.06% |
CMYK | 91.23% | 91.23% | 0.00% |
32.94% |
HEX | 0F | 0F | AB |
Decimal | 15 | 15 | 171 |
Binary | 1111 | 1111 | 10101011 |
Octal | 17 | 17 | 253 |
Examples of css and html codes for elements with #0F0FAB color. Also use rgb(15,15,171) instead hex code.
.myTextColor { color: #0F0FAB; }
<p style="color:#0F0FAB">This sample text font color is #0F0FAB.</p>
This text font color is #0F0FAB.
.myBgColor { background-color: #0F0FAB; }
<div style="background-color:#0F0FAB">Inner text</div>
This div background color is #0F0FAB.
.myBorderColor { border: 1px solid #0F0FAB; }
<div style="border:3px solid #0F0FAB">Div</div>
This div border color is #0F0FAB.
.myOpacity80 { color: #0F0FAB; opacity: 0.8; }
<p style="color:#0F0FAB;opacity:0.8;">80%</p>
Text with #0F0FAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0F0FAB;}
<p style="text-shadow: 3px 3px 1px #0F0FAB">Text here.</p>
This text has shadow with #0F0FAB color.
.textShadow {text-shadow: 3px 3px 1px #0F0FAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0F0FAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #0F0FAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0F0FAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0F0FAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #0F0FAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0F0FAB; -webkit-box-shadow: 1px 1px 3px 2px #0F0FAB; box-shadow: 1px 1px 3px 2px #0F0FAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0F0FAB; -webkit-box-shadow: 1px 1px 3px 2px #0F0FAB; box-shadow:1px 1px 3px 2px #0F0FAB;">
Div content here</div>
This text has color #0F0FAB on black background.
This text has color #0F0FAB on white background.
This text has black color on #0F0FAB background.
This text has white color on #0F0FAB background.