Shades of Midnight Blue #162C81
Tints of Midnight Blue #162C81
RGB
CMYK
RGB Variations
Color information
#162C81 (or 0x162C81) is known color: Midnight Blue. HEX triplet: 16, 2C and 81. RGB value is (22,44,129). Sum of RGB (Red+Green+Blue) = 22+44+129=195 (25% of max value = 765). Red value is 22 (8.98% from 255 or 11.28% from 195); Green value is 44 (17.58% from 255 or 22.56% from 195); Blue value is 129 (50.78% from 255 or 66.15% from 195); Max value from RGB is 129 - color contains mainly: blue. Hex color #162C81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #162C81 is #E9D37E. Grayscale: #2E2E2E. Windows color (decimal): -15324031 or 8465430. OLE color: 8465430.
HSL color Cylindrical-coordinate representation of color #162C81: hue angle of 227.66º degrees, saturation: 0.71, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #162C81 is Cyan = 0.83, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 22 | 44 | 129 | - |
| CMYK | 0.83 | 0.66 | 0 | 0.49 |
| HSL | 227.66º | 0.71% | 0.3% | - |
| HSV(B) | 227.66º | 0.83% | 0.51% | - |
| XYZ | 5.19 | 3.56 | 21.18 | - |
| YUV | 47.11 | 174.21 | 110.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 44 | 129 | 0.83 | 0.66 | 0 | 0.49 | 227.66 | 0.71 | 0.3 |
| Hex | 16 | 2C | 81 | 53 | 42 | 0 | 31 | E4 | 47 | 1E |
| Octal | 26 | 54 | 201 | 123 | 102 | 0 | 61 | 344 | 107 | 36 |
| Binary | 10110 | 101100 | 10000001 | 1010011 | 1000010 | 0 | 110001 | 11100100 | 1000111 | 11110 |
Color Harmonies of #162C81
Complementary color
Monochromatic Colors of #162C81
Black with #162C81
Text Example
Text Example
White with #162C81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162C81; }
p { color: rgb(22,44,129); }
H1.HeaderClassName
{
color: #162C81;
}
.AnyTagClassName
{
color: #162C81;
}
</style>
background-color css
<style>
a { background-color: #162C81; }
a { background-color: rgb(22,44,129); }
div.DivClassName
{
background-color: #162C81;
}
.BgClassName
{
background-color: #162C81;
}
</style>
border-color css
<style>
span { border-color: #162C81; }
span { border-color: rgb(22,44,129); }
td.TdClassName
{
border-color: #162C81;
}
.TagClassName
{
border-color: #162C81;
}
</style>