Shades of Midnight #162A4A
Tints of Midnight #162A4A
RGB
CMYK
RGB Variations
Color information
#162A4A (or 0x162A4A) is known color: Midnight. HEX triplet: 16, 2A and 4A. RGB value is (22,42,74). Sum of RGB (Red+Green+Blue) = 22+42+74=138 (18% of max value = 765). Red value is 22 (8.98% from 255 or 15.94% from 138); Green value is 42 (16.80% from 255 or 30.43% from 138); Blue value is 74 (29.30% from 255 or 53.62% from 138); Max value from RGB is 74 - color contains mainly: blue. Hex color #162A4A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #162A4A is #E9D5B5. Grayscale: #272727. Windows color (decimal): -15324598 or 4860438. OLE color: 4860438.
HSL color Cylindrical-coordinate representation of color #162A4A: hue angle of 216.92º 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 #162A4A is Cyan = 0.70, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 22 | 42 | 74 | - |
| CMYK | 0.70 | 0.43 | 0 | 0.71 |
| HSL | 216.92º | 0.54% | 0.19% | - |
| HSV(B) | 216.92º | 0.7% | 0.29% | - |
| XYZ | 2.39 | 2.32 | 6.8 | - |
| YUV | 39.67 | 147.37 | 115.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 74 | 0.70 | 0.43 | 0 | 0.71 | 216.92 | 0.54 | 0.19 |
| Hex | 16 | 2A | 4A | 46 | 2B | 0 | 47 | D9 | 36 | 13 |
| Octal | 26 | 52 | 112 | 106 | 53 | 0 | 107 | 331 | 66 | 23 |
| Binary | 10110 | 101010 | 1001010 | 1000110 | 101011 | 0 | 1000111 | 11011001 | 110110 | 10011 |
Color Harmonies of #162A4A
Complementary color
Monochromatic Colors of #162A4A
Black with #162A4A
Text Example
Text Example
White with #162A4A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A4A; }
p { color: rgb(22,42,74); }
H1.HeaderClassName
{
color: #162A4A;
}
.AnyTagClassName
{
color: #162A4A;
}
</style>
background-color css
<style>
a { background-color: #162A4A; }
a { background-color: rgb(22,42,74); }
div.DivClassName
{
background-color: #162A4A;
}
.BgClassName
{
background-color: #162A4A;
}
</style>
border-color css
<style>
span { border-color: #162A4A; }
span { border-color: rgb(22,42,74); }
td.TdClassName
{
border-color: #162A4A;
}
.TagClassName
{
border-color: #162A4A;
}
</style>