Shades of Midnight Blue #0C0257
Tints of Midnight Blue #0C0257
RGB
CMYK
RGB Variations
Color information
#0C0257 (or 0x0C0257) is known color: Midnight Blue. HEX triplet: 0C, 02 and 57. RGB value is (12,2,87). Sum of RGB (Red+Green+Blue) = 12+2+87=101 (13% of max value = 765). Red value is 12 (5.08% from 255 or 11.88% from 101); Green value is 2 (1.17% from 255 or 1.98% from 101); Blue value is 87 (34.38% from 255 or 86.14% from 101); Max value from RGB is 87 - color contains mainly: blue. Hex color #0C0257 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0257 is #F3FDA8. Grayscale: #0E0E0E. Windows color (decimal): -15990185 or 5702156. OLE color: 5702156.
HSL color Cylindrical-coordinate representation of color #0C0257: hue angle of 247.06º degrees, saturation: 0.96, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #0C0257 is Cyan = 0.86, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 12 | 2 | 87 | - |
| CMYK | 0.86 | 0.98 | 0 | 0.66 |
| HSL | 247.06º | 0.96% | 0.17% | - |
| HSV(B) | 247.06º | 0.98% | 0.34% | - |
| XYZ | 1.89 | 0.81 | 9.07 | - |
| YUV | 14.68 | 168.81 | 126.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 2 | 87 | 0.86 | 0.98 | 0 | 0.66 | 247.06 | 0.96 | 0.17 |
| Hex | C | 2 | 57 | 56 | 62 | 0 | 42 | F7 | 60 | 11 |
| Octal | 14 | 2 | 127 | 126 | 142 | 0 | 102 | 367 | 140 | 21 |
| Binary | 1100 | 10 | 1010111 | 1010110 | 1100010 | 0 | 1000010 | 11110111 | 1100000 | 10001 |
Color Harmonies of #0C0257
Complementary color
Monochromatic Colors of #0C0257
Black with #0C0257
Text Example
Text Example
White with #0C0257
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0257; }
p { color: rgb(12,2,87); }
H1.HeaderClassName
{
color: #0C0257;
}
.AnyTagClassName
{
color: #0C0257;
}
</style>
background-color css
<style>
a { background-color: #0C0257; }
a { background-color: rgb(12,2,87); }
div.DivClassName
{
background-color: #0C0257;
}
.BgClassName
{
background-color: #0C0257;
}
</style>
border-color css
<style>
span { border-color: #0C0257; }
span { border-color: rgb(12,2,87); }
td.TdClassName
{
border-color: #0C0257;
}
.TagClassName
{
border-color: #0C0257;
}
</style>