Shades of Midnight Blue #0C1256
Tints of Midnight Blue #0C1256
RGB
CMYK
RGB Variations
Color information
#0C1256 (or 0x0C1256) is known color: Midnight Blue. HEX triplet: 0C, 12 and 56. RGB value is (12,18,86). Sum of RGB (Red+Green+Blue) = 12+18+86=116 (15% of max value = 765). Red value is 12 (5.08% from 255 or 10.34% from 116); Green value is 18 (7.42% from 255 or 15.52% from 116); Blue value is 86 (33.98% from 255 or 74.14% from 116); Max value from RGB is 86 - color contains mainly: blue. Hex color #0C1256 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C1256 is #F3EDA9. Grayscale: #171717. Windows color (decimal): -15986090 or 5640716. OLE color: 5640716.
HSL color Cylindrical-coordinate representation of color #0C1256: hue angle of 235.14º degrees, saturation: 0.76, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #0C1256 is Cyan = 0.86, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 12 | 18 | 86 | - |
| CMYK | 0.86 | 0.79 | 0 | 0.66 |
| HSL | 235.14º | 0.76% | 0.19% | - |
| HSV(B) | 235.14º | 0.86% | 0.34% | - |
| XYZ | 2.05 | 1.18 | 8.92 | - |
| YUV | 23.96 | 163.01 | 119.47 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 18 | 86 | 0.86 | 0.79 | 0 | 0.66 | 235.14 | 0.76 | 0.19 |
| Hex | C | 12 | 56 | 56 | 4F | 0 | 42 | EB | 4C | 13 |
| Octal | 14 | 22 | 126 | 126 | 117 | 0 | 102 | 353 | 114 | 23 |
| Binary | 1100 | 10010 | 1010110 | 1010110 | 1001111 | 0 | 1000010 | 11101011 | 1001100 | 10011 |
Color Harmonies of #0C1256
Complementary color
Monochromatic Colors of #0C1256
Black with #0C1256
Text Example
Text Example
White with #0C1256
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1256; }
p { color: rgb(12,18,86); }
H1.HeaderClassName
{
color: #0C1256;
}
.AnyTagClassName
{
color: #0C1256;
}
</style>
background-color css
<style>
a { background-color: #0C1256; }
a { background-color: rgb(12,18,86); }
div.DivClassName
{
background-color: #0C1256;
}
.BgClassName
{
background-color: #0C1256;
}
</style>
border-color css
<style>
span { border-color: #0C1256; }
span { border-color: rgb(12,18,86); }
td.TdClassName
{
border-color: #0C1256;
}
.TagClassName
{
border-color: #0C1256;
}
</style>