Shades of Midnight #162A4C
Tints of Midnight #162A4C
RGB
CMYK
RGB Variations
Color information
#162A4C (or 0x162A4C) is known color: Midnight. HEX triplet: 16, 2A and 4C. RGB value is (22,42,76). Sum of RGB (Red+Green+Blue) = 22+42+76=140 (18% of max value = 765). Red value is 22 (8.98% from 255 or 15.71% from 140); Green value is 42 (16.80% from 255 or 30% from 140); Blue value is 76 (30.08% from 255 or 54.29% from 140); Max value from RGB is 76 - color contains mainly: blue. Hex color #162A4C is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #162A4C is #E9D5B3. Grayscale: #272727. Windows color (decimal): -15324596 or 4991510. OLE color: 4991510.
HSL color Cylindrical-coordinate representation of color #162A4C: hue angle of 217.78º degrees, saturation: 0.55, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #162A4C is Cyan = 0.71, Magento = 0.45, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 22 | 42 | 76 | - |
| CMYK | 0.71 | 0.45 | 0 | 0.70 |
| HSL | 217.78º | 0.55% | 0.19% | - |
| HSV(B) | 217.78º | 0.71% | 0.3% | - |
| XYZ | 2.46 | 2.35 | 7.16 | - |
| YUV | 39.9 | 148.37 | 115.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 42 | 76 | 0.71 | 0.45 | 0 | 0.70 | 217.78 | 0.55 | 0.19 |
| Hex | 16 | 2A | 4C | 47 | 2D | 0 | 46 | DA | 37 | 13 |
| Octal | 26 | 52 | 114 | 107 | 55 | 0 | 106 | 332 | 67 | 23 |
| Binary | 10110 | 101010 | 1001100 | 1000111 | 101101 | 0 | 1000110 | 11011010 | 110111 | 10011 |
Color Harmonies of #162A4C
Complementary color
Monochromatic Colors of #162A4C
Black with #162A4C
Text Example
Text Example
White with #162A4C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162A4C; }
p { color: rgb(22,42,76); }
H1.HeaderClassName
{
color: #162A4C;
}
.AnyTagClassName
{
color: #162A4C;
}
</style>
background-color css
<style>
a { background-color: #162A4C; }
a { background-color: rgb(22,42,76); }
div.DivClassName
{
background-color: #162A4C;
}
.BgClassName
{
background-color: #162A4C;
}
</style>
border-color css
<style>
span { border-color: #162A4C; }
span { border-color: rgb(22,42,76); }
td.TdClassName
{
border-color: #162A4C;
}
.TagClassName
{
border-color: #162A4C;
}
</style>