Shades of Midnight #162D4B
Tints of Midnight #162D4B
RGB
CMYK
RGB Variations
Color information
#162D4B (or 0x162D4B) is known color: Midnight. HEX triplet: 16, 2D and 4B. RGB value is (22,45,75). Sum of RGB (Red+Green+Blue) = 22+45+75=142 (18% of max value = 765). Red value is 22 (8.98% from 255 or 15.49% from 142); Green value is 45 (17.97% from 255 or 31.69% from 142); Blue value is 75 (29.69% from 255 or 52.82% from 142); Max value from RGB is 75 - color contains mainly: blue. Hex color #162D4B is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #162D4B is #E9D2B4. Grayscale: #292929. Windows color (decimal): -15323829 or 4926742. OLE color: 4926742.
HSL color Cylindrical-coordinate representation of color #162D4B: hue angle of 213.96º degrees, saturation: 0.55, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #162D4B is Cyan = 0.71, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 22 | 45 | 75 | - |
| CMYK | 0.71 | 0.40 | 0 | 0.71 |
| HSL | 213.96º | 0.55% | 0.19% | - |
| HSV(B) | 213.96º | 0.71% | 0.29% | - |
| XYZ | 2.54 | 2.56 | 7.02 | - |
| YUV | 41.54 | 146.88 | 114.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 45 | 75 | 0.71 | 0.40 | 0 | 0.71 | 213.96 | 0.55 | 0.19 |
| Hex | 16 | 2D | 4B | 47 | 28 | 0 | 47 | D6 | 37 | 13 |
| Octal | 26 | 55 | 113 | 107 | 50 | 0 | 107 | 326 | 67 | 23 |
| Binary | 10110 | 101101 | 1001011 | 1000111 | 101000 | 0 | 1000111 | 11010110 | 110111 | 10011 |
Color Harmonies of #162D4B
Complementary color
Monochromatic Colors of #162D4B
Black with #162D4B
Text Example
Text Example
White with #162D4B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162D4B; }
p { color: rgb(22,45,75); }
H1.HeaderClassName
{
color: #162D4B;
}
.AnyTagClassName
{
color: #162D4B;
}
</style>
background-color css
<style>
a { background-color: #162D4B; }
a { background-color: rgb(22,45,75); }
div.DivClassName
{
background-color: #162D4B;
}
.BgClassName
{
background-color: #162D4B;
}
</style>
border-color css
<style>
span { border-color: #162D4B; }
span { border-color: rgb(22,45,75); }
td.TdClassName
{
border-color: #162D4B;
}
.TagClassName
{
border-color: #162D4B;
}
</style>