Shades of Midnight Blue #0C1978
Tints of Midnight Blue #0C1978
RGB
CMYK
RGB Variations
Color information
#0C1978 (or 0x0C1978) is known color: Midnight Blue. HEX triplet: 0C, 19 and 78. RGB value is (12,25,120). Sum of RGB (Red+Green+Blue) = 12+25+120=157 (20% of max value = 765). Red value is 12 (5.08% from 255 or 7.64% from 157); Green value is 25 (10.16% from 255 or 15.92% from 157); Blue value is 120 (47.27% from 255 or 76.43% from 157); Max value from RGB is 120 - color contains mainly: blue. Hex color #0C1978 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C1978 is #F3E687. Grayscale: #1F1F1F. Windows color (decimal): -15984264 or 7870732. OLE color: 7870732.
HSL color Cylindrical-coordinate representation of color #0C1978: hue angle of 232.78º 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 #0C1978 is Cyan = 0.90, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 12 | 25 | 120 | - |
| CMYK | 0.90 | 0.79 | 0 | 0.53 |
| HSL | 232.78º | 0.82% | 0.26% | - |
| HSV(B) | 232.78º | 0.9% | 0.47% | - |
| XYZ | 3.89 | 2.13 | 17.98 | - |
| YUV | 31.94 | 177.69 | 113.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 25 | 120 | 0.90 | 0.79 | 0 | 0.53 | 232.78 | 0.82 | 0.26 |
| Hex | C | 19 | 78 | 5A | 4F | 0 | 35 | E9 | 52 | 1A |
| Octal | 14 | 31 | 170 | 132 | 117 | 0 | 65 | 351 | 122 | 32 |
| Binary | 1100 | 11001 | 1111000 | 1011010 | 1001111 | 0 | 110101 | 11101001 | 1010010 | 11010 |
Color Harmonies of #0C1978
Complementary color
Monochromatic Colors of #0C1978
Black with #0C1978
Text Example
Text Example
White with #0C1978
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1978; }
p { color: rgb(12,25,120); }
H1.HeaderClassName
{
color: #0C1978;
}
.AnyTagClassName
{
color: #0C1978;
}
</style>
background-color css
<style>
a { background-color: #0C1978; }
a { background-color: rgb(12,25,120); }
div.DivClassName
{
background-color: #0C1978;
}
.BgClassName
{
background-color: #0C1978;
}
</style>
border-color css
<style>
span { border-color: #0C1978; }
span { border-color: rgb(12,25,120); }
td.TdClassName
{
border-color: #0C1978;
}
.TagClassName
{
border-color: #0C1978;
}
</style>