Shades of Midnight #162A4D
Tints of Midnight #162A4D
RGB
CMYK
RGB Variations
Color information
#162A4D (or 0x162A4D) is known color: Midnight. HEX triplet: 16, 2A and 4D. RGB value is (22,42,77). Sum of RGB (Red+Green+Blue) = 22+42+77=141 (18% of max value = 765). Red value is 22 (8.98% from 255 or 15.60% from 141); Green value is 42 (16.80% from 255 or 29.79% from 141); Blue value is 77 (30.47% from 255 or 54.61% from 141); Max value from RGB is 77 - color contains mainly: blue. Hex color #162A4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162A4D is #E9D5B2. Grayscale: #272727. Windows color (decimal): -15324595 or 5057046. OLE color: 5057046.
HSL color Cylindrical-coordinate representation of color #162A4D: hue angle of 218.18º 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 #162A4D is Cyan = 0.71, Magento = 0.45, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 22 | 42 | 77 | - |
| CMYK | 0.71 | 0.45 | 0 | 0.70 |
| HSL | 218.18º | 0.56% | 0.19% | - |
| HSV(B) | 218.18º | 0.71% | 0.3% | - |
| XYZ | 2.5 | 2.36 | 7.35 | - |
| YUV | 40.01 | 148.87 | 115.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 77 | 0.71 | 0.45 | 0 | 0.70 | 218.18 | 0.56 | 0.19 |
| Hex | 16 | 2A | 4D | 47 | 2D | 0 | 46 | DA | 38 | 13 |
| Octal | 26 | 52 | 115 | 107 | 55 | 0 | 106 | 332 | 70 | 23 |
| Binary | 10110 | 101010 | 1001101 | 1000111 | 101101 | 0 | 1000110 | 11011010 | 111000 | 10011 |
Color Harmonies of #162A4D
Complementary color
Monochromatic Colors of #162A4D
Black with #162A4D
Text Example
Text Example
White with #162A4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A4D; }
p { color: rgb(22,42,77); }
H1.HeaderClassName
{
color: #162A4D;
}
.AnyTagClassName
{
color: #162A4D;
}
</style>
background-color css
<style>
a { background-color: #162A4D; }
a { background-color: rgb(22,42,77); }
div.DivClassName
{
background-color: #162A4D;
}
.BgClassName
{
background-color: #162A4D;
}
</style>
border-color css
<style>
span { border-color: #162A4D; }
span { border-color: rgb(22,42,77); }
td.TdClassName
{
border-color: #162A4D;
}
.TagClassName
{
border-color: #162A4D;
}
</style>