Shades of Midnight Blue #0C126C
Tints of Midnight Blue #0C126C
RGB
CMYK
RGB Variations
Color information
#0C126C (or 0x0C126C) is known color: Midnight Blue. HEX triplet: 0C, 12 and 6C. RGB value is (12,18,108). Sum of RGB (Red+Green+Blue) = 12+18+108=138 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.70% from 138); Green value is 18 (7.42% from 255 or 13.04% from 138); Blue value is 108 (42.58% from 255 or 78.26% from 138); Max value from RGB is 108 - color contains mainly: blue. Hex color #0C126C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C126C is #F3ED93. Grayscale: #1A1A1A. Windows color (decimal): -15986068 or 7082508. OLE color: 7082508.
HSL color Cylindrical-coordinate representation of color #0C126C: hue angle of 236.25º 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 #0C126C is Cyan = 0.89, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 12 | 18 | 108 | - |
| CMYK | 0.89 | 0.83 | 0 | 0.58 |
| HSL | 236.25º | 0.8% | 0.24% | - |
| HSV(B) | 236.25º | 0.89% | 0.42% | - |
| XYZ | 3.07 | 1.59 | 14.33 | - |
| YUV | 26.47 | 174.01 | 117.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 18 | 108 | 0.89 | 0.83 | 0 | 0.58 | 236.25 | 0.8 | 0.24 |
| Hex | C | 12 | 6C | 59 | 53 | 0 | 3A | EC | 50 | 18 |
| Octal | 14 | 22 | 154 | 131 | 123 | 0 | 72 | 354 | 120 | 30 |
| Binary | 1100 | 10010 | 1101100 | 1011001 | 1010011 | 0 | 111010 | 11101100 | 1010000 | 11000 |
Color Harmonies of #0C126C
Complementary color
Monochromatic Colors of #0C126C
Black with #0C126C
Text Example
Text Example
White with #0C126C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C126C; }
p { color: rgb(12,18,108); }
H1.HeaderClassName
{
color: #0C126C;
}
.AnyTagClassName
{
color: #0C126C;
}
</style>
background-color css
<style>
a { background-color: #0C126C; }
a { background-color: rgb(12,18,108); }
div.DivClassName
{
background-color: #0C126C;
}
.BgClassName
{
background-color: #0C126C;
}
</style>
border-color css
<style>
span { border-color: #0C126C; }
span { border-color: rgb(12,18,108); }
td.TdClassName
{
border-color: #0C126C;
}
.TagClassName
{
border-color: #0C126C;
}
</style>