Shades of Midnight Blue #162A7C
Tints of Midnight Blue #162A7C
RGB
CMYK
RGB Variations
Color information
#162A7C (or 0x162A7C) is known color: Midnight Blue. HEX triplet: 16, 2A and 7C. RGB value is (22,42,124). Sum of RGB (Red+Green+Blue) = 22+42+124=188 (24% of max value = 765). Red value is 22 (8.98% from 255 or 11.70% from 188); Green value is 42 (16.80% from 255 or 22.34% from 188); Blue value is 124 (48.83% from 255 or 65.96% from 188); Max value from RGB is 124 - color contains mainly: blue. Hex color #162A7C is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162A7C is #E9D583. Grayscale: #2D2D2D. Windows color (decimal): -15324548 or 8137238. OLE color: 8137238.
HSL color Cylindrical-coordinate representation of color #162A7C: hue angle of 228.24º degrees, saturation: 0.7, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #162A7C is Cyan = 0.82, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 22 | 42 | 124 | - |
| CMYK | 0.82 | 0.66 | 0 | 0.51 |
| HSL | 228.24º | 0.7% | 0.29% | - |
| HSV(B) | 228.24º | 0.82% | 0.49% | - |
| XYZ | 4.8 | 3.28 | 19.45 | - |
| YUV | 45.37 | 172.37 | 111.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 124 | 0.82 | 0.66 | 0 | 0.51 | 228.24 | 0.7 | 0.29 |
| Hex | 16 | 2A | 7C | 52 | 42 | 0 | 33 | E4 | 46 | 1D |
| Octal | 26 | 52 | 174 | 122 | 102 | 0 | 63 | 344 | 106 | 35 |
| Binary | 10110 | 101010 | 1111100 | 1010010 | 1000010 | 0 | 110011 | 11100100 | 1000110 | 11101 |
Color Harmonies of #162A7C
Complementary color
Monochromatic Colors of #162A7C
Black with #162A7C
Text Example
Text Example
White with #162A7C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A7C; }
p { color: rgb(22,42,124); }
H1.HeaderClassName
{
color: #162A7C;
}
.AnyTagClassName
{
color: #162A7C;
}
</style>
background-color css
<style>
a { background-color: #162A7C; }
a { background-color: rgb(22,42,124); }
div.DivClassName
{
background-color: #162A7C;
}
.BgClassName
{
background-color: #162A7C;
}
</style>
border-color css
<style>
span { border-color: #162A7C; }
span { border-color: rgb(22,42,124); }
td.TdClassName
{
border-color: #162A7C;
}
.TagClassName
{
border-color: #162A7C;
}
</style>