Shades of Midnight Blue #120251
Tints of Midnight Blue #120251
RGB
CMYK
RGB Variations
Color information
#120251 (or 0x120251) is known color: Midnight Blue. HEX triplet: 12, 02 and 51. RGB value is (18,2,81). Sum of RGB (Red+Green+Blue) = 18+2+81=101 (13% of max value = 765). Red value is 18 (7.42% from 255 or 17.82% from 101); Green value is 2 (1.17% from 255 or 1.98% from 101); Blue value is 81 (32.03% from 255 or 80.20% from 101); Max value from RGB is 81 - color contains mainly: blue. Hex color #120251 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120251 is #EDFDAE. Grayscale: #0F0F0F. Windows color (decimal): -15596975 or 5308946. OLE color: 5308946.
HSL color Cylindrical-coordinate representation of color #120251: hue angle of 252.15º degrees, saturation: 0.95, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #120251 is Cyan = 0.78, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 18 | 2 | 81 | - |
| CMYK | 0.78 | 0.98 | 0 | 0.68 |
| HSL | 252.15º | 0.95% | 0.16% | - |
| HSV(B) | 252.15º | 0.98% | 0.32% | - |
| XYZ | 1.76 | 0.77 | 7.84 | - |
| YUV | 15.79 | 164.8 | 129.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 2 | 81 | 0.78 | 0.98 | 0 | 0.68 | 252.15 | 0.95 | 0.16 |
| Hex | 12 | 2 | 51 | 4E | 62 | 0 | 44 | FC | 5F | 10 |
| Octal | 22 | 2 | 121 | 116 | 142 | 0 | 104 | 374 | 137 | 20 |
| Binary | 10010 | 10 | 1010001 | 1001110 | 1100010 | 0 | 1000100 | 11111100 | 1011111 | 10000 |
Color Harmonies of #120251
Complementary color
Monochromatic Colors of #120251
Black with #120251
Text Example
Text Example
White with #120251
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120251; }
p { color: rgb(18,2,81); }
H1.HeaderClassName
{
color: #120251;
}
.AnyTagClassName
{
color: #120251;
}
</style>
background-color css
<style>
a { background-color: #120251; }
a { background-color: rgb(18,2,81); }
div.DivClassName
{
background-color: #120251;
}
.BgClassName
{
background-color: #120251;
}
</style>
border-color css
<style>
span { border-color: #120251; }
span { border-color: rgb(18,2,81); }
td.TdClassName
{
border-color: #120251;
}
.TagClassName
{
border-color: #120251;
}
</style>