HEX: #000C5A
RGB: (0,12,90)
#000C5A contains mainly blue color. Web safe color of #000C5A is #000066 (or #006).
#000C5A color RGB value is (0,12,90).
RGB: (0,12,90) (0%,5%,35%)
R 0 of 255 = 0%
G 12 of 255 = 5%
B 90 of 255 = 35%
R + G + B ~ 13%. #000C5A is dark color.
R + G + B =
0 + 12 + 90 = 102 (100%)
R 0 of 102 ~ 0%
G 12 of 102 ~ 11.76%
B 90 of 102 ~ 88.24%
#000C5A color CMYK value is (100,87,0,65).
CMYK: (100,87,0,65) C100M87Y0K65 (100%,87%,0%,65%) (1.00/0.87/0.00/0.65)
00 | 0C | 5A | |
---|---|---|---|
RGB | 0 | 12 | 90 |
HSL | 232° | 100.00% | 17.65% |
HSB/HSV | 232° | 100.00% | 35.29% |
CMYK | 100.00% | 86.67% | 0.00% |
64.71% |
HEX | 00 | 0C | 5A |
Decimal | 0 | 12 | 90 |
Binary | 0 | 1100 | 1011010 |
Octal | 0 | 14 | 132 |
Examples of css and html codes for elements with #000C5A color. Also use rgb(0,12,90) instead hex code.
.myTextColor { color: #000C5A; }
<p style="color:#000C5A">This sample text font color is #000C5A.</p>
This text font color is #000C5A.
.myBgColor { background-color: #000C5A; }
<div style="background-color:#000C5A">Inner text</div>
This div background color is #000C5A.
.myBorderColor { border: 1px solid #000C5A; }
<div style="border:3px solid #000C5A">Div</div>
This div border color is #000C5A.
.myOpacity80 { color: #000C5A; opacity: 0.8; }
<p style="color:#000C5A;opacity:0.8;">80%</p>
Text with #000C5A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #000C5A;}
<p style="text-shadow: 3px 3px 1px #000C5A">Text here.</p>
This text has shadow with #000C5A color.
.textShadow {text-shadow: 3px 3px 1px #000C5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #000C5A, 5px 5px 20px red">Text here.</p>
This text has shadow with #000C5A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#000C5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#000C5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #000C5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #000C5A; -webkit-box-shadow: 1px 1px 3px 2px #000C5A; box-shadow: 1px 1px 3px 2px #000C5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #000C5A; -webkit-box-shadow: 1px 1px 3px 2px #000C5A; box-shadow:1px 1px 3px 2px #000C5A;">
Div content here</div>
This text has color #000C5A on black background.
This text has color #000C5A on white background.
This text has black color on #000C5A background.
This text has white color on #000C5A background.