Shades of Midnight Blue #0C0F6F
Tints of Midnight Blue #0C0F6F
RGB
CMYK
RGB Variations
Color information
#0C0F6F (or 0x0C0F6F) is known color: Midnight Blue. HEX triplet: 0C, 0F and 6F. RGB value is (12,15,111). Sum of RGB (Red+Green+Blue) = 12+15+111=138 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.70% from 138); Green value is 15 (6.25% from 255 or 10.87% from 138); Blue value is 111 (43.75% from 255 or 80.43% from 138); Max value from RGB is 111 - color contains mainly: blue. Hex color #0C0F6F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0F6F is #F3F090. Grayscale: #181818. Windows color (decimal): -15986833 or 7278348. OLE color: 7278348.
HSL color Cylindrical-coordinate representation of color #0C0F6F: hue angle of 238.18º degrees, saturation: 0.8, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C0F6F is Cyan = 0.89, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 12 | 15 | 111 | - |
| CMYK | 0.89 | 0.86 | 0 | 0.56 |
| HSL | 238.18º | 0.8% | 0.24% | - |
| HSV(B) | 238.18º | 0.89% | 0.44% | - |
| XYZ | 3.19 | 1.57 | 15.17 | - |
| YUV | 25.05 | 176.51 | 118.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 15 | 111 | 0.89 | 0.86 | 0 | 0.56 | 238.18 | 0.8 | 0.24 |
| Hex | C | F | 6F | 59 | 56 | 0 | 38 | EE | 50 | 18 |
| Octal | 14 | 17 | 157 | 131 | 126 | 0 | 70 | 356 | 120 | 30 |
| Binary | 1100 | 1111 | 1101111 | 1011001 | 1010110 | 0 | 111000 | 11101110 | 1010000 | 11000 |
Color Harmonies of #0C0F6F
Complementary color
Monochromatic Colors of #0C0F6F
Black with #0C0F6F
Text Example
Text Example
White with #0C0F6F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0F6F; }
p { color: rgb(12,15,111); }
H1.HeaderClassName
{
color: #0C0F6F;
}
.AnyTagClassName
{
color: #0C0F6F;
}
</style>
background-color css
<style>
a { background-color: #0C0F6F; }
a { background-color: rgb(12,15,111); }
div.DivClassName
{
background-color: #0C0F6F;
}
.BgClassName
{
background-color: #0C0F6F;
}
</style>
border-color css
<style>
span { border-color: #0C0F6F; }
span { border-color: rgb(12,15,111); }
td.TdClassName
{
border-color: #0C0F6F;
}
.TagClassName
{
border-color: #0C0F6F;
}
</style>