Shades of Midnight #162D4A
Tints of Midnight #162D4A
RGB
CMYK
RGB Variations
Color information
#162D4A (or 0x162D4A) is known color: Midnight. HEX triplet: 16, 2D and 4A. RGB value is (22,45,74). Sum of RGB (Red+Green+Blue) = 22+45+74=141 (18% of max value = 765). Red value is 22 (8.98% from 255 or 15.60% from 141); Green value is 45 (17.97% from 255 or 31.91% from 141); Blue value is 74 (29.30% from 255 or 52.48% from 141); Max value from RGB is 74 - color contains mainly: blue. Hex color #162D4A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #162D4A is #E9D2B5. Grayscale: #292929. Windows color (decimal): -15323830 or 4861206. OLE color: 4861206.
HSL color Cylindrical-coordinate representation of color #162D4A: hue angle of 213.46º degrees, saturation: 0.54, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #162D4A is Cyan = 0.70, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 22 | 45 | 74 | - |
| CMYK | 0.70 | 0.39 | 0 | 0.71 |
| HSL | 213.46º | 0.54% | 0.19% | - |
| HSV(B) | 213.46º | 0.7% | 0.29% | - |
| XYZ | 2.51 | 2.54 | 6.84 | - |
| YUV | 41.43 | 146.38 | 114.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 45 | 74 | 0.70 | 0.39 | 0 | 0.71 | 213.46 | 0.54 | 0.19 |
| Hex | 16 | 2D | 4A | 46 | 27 | 0 | 47 | D5 | 36 | 13 |
| Octal | 26 | 55 | 112 | 106 | 47 | 0 | 107 | 325 | 66 | 23 |
| Binary | 10110 | 101101 | 1001010 | 1000110 | 100111 | 0 | 1000111 | 11010101 | 110110 | 10011 |
Color Harmonies of #162D4A
Complementary color
Monochromatic Colors of #162D4A
Black with #162D4A
Text Example
Text Example
White with #162D4A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162D4A; }
p { color: rgb(22,45,74); }
H1.HeaderClassName
{
color: #162D4A;
}
.AnyTagClassName
{
color: #162D4A;
}
</style>
background-color css
<style>
a { background-color: #162D4A; }
a { background-color: rgb(22,45,74); }
div.DivClassName
{
background-color: #162D4A;
}
.BgClassName
{
background-color: #162D4A;
}
</style>
border-color css
<style>
span { border-color: #162D4A; }
span { border-color: rgb(22,45,74); }
td.TdClassName
{
border-color: #162D4A;
}
.TagClassName
{
border-color: #162D4A;
}
</style>