Shades of Midnight Blue #120252
Tints of Midnight Blue #120252
RGB
CMYK
RGB Variations
Color information
#120252 (or 0x120252) is known color: Midnight Blue. HEX triplet: 12, 02 and 52. RGB value is (18,2,82). Sum of RGB (Red+Green+Blue) = 18+2+82=102 (13% of max value = 765). Red value is 18 (7.42% from 255 or 17.65% from 102); Green value is 2 (1.17% from 255 or 1.96% from 102); Blue value is 82 (32.42% from 255 or 80.39% from 102); Max value from RGB is 82 - color contains mainly: blue. Hex color #120252 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120252 is #EDFDAD. Grayscale: #0F0F0F. Windows color (decimal): -15596974 or 5374482. OLE color: 5374482.
HSL color Cylindrical-coordinate representation of color #120252: hue angle of 252º 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 #120252 is Cyan = 0.78, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 18 | 2 | 82 | - |
| CMYK | 0.78 | 0.98 | 0 | 0.68 |
| HSL | 252º | 0.95% | 0.16% | - |
| HSV(B) | 252º | 0.98% | 0.32% | - |
| XYZ | 1.79 | 0.78 | 8.04 | - |
| YUV | 15.9 | 165.3 | 129.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 2 | 82 | 0.78 | 0.98 | 0 | 0.68 | 252 | 0.95 | 0.16 |
| Hex | 12 | 2 | 52 | 4E | 62 | 0 | 44 | FC | 5F | 10 |
| Octal | 22 | 2 | 122 | 116 | 142 | 0 | 104 | 374 | 137 | 20 |
| Binary | 10010 | 10 | 1010010 | 1001110 | 1100010 | 0 | 1000100 | 11111100 | 1011111 | 10000 |
Color Harmonies of #120252
Complementary color
Monochromatic Colors of #120252
Black with #120252
Text Example
Text Example
White with #120252
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120252; }
p { color: rgb(18,2,82); }
H1.HeaderClassName
{
color: #120252;
}
.AnyTagClassName
{
color: #120252;
}
</style>
background-color css
<style>
a { background-color: #120252; }
a { background-color: rgb(18,2,82); }
div.DivClassName
{
background-color: #120252;
}
.BgClassName
{
background-color: #120252;
}
</style>
border-color css
<style>
span { border-color: #120252; }
span { border-color: rgb(18,2,82); }
td.TdClassName
{
border-color: #120252;
}
.TagClassName
{
border-color: #120252;
}
</style>