Shades of Midnight #162E4D
Tints of Midnight #162E4D
RGB
CMYK
RGB Variations
Color information
#162E4D (or 0x162E4D) is known color: Midnight. HEX triplet: 16, 2E and 4D. RGB value is (22,46,77). Sum of RGB (Red+Green+Blue) = 22+46+77=145 (19% of max value = 765). Red value is 22 (8.98% from 255 or 15.17% from 145); Green value is 46 (18.36% from 255 or 31.72% from 145); Blue value is 77 (30.47% from 255 or 53.10% from 145); Max value from RGB is 77 - color contains mainly: blue. Hex color #162E4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162E4D is #E9D1B2. Grayscale: #2A2A2A. Windows color (decimal): -15323571 or 5058070. OLE color: 5058070.
HSL color Cylindrical-coordinate representation of color #162E4D: hue angle of 213.82º degrees, saturation: 0.56, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #162E4D is Cyan = 0.71, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 22 | 46 | 77 | - |
| CMYK | 0.71 | 0.40 | 0 | 0.70 |
| HSL | 213.82º | 0.56% | 0.19% | - |
| HSV(B) | 213.82º | 0.71% | 0.3% | - |
| XYZ | 2.65 | 2.66 | 7.4 | - |
| YUV | 42.36 | 147.55 | 113.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 46 | 77 | 0.71 | 0.40 | 0 | 0.70 | 213.82 | 0.56 | 0.19 |
| Hex | 16 | 2E | 4D | 47 | 28 | 0 | 46 | D6 | 38 | 13 |
| Octal | 26 | 56 | 115 | 107 | 50 | 0 | 106 | 326 | 70 | 23 |
| Binary | 10110 | 101110 | 1001101 | 1000111 | 101000 | 0 | 1000110 | 11010110 | 111000 | 10011 |
Color Harmonies of #162E4D
Complementary color
Monochromatic Colors of #162E4D
Black with #162E4D
Text Example
Text Example
White with #162E4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162E4D; }
p { color: rgb(22,46,77); }
H1.HeaderClassName
{
color: #162E4D;
}
.AnyTagClassName
{
color: #162E4D;
}
</style>
background-color css
<style>
a { background-color: #162E4D; }
a { background-color: rgb(22,46,77); }
div.DivClassName
{
background-color: #162E4D;
}
.BgClassName
{
background-color: #162E4D;
}
</style>
border-color css
<style>
span { border-color: #162E4D; }
span { border-color: rgb(22,46,77); }
td.TdClassName
{
border-color: #162E4D;
}
.TagClassName
{
border-color: #162E4D;
}
</style>