Shades of Midnight Blue #120870
Tints of Midnight Blue #120870
RGB
CMYK
RGB Variations
Color information
#120870 (or 0x120870) is known color: Midnight Blue. HEX triplet: 12, 08 and 70. RGB value is (18,8,112). Sum of RGB (Red+Green+Blue) = 18+8+112=138 (18% of max value = 765). Red value is 18 (7.42% from 255 or 13.04% from 138); Green value is 8 (3.52% from 255 or 5.80% from 138); Blue value is 112 (44.14% from 255 or 81.16% from 138); Max value from RGB is 112 - color contains mainly: blue. Hex color #120870 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120870 is #EDF78F. Grayscale: #161616. Windows color (decimal): -15595408 or 7342098. OLE color: 7342098.
HSL color Cylindrical-coordinate representation of color #120870: hue angle of 245.77º degrees, saturation: 0.87, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.93%. Process color model (Four color, CMYK) of #120870 is Cyan = 0.84, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 18 | 8 | 112 | - |
| CMYK | 0.84 | 0.93 | 0 | 0.56 |
| HSL | 245.77º | 0.87% | 0.24% | - |
| HSV(B) | 245.77º | 0.93% | 0.44% | - |
| XYZ | 3.26 | 1.47 | 15.44 | - |
| YUV | 22.85 | 178.31 | 124.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 8 | 112 | 0.84 | 0.93 | 0 | 0.56 | 245.77 | 0.87 | 0.24 |
| Hex | 12 | 8 | 70 | 54 | 5D | 0 | 38 | F6 | 57 | 18 |
| Octal | 22 | 10 | 160 | 124 | 135 | 0 | 70 | 366 | 127 | 30 |
| Binary | 10010 | 1000 | 1110000 | 1010100 | 1011101 | 0 | 111000 | 11110110 | 1010111 | 11000 |
Color Harmonies of #120870
Complementary color
Monochromatic Colors of #120870
Black with #120870
Text Example
Text Example
White with #120870
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120870; }
p { color: rgb(18,8,112); }
H1.HeaderClassName
{
color: #120870;
}
.AnyTagClassName
{
color: #120870;
}
</style>
background-color css
<style>
a { background-color: #120870; }
a { background-color: rgb(18,8,112); }
div.DivClassName
{
background-color: #120870;
}
.BgClassName
{
background-color: #120870;
}
</style>
border-color css
<style>
span { border-color: #120870; }
span { border-color: rgb(18,8,112); }
td.TdClassName
{
border-color: #120870;
}
.TagClassName
{
border-color: #120870;
}
</style>