Shades of Midnight #162D4E
Tints of Midnight #162D4E
RGB
CMYK
RGB Variations
Color information
#162D4E (or 0x162D4E) is known color: Midnight. HEX triplet: 16, 2D and 4E. RGB value is (22,45,78). Sum of RGB (Red+Green+Blue) = 22+45+78=145 (19% of max value = 765). Red value is 22 (8.98% from 255 or 15.17% from 145); Green value is 45 (17.97% from 255 or 31.03% from 145); Blue value is 78 (30.86% from 255 or 53.79% from 145); Max value from RGB is 78 - color contains mainly: blue. Hex color #162D4E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162D4E is #E9D2B1. Grayscale: #292929. Windows color (decimal): -15323826 or 5123350. OLE color: 5123350.
HSL color Cylindrical-coordinate representation of color #162D4E: hue angle of 215.36º degrees, saturation: 0.56, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #162D4E is Cyan = 0.72, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 22 | 45 | 78 | - |
| CMYK | 0.72 | 0.42 | 0 | 0.69 |
| HSL | 215.36º | 0.56% | 0.2% | - |
| HSV(B) | 215.36º | 0.72% | 0.31% | - |
| XYZ | 2.64 | 2.6 | 7.57 | - |
| YUV | 41.89 | 148.38 | 113.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 45 | 78 | 0.72 | 0.42 | 0 | 0.69 | 215.36 | 0.56 | 0.2 |
| Hex | 16 | 2D | 4E | 48 | 2A | 0 | 45 | D7 | 38 | 14 |
| Octal | 26 | 55 | 116 | 110 | 52 | 0 | 105 | 327 | 70 | 24 |
| Binary | 10110 | 101101 | 1001110 | 1001000 | 101010 | 0 | 1000101 | 11010111 | 111000 | 10100 |
Color Harmonies of #162D4E
Complementary color
Monochromatic Colors of #162D4E
Black with #162D4E
Text Example
Text Example
White with #162D4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162D4E; }
p { color: rgb(22,45,78); }
H1.HeaderClassName
{
color: #162D4E;
}
.AnyTagClassName
{
color: #162D4E;
}
</style>
background-color css
<style>
a { background-color: #162D4E; }
a { background-color: rgb(22,45,78); }
div.DivClassName
{
background-color: #162D4E;
}
.BgClassName
{
background-color: #162D4E;
}
</style>
border-color css
<style>
span { border-color: #162D4E; }
span { border-color: rgb(22,45,78); }
td.TdClassName
{
border-color: #162D4E;
}
.TagClassName
{
border-color: #162D4E;
}
</style>