Shades of Midnight Blue #152070
Tints of Midnight Blue #152070
RGB
CMYK
RGB Variations
Color information
#152070 (or 0x152070) is known color: Midnight Blue. HEX triplet: 15, 20 and 70. RGB value is (21,32,112). Sum of RGB (Red+Green+Blue) = 21+32+112=165 (21% of max value = 765). Red value is 21 (8.59% from 255 or 12.73% from 165); Green value is 32 (12.89% from 255 or 19.39% from 165); Blue value is 112 (44.14% from 255 or 67.88% from 165); Max value from RGB is 112 - color contains mainly: blue. Hex color #152070 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152070 is #EADF8F. Grayscale: #252525. Windows color (decimal): -15392656 or 7348245. OLE color: 7348245.
HSL color Cylindrical-coordinate representation of color #152070: hue angle of 232.75º degrees, saturation: 0.68, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #152070 is Cyan = 0.81, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 21 | 32 | 112 | - |
| CMYK | 0.81 | 0.71 | 0 | 0.56 |
| HSL | 232.75º | 0.68% | 0.26% | - |
| HSV(B) | 232.75º | 0.81% | 0.44% | - |
| XYZ | 3.75 | 2.36 | 15.59 | - |
| YUV | 37.83 | 169.86 | 116 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 32 | 112 | 0.81 | 0.71 | 0 | 0.56 | 232.75 | 0.68 | 0.26 |
| Hex | 15 | 20 | 70 | 51 | 47 | 0 | 38 | E9 | 44 | 1A |
| Octal | 25 | 40 | 160 | 121 | 107 | 0 | 70 | 351 | 104 | 32 |
| Binary | 10101 | 100000 | 1110000 | 1010001 | 1000111 | 0 | 111000 | 11101001 | 1000100 | 11010 |
Color Harmonies of #152070
Complementary color
Monochromatic Colors of #152070
Black with #152070
Text Example
Text Example
White with #152070
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152070; }
p { color: rgb(21,32,112); }
H1.HeaderClassName
{
color: #152070;
}
.AnyTagClassName
{
color: #152070;
}
</style>
background-color css
<style>
a { background-color: #152070; }
a { background-color: rgb(21,32,112); }
div.DivClassName
{
background-color: #152070;
}
.BgClassName
{
background-color: #152070;
}
</style>
border-color css
<style>
span { border-color: #152070; }
span { border-color: rgb(21,32,112); }
td.TdClassName
{
border-color: #152070;
}
.TagClassName
{
border-color: #152070;
}
</style>