Shades of Midnight Blue #0C166D
Tints of Midnight Blue #0C166D
RGB
CMYK
RGB Variations
Color information
#0C166D (or 0x0C166D) is known color: Midnight Blue. HEX triplet: 0C, 16 and 6D. RGB value is (12,22,109). Sum of RGB (Red+Green+Blue) = 12+22+109=143 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.39% from 143); Green value is 22 (8.98% from 255 or 15.38% from 143); Blue value is 109 (42.97% from 255 or 76.22% from 143); Max value from RGB is 109 - color contains mainly: blue. Hex color #0C166D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C166D is #F3E992. Grayscale: #1C1C1C. Windows color (decimal): -15985043 or 7149068. OLE color: 7149068.
HSL color Cylindrical-coordinate representation of color #0C166D: hue angle of 233.81º degrees, saturation: 0.8, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C166D is Cyan = 0.89, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 12 | 22 | 109 | - |
| CMYK | 0.89 | 0.80 | 0 | 0.57 |
| HSL | 233.81º | 0.8% | 0.24% | - |
| HSV(B) | 233.81º | 0.89% | 0.43% | - |
| XYZ | 3.2 | 1.76 | 14.64 | - |
| YUV | 28.93 | 173.19 | 115.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 22 | 109 | 0.89 | 0.80 | 0 | 0.57 | 233.81 | 0.8 | 0.24 |
| Hex | C | 16 | 6D | 59 | 50 | 0 | 39 | EA | 50 | 18 |
| Octal | 14 | 26 | 155 | 131 | 120 | 0 | 71 | 352 | 120 | 30 |
| Binary | 1100 | 10110 | 1101101 | 1011001 | 1010000 | 0 | 111001 | 11101010 | 1010000 | 11000 |
Color Harmonies of #0C166D
Complementary color
Monochromatic Colors of #0C166D
Black with #0C166D
Text Example
Text Example
White with #0C166D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C166D; }
p { color: rgb(12,22,109); }
H1.HeaderClassName
{
color: #0C166D;
}
.AnyTagClassName
{
color: #0C166D;
}
</style>
background-color css
<style>
a { background-color: #0C166D; }
a { background-color: rgb(12,22,109); }
div.DivClassName
{
background-color: #0C166D;
}
.BgClassName
{
background-color: #0C166D;
}
</style>
border-color css
<style>
span { border-color: #0C166D; }
span { border-color: rgb(12,22,109); }
td.TdClassName
{
border-color: #0C166D;
}
.TagClassName
{
border-color: #0C166D;
}
</style>