HEX: #0C5477
RGB: (12,84,119)
#0C5477 contains mainly green and blue colors. Web safe color of #0C5477 is #006666 (or #066).
#0C5477 color RGB value is (12,84,119).
RGB: (12,84,119) (5%,33%,47%)
R 12 of 255 = 5%
G 84 of 255 = 33%
B 119 of 255 = 47%
R + G + B ~ 28%. #0C5477 is quite dark color.
R + G + B =
12 + 84 + 119 = 215 (100%)
R 12 of 215 ~ 5.58%
G 84 of 215 ~ 39.07%
B 119 of 215 ~ 55.35%
#0C5477 color CMYK value is (90,29,0,53).
CMYK: (90,29,0,53) C90M29Y0K53 (90%,29%,0%,53%) (0.90/0.29/0.00/0.53)
0C | 54 | 77 | |
---|---|---|---|
RGB | 12 | 84 | 119 |
HSL | 200° | 81.68% | 25.69% |
HSB/HSV | 200° | 89.92% | 46.67% |
CMYK | 89.92% | 29.41% | 0.00% |
53.33% |
HEX | 0C | 54 | 77 |
Decimal | 12 | 84 | 119 |
Binary | 1100 | 1010100 | 1110111 |
Octal | 14 | 124 | 167 |
Examples of css and html codes for elements with #0C5477 color. Also use rgb(12,84,119) instead hex code.
.myTextColor { color: #0C5477; }
<p style="color:#0C5477">This sample text font color is #0C5477.</p>
This text font color is #0C5477.
.myBgColor { background-color: #0C5477; }
<div style="background-color:#0C5477">Inner text</div>
This div background color is #0C5477.
.myBorderColor { border: 1px solid #0C5477; }
<div style="border:3px solid #0C5477">Div</div>
This div border color is #0C5477.
.myOpacity80 { color: #0C5477; opacity: 0.8; }
<p style="color:#0C5477;opacity:0.8;">80%</p>
Text with #0C5477 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C5477;}
<p style="text-shadow: 3px 3px 1px #0C5477">Text here.</p>
This text has shadow with #0C5477 color.
.textShadow {text-shadow: 3px 3px 1px #0C5477, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C5477, 5px 5px 20px red">Text here.</p>
This text has shadow with #0C5477 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C5477, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C5477, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C5477 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C5477; -webkit-box-shadow: 1px 1px 3px 2px #0C5477; box-shadow: 1px 1px 3px 2px #0C5477; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C5477; -webkit-box-shadow: 1px 1px 3px 2px #0C5477; box-shadow:1px 1px 3px 2px #0C5477;">
Div content here</div>
This text has color #0C5477 on black background.
This text has color #0C5477 on white background.
This text has black color on #0C5477 background.
This text has white color on #0C5477 background.