Shades of Midnight Blue #120874
Tints of Midnight Blue #120874
RGB
CMYK
RGB Variations
Color information
#120874 (or 0x120874) is known color: Midnight Blue. HEX triplet: 12, 08 and 74. RGB value is (18,8,116). Sum of RGB (Red+Green+Blue) = 18+8+116=142 (18% of max value = 765). Red value is 18 (7.42% from 255 or 12.68% from 142); Green value is 8 (3.52% from 255 or 5.63% from 142); Blue value is 116 (45.70% from 255 or 81.69% from 142); Max value from RGB is 116 - color contains mainly: blue. Hex color #120874 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120874 is #EDF78B. Grayscale: #161616. Windows color (decimal): -15595404 or 7604242. OLE color: 7604242.
HSL color Cylindrical-coordinate representation of color #120874: hue angle of 245.56º 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 #120874 is Cyan = 0.84, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 18 | 8 | 116 | - |
| CMYK | 0.84 | 0.93 | 0 | 0.55 |
| HSL | 245.56º | 0.87% | 0.24% | - |
| HSV(B) | 245.56º | 0.93% | 0.45% | - |
| XYZ | 3.49 | 1.56 | 16.64 | - |
| YUV | 23.3 | 180.31 | 124.22 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 8 | 116 | 0.84 | 0.93 | 0 | 0.55 | 245.56 | 0.87 | 0.24 |
| Hex | 12 | 8 | 74 | 54 | 5D | 0 | 37 | F6 | 57 | 18 |
| Octal | 22 | 10 | 164 | 124 | 135 | 0 | 67 | 366 | 127 | 30 |
| Binary | 10010 | 1000 | 1110100 | 1010100 | 1011101 | 0 | 110111 | 11110110 | 1010111 | 11000 |
Color Harmonies of #120874
Complementary color
Monochromatic Colors of #120874
Black with #120874
Text Example
Text Example
White with #120874
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120874; }
p { color: rgb(18,8,116); }
H1.HeaderClassName
{
color: #120874;
}
.AnyTagClassName
{
color: #120874;
}
</style>
background-color css
<style>
a { background-color: #120874; }
a { background-color: rgb(18,8,116); }
div.DivClassName
{
background-color: #120874;
}
.BgClassName
{
background-color: #120874;
}
</style>
border-color css
<style>
span { border-color: #120874; }
span { border-color: rgb(18,8,116); }
td.TdClassName
{
border-color: #120874;
}
.TagClassName
{
border-color: #120874;
}
</style>