Shades of Midnight Blue #0C166C
Tints of Midnight Blue #0C166C
RGB
CMYK
RGB Variations
Color information
#0C166C (or 0x0C166C) is known color: Midnight Blue. HEX triplet: 0C, 16 and 6C. RGB value is (12,22,108). Sum of RGB (Red+Green+Blue) = 12+22+108=142 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.45% from 142); Green value is 22 (8.98% from 255 or 15.49% from 142); Blue value is 108 (42.58% from 255 or 76.06% from 142); Max value from RGB is 108 - color contains mainly: blue. Hex color #0C166C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C166C is #F3E993. Grayscale: #1C1C1C. Windows color (decimal): -15985044 or 7083532. OLE color: 7083532.
HSL color Cylindrical-coordinate representation of color #0C166C: hue angle of 233.75º degrees, saturation: 0.8, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C166C is Cyan = 0.89, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 12 | 22 | 108 | - |
| CMYK | 0.89 | 0.80 | 0 | 0.58 |
| HSL | 233.75º | 0.8% | 0.24% | - |
| HSV(B) | 233.75º | 0.89% | 0.42% | - |
| XYZ | 3.15 | 1.73 | 14.36 | - |
| YUV | 28.81 | 172.69 | 116.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 22 | 108 | 0.89 | 0.80 | 0 | 0.58 | 233.75 | 0.8 | 0.24 |
| Hex | C | 16 | 6C | 59 | 50 | 0 | 3A | EA | 50 | 18 |
| Octal | 14 | 26 | 154 | 131 | 120 | 0 | 72 | 352 | 120 | 30 |
| Binary | 1100 | 10110 | 1101100 | 1011001 | 1010000 | 0 | 111010 | 11101010 | 1010000 | 11000 |
Color Harmonies of #0C166C
Complementary color
Monochromatic Colors of #0C166C
Black with #0C166C
Text Example
Text Example
White with #0C166C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C166C; }
p { color: rgb(12,22,108); }
H1.HeaderClassName
{
color: #0C166C;
}
.AnyTagClassName
{
color: #0C166C;
}
</style>
background-color css
<style>
a { background-color: #0C166C; }
a { background-color: rgb(12,22,108); }
div.DivClassName
{
background-color: #0C166C;
}
.BgClassName
{
background-color: #0C166C;
}
</style>
border-color css
<style>
span { border-color: #0C166C; }
span { border-color: rgb(12,22,108); }
td.TdClassName
{
border-color: #0C166C;
}
.TagClassName
{
border-color: #0C166C;
}
</style>