Shades of Midnight Blue #0C126D
Tints of Midnight Blue #0C126D
RGB
CMYK
RGB Variations
Color information
#0C126D (or 0x0C126D) is known color: Midnight Blue. HEX triplet: 0C, 12 and 6D. RGB value is (12,18,109). Sum of RGB (Red+Green+Blue) = 12+18+109=139 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.63% from 139); Green value is 18 (7.42% from 255 or 12.95% from 139); Blue value is 109 (42.97% from 255 or 78.42% from 139); Max value from RGB is 109 - color contains mainly: blue. Hex color #0C126D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C126D is #F3ED92. Grayscale: #1A1A1A. Windows color (decimal): -15986067 or 7148044. OLE color: 7148044.
HSL color Cylindrical-coordinate representation of color #0C126D: hue angle of 236.29º 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 #0C126D is Cyan = 0.89, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 12 | 18 | 109 | - |
| CMYK | 0.89 | 0.83 | 0 | 0.57 |
| HSL | 236.29º | 0.8% | 0.24% | - |
| HSV(B) | 236.29º | 0.89% | 0.43% | - |
| XYZ | 3.13 | 1.61 | 14.61 | - |
| YUV | 26.58 | 174.51 | 117.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 18 | 109 | 0.89 | 0.83 | 0 | 0.57 | 236.29 | 0.8 | 0.24 |
| Hex | C | 12 | 6D | 59 | 53 | 0 | 39 | EC | 50 | 18 |
| Octal | 14 | 22 | 155 | 131 | 123 | 0 | 71 | 354 | 120 | 30 |
| Binary | 1100 | 10010 | 1101101 | 1011001 | 1010011 | 0 | 111001 | 11101100 | 1010000 | 11000 |
Color Harmonies of #0C126D
Complementary color
Monochromatic Colors of #0C126D
Black with #0C126D
Text Example
Text Example
White with #0C126D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C126D; }
p { color: rgb(12,18,109); }
H1.HeaderClassName
{
color: #0C126D;
}
.AnyTagClassName
{
color: #0C126D;
}
</style>
background-color css
<style>
a { background-color: #0C126D; }
a { background-color: rgb(12,18,109); }
div.DivClassName
{
background-color: #0C126D;
}
.BgClassName
{
background-color: #0C126D;
}
</style>
border-color css
<style>
span { border-color: #0C126D; }
span { border-color: rgb(12,18,109); }
td.TdClassName
{
border-color: #0C126D;
}
.TagClassName
{
border-color: #0C126D;
}
</style>