Shades of Midnight Blue #0C126E
Tints of Midnight Blue #0C126E
RGB
CMYK
RGB Variations
Color information
#0C126E (or 0x0C126E) is known color: Midnight Blue. HEX triplet: 0C, 12 and 6E. RGB value is (12,18,110). Sum of RGB (Red+Green+Blue) = 12+18+110=140 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.57% from 140); Green value is 18 (7.42% from 255 or 12.86% from 140); Blue value is 110 (43.36% from 255 or 78.57% from 140); Max value from RGB is 110 - color contains mainly: blue. Hex color #0C126E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C126E is #F3ED91. Grayscale: #1A1A1A. Windows color (decimal): -15986066 or 7213580. OLE color: 7213580.
HSL color Cylindrical-coordinate representation of color #0C126E: hue angle of 236.33º 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 #0C126E is Cyan = 0.89, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 12 | 18 | 110 | - |
| CMYK | 0.89 | 0.84 | 0 | 0.57 |
| HSL | 236.33º | 0.8% | 0.24% | - |
| HSV(B) | 236.33º | 0.89% | 0.43% | - |
| XYZ | 3.18 | 1.64 | 14.9 | - |
| YUV | 26.69 | 175.01 | 117.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 18 | 110 | 0.89 | 0.84 | 0 | 0.57 | 236.33 | 0.8 | 0.24 |
| Hex | C | 12 | 6E | 59 | 54 | 0 | 39 | EC | 50 | 18 |
| Octal | 14 | 22 | 156 | 131 | 124 | 0 | 71 | 354 | 120 | 30 |
| Binary | 1100 | 10010 | 1101110 | 1011001 | 1010100 | 0 | 111001 | 11101100 | 1010000 | 11000 |
Color Harmonies of #0C126E
Complementary color
Monochromatic Colors of #0C126E
Black with #0C126E
Text Example
Text Example
White with #0C126E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C126E; }
p { color: rgb(12,18,110); }
H1.HeaderClassName
{
color: #0C126E;
}
.AnyTagClassName
{
color: #0C126E;
}
</style>
background-color css
<style>
a { background-color: #0C126E; }
a { background-color: rgb(12,18,110); }
div.DivClassName
{
background-color: #0C126E;
}
.BgClassName
{
background-color: #0C126E;
}
</style>
border-color css
<style>
span { border-color: #0C126E; }
span { border-color: rgb(12,18,110); }
td.TdClassName
{
border-color: #0C126E;
}
.TagClassName
{
border-color: #0C126E;
}
</style>