Shades of Midnight #162D4D
Tints of Midnight #162D4D
RGB
CMYK
RGB Variations
Color information
#162D4D (or 0x162D4D) is known color: Midnight. HEX triplet: 16, 2D and 4D. RGB value is (22,45,77). Sum of RGB (Red+Green+Blue) = 22+45+77=144 (19% of max value = 765). Red value is 22 (8.98% from 255 or 15.28% from 144); Green value is 45 (17.97% from 255 or 31.25% from 144); Blue value is 77 (30.47% from 255 or 53.47% from 144); Max value from RGB is 77 - color contains mainly: blue. Hex color #162D4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162D4D is #E9D2B2. Grayscale: #292929. Windows color (decimal): -15323827 or 5057814. OLE color: 5057814.
HSL color Cylindrical-coordinate representation of color #162D4D: hue angle of 214.91º 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 #162D4D is Cyan = 0.71, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 22 | 45 | 77 | - |
| CMYK | 0.71 | 0.42 | 0 | 0.70 |
| HSL | 214.91º | 0.56% | 0.19% | - |
| HSV(B) | 214.91º | 0.71% | 0.3% | - |
| XYZ | 2.61 | 2.58 | 7.38 | - |
| YUV | 41.77 | 147.88 | 113.9 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 45 | 77 | 0.71 | 0.42 | 0 | 0.70 | 214.91 | 0.56 | 0.19 |
| Hex | 16 | 2D | 4D | 47 | 2A | 0 | 46 | D7 | 38 | 13 |
| Octal | 26 | 55 | 115 | 107 | 52 | 0 | 106 | 327 | 70 | 23 |
| Binary | 10110 | 101101 | 1001101 | 1000111 | 101010 | 0 | 1000110 | 11010111 | 111000 | 10011 |
Color Harmonies of #162D4D
Complementary color
Monochromatic Colors of #162D4D
Black with #162D4D
Text Example
Text Example
White with #162D4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162D4D; }
p { color: rgb(22,45,77); }
H1.HeaderClassName
{
color: #162D4D;
}
.AnyTagClassName
{
color: #162D4D;
}
</style>
background-color css
<style>
a { background-color: #162D4D; }
a { background-color: rgb(22,45,77); }
div.DivClassName
{
background-color: #162D4D;
}
.BgClassName
{
background-color: #162D4D;
}
</style>
border-color css
<style>
span { border-color: #162D4D; }
span { border-color: rgb(22,45,77); }
td.TdClassName
{
border-color: #162D4D;
}
.TagClassName
{
border-color: #162D4D;
}
</style>