Shades of Midnight Blue #0C1A78
Tints of Midnight Blue #0C1A78
RGB
CMYK
RGB Variations
Color information
#0C1A78 (or 0x0C1A78) is known color: Midnight Blue. HEX triplet: 0C, 1A and 78. RGB value is (12,26,120). Sum of RGB (Red+Green+Blue) = 12+26+120=158 (20% of max value = 765). Red value is 12 (5.08% from 255 or 7.59% from 158); Green value is 26 (10.55% from 255 or 16.46% from 158); Blue value is 120 (47.27% from 255 or 75.95% from 158); Max value from RGB is 120 - color contains mainly: blue. Hex color #0C1A78 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1A78 is #F3E587. Grayscale: #202020. Windows color (decimal): -15984008 or 7870988. OLE color: 7870988.
HSL color Cylindrical-coordinate representation of color #0C1A78: hue angle of 232.22º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C1A78 is Cyan = 0.90, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 12 | 26 | 120 | - |
| CMYK | 0.90 | 0.78 | 0 | 0.53 |
| HSL | 232.22º | 0.82% | 0.26% | - |
| HSV(B) | 232.22º | 0.9% | 0.47% | - |
| XYZ | 3.91 | 2.17 | 17.98 | - |
| YUV | 32.53 | 177.36 | 113.36 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 26 | 120 | 0.90 | 0.78 | 0 | 0.53 | 232.22 | 0.82 | 0.26 |
| Hex | C | 1A | 78 | 5A | 4E | 0 | 35 | E8 | 52 | 1A |
| Octal | 14 | 32 | 170 | 132 | 116 | 0 | 65 | 350 | 122 | 32 |
| Binary | 1100 | 11010 | 1111000 | 1011010 | 1001110 | 0 | 110101 | 11101000 | 1010010 | 11010 |
Color Harmonies of #0C1A78
Complementary color
Monochromatic Colors of #0C1A78
Black with #0C1A78
Text Example
Text Example
White with #0C1A78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1A78; }
p { color: rgb(12,26,120); }
H1.HeaderClassName
{
color: #0C1A78;
}
.AnyTagClassName
{
color: #0C1A78;
}
</style>
background-color css
<style>
a { background-color: #0C1A78; }
a { background-color: rgb(12,26,120); }
div.DivClassName
{
background-color: #0C1A78;
}
.BgClassName
{
background-color: #0C1A78;
}
</style>
border-color css
<style>
span { border-color: #0C1A78; }
span { border-color: rgb(12,26,120); }
td.TdClassName
{
border-color: #0C1A78;
}
.TagClassName
{
border-color: #0C1A78;
}
</style>