Shades of Midnight #162F4D
Tints of Midnight #162F4D
RGB
CMYK
RGB Variations
Color information
#162F4D (or 0x162F4D) is known color: Midnight. HEX triplet: 16, 2F and 4D. RGB value is (22,47,77). Sum of RGB (Red+Green+Blue) = 22+47+77=146 (19% of max value = 765). Red value is 22 (8.98% from 255 or 15.07% from 146); Green value is 47 (18.75% from 255 or 32.19% from 146); Blue value is 77 (30.47% from 255 or 52.74% from 146); Max value from RGB is 77 - color contains mainly: blue. Hex color #162F4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162F4D is #E9D0B2. Grayscale: #2A2A2A. Windows color (decimal): -15323315 or 5058326. OLE color: 5058326.
HSL color Cylindrical-coordinate representation of color #162F4D: hue angle of 212.73º 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 #162F4D is Cyan = 0.71, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 22 | 47 | 77 | - |
| CMYK | 0.71 | 0.39 | 0 | 0.70 |
| HSL | 212.73º | 0.56% | 0.19% | - |
| HSV(B) | 212.73º | 0.71% | 0.3% | - |
| XYZ | 2.69 | 2.74 | 7.41 | - |
| YUV | 42.95 | 147.22 | 113.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 47 | 77 | 0.71 | 0.39 | 0 | 0.70 | 212.73 | 0.56 | 0.19 |
| Hex | 16 | 2F | 4D | 47 | 27 | 0 | 46 | D5 | 38 | 13 |
| Octal | 26 | 57 | 115 | 107 | 47 | 0 | 106 | 325 | 70 | 23 |
| Binary | 10110 | 101111 | 1001101 | 1000111 | 100111 | 0 | 1000110 | 11010101 | 111000 | 10011 |
Color Harmonies of #162F4D
Complementary color
Monochromatic Colors of #162F4D
Black with #162F4D
Text Example
Text Example
White with #162F4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162F4D; }
p { color: rgb(22,47,77); }
H1.HeaderClassName
{
color: #162F4D;
}
.AnyTagClassName
{
color: #162F4D;
}
</style>
background-color css
<style>
a { background-color: #162F4D; }
a { background-color: rgb(22,47,77); }
div.DivClassName
{
background-color: #162F4D;
}
.BgClassName
{
background-color: #162F4D;
}
</style>
border-color css
<style>
span { border-color: #162F4D; }
span { border-color: rgb(22,47,77); }
td.TdClassName
{
border-color: #162F4D;
}
.TagClassName
{
border-color: #162F4D;
}
</style>