HEX: #0C477E
RGB: (12,71,126)
#0C477E contains mainly green and blue colors. Web safe color of #0C477E is #003366 (or #036).
#0C477E color RGB value is (12,71,126).
RGB: (12,71,126) (5%,28%,49%)
R 12 of 255 = 5%
G 71 of 255 = 28%
B 126 of 255 = 49%
R + G + B ~ 27%. #0C477E is quite dark color.
R + G + B =
12 + 71 + 126 = 209 (100%)
R 12 of 209 ~ 5.74%
G 71 of 209 ~ 33.97%
B 126 of 209 ~ 60.29%
#0C477E color CMYK value is (90,44,0,51).
CMYK: (90,44,0,51) C90M44Y0K51 (90%,44%,0%,51%) (0.90/0.44/0.00/0.51)
0C | 47 | 7E | |
---|---|---|---|
RGB | 12 | 71 | 126 |
HSL | 209° | 82.61% | 27.06% |
HSB/HSV | 209° | 90.48% | 49.41% |
CMYK | 90.48% | 43.65% | 0.00% |
50.59% |
HEX | 0C | 47 | 7E |
Decimal | 12 | 71 | 126 |
Binary | 1100 | 1000111 | 1111110 |
Octal | 14 | 107 | 176 |
Examples of css and html codes for elements with #0C477E color. Also use rgb(12,71,126) instead hex code.
.myTextColor { color: #0C477E; }
<p style="color:#0C477E">This sample text font color is #0C477E.</p>
This text font color is #0C477E.
.myBgColor { background-color: #0C477E; }
<div style="background-color:#0C477E">Inner text</div>
This div background color is #0C477E.
.myBorderColor { border: 1px solid #0C477E; }
<div style="border:3px solid #0C477E">Div</div>
This div border color is #0C477E.
.myOpacity80 { color: #0C477E; opacity: 0.8; }
<p style="color:#0C477E;opacity:0.8;">80%</p>
Text with #0C477E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C477E;}
<p style="text-shadow: 3px 3px 1px #0C477E">Text here.</p>
This text has shadow with #0C477E color.
.textShadow {text-shadow: 3px 3px 1px #0C477E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C477E, 5px 5px 20px red">Text here.</p>
This text has shadow with #0C477E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C477E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C477E, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C477E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C477E; -webkit-box-shadow: 1px 1px 3px 2px #0C477E; box-shadow: 1px 1px 3px 2px #0C477E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C477E; -webkit-box-shadow: 1px 1px 3px 2px #0C477E; box-shadow:1px 1px 3px 2px #0C477E;">
Div content here</div>
This text has color #0C477E on black background.
This text has color #0C477E on white background.
This text has black color on #0C477E background.
This text has white color on #0C477E background.