Shades of Midnight Blue #162A7D
Tints of Midnight Blue #162A7D
RGB
CMYK
RGB Variations
Color information
#162A7D (or 0x162A7D) is known color: Midnight Blue. HEX triplet: 16, 2A and 7D. RGB value is (22,42,125). Sum of RGB (Red+Green+Blue) = 22+42+125=189 (25% of max value = 765). Red value is 22 (8.98% from 255 or 11.64% from 189); Green value is 42 (16.80% from 255 or 22.22% from 189); Blue value is 125 (49.22% from 255 or 66.14% from 189); Max value from RGB is 125 - color contains mainly: blue. Hex color #162A7D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #162A7D is #E9D582. Grayscale: #2D2D2D. Windows color (decimal): -15324547 or 8202774. OLE color: 8202774.
HSL color Cylindrical-coordinate representation of color #162A7D: hue angle of 228.35º 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 #162A7D is Cyan = 0.82, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 22 | 42 | 125 | - |
| CMYK | 0.82 | 0.66 | 0 | 0.51 |
| HSL | 228.35º | 0.7% | 0.29% | - |
| HSV(B) | 228.35º | 0.82% | 0.49% | - |
| XYZ | 4.86 | 3.31 | 19.78 | - |
| YUV | 45.48 | 172.87 | 111.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 125 | 0.82 | 0.66 | 0 | 0.51 | 228.35 | 0.7 | 0.29 |
| Hex | 16 | 2A | 7D | 52 | 42 | 0 | 33 | E4 | 46 | 1D |
| Octal | 26 | 52 | 175 | 122 | 102 | 0 | 63 | 344 | 106 | 35 |
| Binary | 10110 | 101010 | 1111101 | 1010010 | 1000010 | 0 | 110011 | 11100100 | 1000110 | 11101 |
Color Harmonies of #162A7D
Complementary color
Monochromatic Colors of #162A7D
Black with #162A7D
Text Example
Text Example
White with #162A7D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A7D; }
p { color: rgb(22,42,125); }
H1.HeaderClassName
{
color: #162A7D;
}
.AnyTagClassName
{
color: #162A7D;
}
</style>
background-color css
<style>
a { background-color: #162A7D; }
a { background-color: rgb(22,42,125); }
div.DivClassName
{
background-color: #162A7D;
}
.BgClassName
{
background-color: #162A7D;
}
</style>
border-color css
<style>
span { border-color: #162A7D; }
span { border-color: rgb(22,42,125); }
td.TdClassName
{
border-color: #162A7D;
}
.TagClassName
{
border-color: #162A7D;
}
</style>