Shades of Midnight #162E4F
Tints of Midnight #162E4F
RGB
CMYK
RGB Variations
Color information
#162E4F (or 0x162E4F) is known color: Midnight. HEX triplet: 16, 2E and 4F. RGB value is (22,46,79). Sum of RGB (Red+Green+Blue) = 22+46+79=147 (19% of max value = 765). Red value is 22 (8.98% from 255 or 14.97% from 147); Green value is 46 (18.36% from 255 or 31.29% from 147); Blue value is 79 (31.25% from 255 or 53.74% from 147); Max value from RGB is 79 - color contains mainly: blue. Hex color #162E4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162E4F is #E9D1B0. Grayscale: #2A2A2A. Windows color (decimal): -15323569 or 5189142. OLE color: 5189142.
HSL color Cylindrical-coordinate representation of color #162E4F: hue angle of 214.74º 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 #162E4F is Cyan = 0.72, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 22 | 46 | 79 | - |
| CMYK | 0.72 | 0.42 | 0 | 0.69 |
| HSL | 214.74º | 0.56% | 0.2% | - |
| HSV(B) | 214.74º | 0.72% | 0.31% | - |
| XYZ | 2.72 | 2.69 | 7.77 | - |
| YUV | 42.59 | 148.55 | 113.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 46 | 79 | 0.72 | 0.42 | 0 | 0.69 | 214.74 | 0.56 | 0.2 |
| Hex | 16 | 2E | 4F | 48 | 2A | 0 | 45 | D7 | 38 | 14 |
| Octal | 26 | 56 | 117 | 110 | 52 | 0 | 105 | 327 | 70 | 24 |
| Binary | 10110 | 101110 | 1001111 | 1001000 | 101010 | 0 | 1000101 | 11010111 | 111000 | 10100 |
Color Harmonies of #162E4F
Complementary color
Monochromatic Colors of #162E4F
Black with #162E4F
Text Example
Text Example
White with #162E4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162E4F; }
p { color: rgb(22,46,79); }
H1.HeaderClassName
{
color: #162E4F;
}
.AnyTagClassName
{
color: #162E4F;
}
</style>
background-color css
<style>
a { background-color: #162E4F; }
a { background-color: rgb(22,46,79); }
div.DivClassName
{
background-color: #162E4F;
}
.BgClassName
{
background-color: #162E4F;
}
</style>
border-color css
<style>
span { border-color: #162E4F; }
span { border-color: rgb(22,46,79); }
td.TdClassName
{
border-color: #162E4F;
}
.TagClassName
{
border-color: #162E4F;
}
</style>