Shades of Midnight Blue #162987
Tints of Midnight Blue #162987
RGB
CMYK
RGB Variations
Color information
#162987 (or 0x162987) is known color: Midnight Blue. HEX triplet: 16, 29 and 87. RGB value is (22,41,135). Sum of RGB (Red+Green+Blue) = 22+41+135=198 (26% of max value = 765). Red value is 22 (8.98% from 255 or 11.11% from 198); Green value is 41 (16.41% from 255 or 20.71% from 198); Blue value is 135 (53.12% from 255 or 68.18% from 198); Max value from RGB is 135 - color contains mainly: blue. Hex color #162987 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #162987 is #E9D678. Grayscale: #2D2D2D. Windows color (decimal): -15324793 or 8857878. OLE color: 8857878.
HSL color Cylindrical-coordinate representation of color #162987: hue angle of 229.91º degrees, saturation: 0.72, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #162987 is Cyan = 0.84, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 22 | 41 | 135 | - |
| CMYK | 0.84 | 0.70 | 0 | 0.47 |
| HSL | 229.91º | 0.72% | 0.31% | - |
| HSV(B) | 229.91º | 0.84% | 0.53% | - |
| XYZ | 5.5 | 3.51 | 23.31 | - |
| YUV | 46.04 | 178.21 | 110.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 41 | 135 | 0.84 | 0.70 | 0 | 0.47 | 229.91 | 0.72 | 0.31 |
| Hex | 16 | 29 | 87 | 54 | 46 | 0 | 2F | E6 | 48 | 1F |
| Octal | 26 | 51 | 207 | 124 | 106 | 0 | 57 | 346 | 110 | 37 |
| Binary | 10110 | 101001 | 10000111 | 1010100 | 1000110 | 0 | 101111 | 11100110 | 1001000 | 11111 |
Color Harmonies of #162987
Complementary color
Monochromatic Colors of #162987
Black with #162987
Text Example
Text Example
White with #162987
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162987; }
p { color: rgb(22,41,135); }
H1.HeaderClassName
{
color: #162987;
}
.AnyTagClassName
{
color: #162987;
}
</style>
background-color css
<style>
a { background-color: #162987; }
a { background-color: rgb(22,41,135); }
div.DivClassName
{
background-color: #162987;
}
.BgClassName
{
background-color: #162987;
}
</style>
border-color css
<style>
span { border-color: #162987; }
span { border-color: rgb(22,41,135); }
td.TdClassName
{
border-color: #162987;
}
.TagClassName
{
border-color: #162987;
}
</style>