Shades of Midnight Blue #162A82
Tints of Midnight Blue #162A82
RGB
CMYK
RGB Variations
Color information
#162A82 (or 0x162A82) is known color: Midnight Blue. HEX triplet: 16, 2A and 82. RGB value is (22,42,130). Sum of RGB (Red+Green+Blue) = 22+42+130=194 (25% of max value = 765). Red value is 22 (8.98% from 255 or 11.34% from 194); Green value is 42 (16.80% from 255 or 21.65% from 194); Blue value is 130 (51.17% from 255 or 67.01% from 194); Max value from RGB is 130 - color contains mainly: blue. Hex color #162A82 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #162A82 is #E9D57D. Grayscale: #2D2D2D. Windows color (decimal): -15324542 or 8530454. OLE color: 8530454.
HSL color Cylindrical-coordinate representation of color #162A82: hue angle of 228.89º 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 #162A82 is Cyan = 0.83, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 22 | 42 | 130 | - |
| CMYK | 0.83 | 0.68 | 0 | 0.49 |
| HSL | 228.89º | 0.71% | 0.3% | - |
| HSV(B) | 228.89º | 0.83% | 0.51% | - |
| XYZ | 5.19 | 3.44 | 21.51 | - |
| YUV | 46.05 | 175.37 | 110.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 130 | 0.83 | 0.68 | 0 | 0.49 | 228.89 | 0.71 | 0.3 |
| Hex | 16 | 2A | 82 | 53 | 44 | 0 | 31 | E5 | 47 | 1E |
| Octal | 26 | 52 | 202 | 123 | 104 | 0 | 61 | 345 | 107 | 36 |
| Binary | 10110 | 101010 | 10000010 | 1010011 | 1000100 | 0 | 110001 | 11100101 | 1000111 | 11110 |
Color Harmonies of #162A82
Complementary color
Monochromatic Colors of #162A82
Black with #162A82
Text Example
Text Example
White with #162A82
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A82; }
p { color: rgb(22,42,130); }
H1.HeaderClassName
{
color: #162A82;
}
.AnyTagClassName
{
color: #162A82;
}
</style>
background-color css
<style>
a { background-color: #162A82; }
a { background-color: rgb(22,42,130); }
div.DivClassName
{
background-color: #162A82;
}
.BgClassName
{
background-color: #162A82;
}
</style>
border-color css
<style>
span { border-color: #162A82; }
span { border-color: rgb(22,42,130); }
td.TdClassName
{
border-color: #162A82;
}
.TagClassName
{
border-color: #162A82;
}
</style>