Shades of Midnight Blue #0C0157
Tints of Midnight Blue #0C0157
RGB
CMYK
RGB Variations
Color information
#0C0157 (or 0x0C0157) is known color: Midnight Blue. HEX triplet: 0C, 01 and 57. RGB value is (12,1,87). Sum of RGB (Red+Green+Blue) = 12+1+87=100 (13% of max value = 765). Red value is 12 (5.08% from 255 or 12% from 100); Green value is 1 (0.78% from 255 or 1% from 100); Blue value is 87 (34.38% from 255 or 87% from 100); Max value from RGB is 87 - color contains mainly: blue. Hex color #0C0157 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0157 is #F3FEA8. Grayscale: #0D0D0D. Windows color (decimal): -15990441 or 5701900. OLE color: 5701900.
HSL color Cylindrical-coordinate representation of color #0C0157: hue angle of 247.67º degrees, saturation: 0.98, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0C0157 is Cyan = 0.86, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 12 | 1 | 87 | - |
| CMYK | 0.86 | 0.99 | 0 | 0.66 |
| HSL | 247.67º | 0.98% | 0.17% | - |
| HSV(B) | 247.67º | 0.99% | 0.34% | - |
| XYZ | 1.88 | 0.79 | 9.07 | - |
| YUV | 14.09 | 169.14 | 126.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 1 | 87 | 0.86 | 0.99 | 0 | 0.66 | 247.67 | 0.98 | 0.17 |
| Hex | C | 1 | 57 | 56 | 63 | 0 | 42 | F8 | 62 | 11 |
| Octal | 14 | 1 | 127 | 126 | 143 | 0 | 102 | 370 | 142 | 21 |
| Binary | 1100 | 1 | 1010111 | 1010110 | 1100011 | 0 | 1000010 | 11111000 | 1100010 | 10001 |
Color Harmonies of #0C0157
Complementary color
Monochromatic Colors of #0C0157
Black with #0C0157
Text Example
Text Example
White with #0C0157
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0157; }
p { color: rgb(12,1,87); }
H1.HeaderClassName
{
color: #0C0157;
}
.AnyTagClassName
{
color: #0C0157;
}
</style>
background-color css
<style>
a { background-color: #0C0157; }
a { background-color: rgb(12,1,87); }
div.DivClassName
{
background-color: #0C0157;
}
.BgClassName
{
background-color: #0C0157;
}
</style>
border-color css
<style>
span { border-color: #0C0157; }
span { border-color: rgb(12,1,87); }
td.TdClassName
{
border-color: #0C0157;
}
.TagClassName
{
border-color: #0C0157;
}
</style>