Shades of Midnight Blue #162A81
Tints of Midnight Blue #162A81
RGB
CMYK
RGB Variations
Color information
#162A81 (or 0x162A81) is known color: Midnight Blue. HEX triplet: 16, 2A and 81. RGB value is (22,42,129). Sum of RGB (Red+Green+Blue) = 22+42+129=193 (25% of max value = 765). Red value is 22 (8.98% from 255 or 11.40% from 193); Green value is 42 (16.80% from 255 or 21.76% from 193); Blue value is 129 (50.78% from 255 or 66.84% from 193); Max value from RGB is 129 - color contains mainly: blue. Hex color #162A81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #162A81 is #E9D57E. Grayscale: #2D2D2D. Windows color (decimal): -15324543 or 8464918. OLE color: 8464918.
HSL color Cylindrical-coordinate representation of color #162A81: hue angle of 228.79º 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 #162A81 is Cyan = 0.83, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 22 | 42 | 129 | - |
| CMYK | 0.83 | 0.67 | 0 | 0.49 |
| HSL | 228.79º | 0.71% | 0.3% | - |
| HSV(B) | 228.79º | 0.83% | 0.51% | - |
| XYZ | 5.12 | 3.41 | 21.16 | - |
| YUV | 45.94 | 174.87 | 110.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 129 | 0.83 | 0.67 | 0 | 0.49 | 228.79 | 0.71 | 0.3 |
| Hex | 16 | 2A | 81 | 53 | 43 | 0 | 31 | E5 | 47 | 1E |
| Octal | 26 | 52 | 201 | 123 | 103 | 0 | 61 | 345 | 107 | 36 |
| Binary | 10110 | 101010 | 10000001 | 1010011 | 1000011 | 0 | 110001 | 11100101 | 1000111 | 11110 |
Color Harmonies of #162A81
Complementary color
Monochromatic Colors of #162A81
Black with #162A81
Text Example
Text Example
White with #162A81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A81; }
p { color: rgb(22,42,129); }
H1.HeaderClassName
{
color: #162A81;
}
.AnyTagClassName
{
color: #162A81;
}
</style>
background-color css
<style>
a { background-color: #162A81; }
a { background-color: rgb(22,42,129); }
div.DivClassName
{
background-color: #162A81;
}
.BgClassName
{
background-color: #162A81;
}
</style>
border-color css
<style>
span { border-color: #162A81; }
span { border-color: rgb(22,42,129); }
td.TdClassName
{
border-color: #162A81;
}
.TagClassName
{
border-color: #162A81;
}
</style>