Shades of Midnight #162D4F
Tints of Midnight #162D4F
RGB
CMYK
RGB Variations
Color information
#162D4F (or 0x162D4F) is known color: Midnight. HEX triplet: 16, 2D and 4F. RGB value is (22,45,79). Sum of RGB (Red+Green+Blue) = 22+45+79=146 (19% of max value = 765). Red value is 22 (8.98% from 255 or 15.07% from 146); Green value is 45 (17.97% from 255 or 30.82% from 146); Blue value is 79 (31.25% from 255 or 54.11% from 146); Max value from RGB is 79 - color contains mainly: blue. Hex color #162D4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162D4F is #E9D2B0. Grayscale: #292929. Windows color (decimal): -15323825 or 5188886. OLE color: 5188886.
HSL color Cylindrical-coordinate representation of color #162D4F: hue angle of 215.79º 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 #162D4F is Cyan = 0.72, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 22 | 45 | 79 | - |
| CMYK | 0.72 | 0.43 | 0 | 0.69 |
| HSL | 215.79º | 0.56% | 0.2% | - |
| HSV(B) | 215.79º | 0.72% | 0.31% | - |
| XYZ | 2.68 | 2.61 | 7.76 | - |
| YUV | 42 | 148.88 | 113.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 45 | 79 | 0.72 | 0.43 | 0 | 0.69 | 215.79 | 0.56 | 0.2 |
| Hex | 16 | 2D | 4F | 48 | 2B | 0 | 45 | D8 | 38 | 14 |
| Octal | 26 | 55 | 117 | 110 | 53 | 0 | 105 | 330 | 70 | 24 |
| Binary | 10110 | 101101 | 1001111 | 1001000 | 101011 | 0 | 1000101 | 11011000 | 111000 | 10100 |
Color Harmonies of #162D4F
Complementary color
Monochromatic Colors of #162D4F
Black with #162D4F
Text Example
Text Example
White with #162D4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162D4F; }
p { color: rgb(22,45,79); }
H1.HeaderClassName
{
color: #162D4F;
}
.AnyTagClassName
{
color: #162D4F;
}
</style>
background-color css
<style>
a { background-color: #162D4F; }
a { background-color: rgb(22,45,79); }
div.DivClassName
{
background-color: #162D4F;
}
.BgClassName
{
background-color: #162D4F;
}
</style>
border-color css
<style>
span { border-color: #162D4F; }
span { border-color: rgb(22,45,79); }
td.TdClassName
{
border-color: #162D4F;
}
.TagClassName
{
border-color: #162D4F;
}
</style>