Shades of Midnight Blue #120872
Tints of Midnight Blue #120872
RGB
CMYK
RGB Variations
Color information
#120872 (or 0x120872) is known color: Midnight Blue. HEX triplet: 12, 08 and 72. RGB value is (18,8,114). Sum of RGB (Red+Green+Blue) = 18+8+114=140 (18% of max value = 765). Red value is 18 (7.42% from 255 or 12.86% from 140); Green value is 8 (3.52% from 255 or 5.71% from 140); Blue value is 114 (44.92% from 255 or 81.43% from 140); Max value from RGB is 114 - color contains mainly: blue. Hex color #120872 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120872 is #EDF78D. Grayscale: #161616. Windows color (decimal): -15595406 or 7473170. OLE color: 7473170.
HSL color Cylindrical-coordinate representation of color #120872: hue angle of 245.66º degrees, saturation: 0.87, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.93%. Process color model (Four color, CMYK) of #120872 is Cyan = 0.84, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 18 | 8 | 114 | - |
| CMYK | 0.84 | 0.93 | 0 | 0.55 |
| HSL | 245.66º | 0.87% | 0.24% | - |
| HSV(B) | 245.66º | 0.93% | 0.45% | - |
| XYZ | 3.37 | 1.52 | 16.03 | - |
| YUV | 23.07 | 179.31 | 124.38 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 8 | 114 | 0.84 | 0.93 | 0 | 0.55 | 245.66 | 0.87 | 0.24 |
| Hex | 12 | 8 | 72 | 54 | 5D | 0 | 37 | F6 | 57 | 18 |
| Octal | 22 | 10 | 162 | 124 | 135 | 0 | 67 | 366 | 127 | 30 |
| Binary | 10010 | 1000 | 1110010 | 1010100 | 1011101 | 0 | 110111 | 11110110 | 1010111 | 11000 |
Color Harmonies of #120872
Complementary color
Monochromatic Colors of #120872
Black with #120872
Text Example
Text Example
White with #120872
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120872; }
p { color: rgb(18,8,114); }
H1.HeaderClassName
{
color: #120872;
}
.AnyTagClassName
{
color: #120872;
}
</style>
background-color css
<style>
a { background-color: #120872; }
a { background-color: rgb(18,8,114); }
div.DivClassName
{
background-color: #120872;
}
.BgClassName
{
background-color: #120872;
}
</style>
border-color css
<style>
span { border-color: #120872; }
span { border-color: rgb(18,8,114); }
td.TdClassName
{
border-color: #120872;
}
.TagClassName
{
border-color: #120872;
}
</style>