HEX: #0C495C
RGB: (12,73,92)
#0C495C contains mainly green and blue colors. Web safe color of #0C495C is #003366 (or #036).
#0C495C color RGB value is (12,73,92).
RGB: (12,73,92) (5%,29%,36%)
R 12 of 255 = 5%
G 73 of 255 = 29%
B 92 of 255 = 36%
R + G + B ~ 23%. #0C495C is dark color.
R + G + B =
12 + 73 + 92 = 177 (100%)
R 12 of 177 ~ 6.78%
G 73 of 177 ~ 41.24%
B 92 of 177 ~ 51.98%
#0C495C color CMYK value is (87,21,0,64).
CMYK: (87,21,0,64) C87M21Y0K64 (87%,21%,0%,64%) (0.87/0.21/0.00/0.64)
0C | 49 | 5C | |
---|---|---|---|
RGB | 12 | 73 | 92 |
HSL | 194° | 76.92% | 20.39% |
HSB/HSV | 194° | 86.96% | 36.08% |
CMYK | 86.96% | 20.65% | 0.00% |
63.92% |
HEX | 0C | 49 | 5C |
Decimal | 12 | 73 | 92 |
Binary | 1100 | 1001001 | 1011100 |
Octal | 14 | 111 | 134 |
Examples of css and html codes for elements with #0C495C color. Also use rgb(12,73,92) instead hex code.
.myTextColor { color: #0C495C; }
<p style="color:#0C495C">This sample text font color is #0C495C.</p>
This text font color is #0C495C.
.myBgColor { background-color: #0C495C; }
<div style="background-color:#0C495C">Inner text</div>
This div background color is #0C495C.
.myBorderColor { border: 1px solid #0C495C; }
<div style="border:3px solid #0C495C">Div</div>
This div border color is #0C495C.
.myOpacity80 { color: #0C495C; opacity: 0.8; }
<p style="color:#0C495C;opacity:0.8;">80%</p>
Text with #0C495C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C495C;}
<p style="text-shadow: 3px 3px 1px #0C495C">Text here.</p>
This text has shadow with #0C495C color.
.textShadow {text-shadow: 3px 3px 1px #0C495C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C495C, 5px 5px 20px red">Text here.</p>
This text has shadow with #0C495C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C495C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C495C, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C495C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C495C; -webkit-box-shadow: 1px 1px 3px 2px #0C495C; box-shadow: 1px 1px 3px 2px #0C495C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C495C; -webkit-box-shadow: 1px 1px 3px 2px #0C495C; box-shadow:1px 1px 3px 2px #0C495C;">
Div content here</div>
This text has color #0C495C on black background.
This text has color #0C495C on white background.
This text has black color on #0C495C background.
This text has white color on #0C495C background.