Shades of Midnight #162640
Tints of Midnight #162640
RGB
CMYK
RGB Variations
Color information
#162640 (or 0x162640) is known color: Midnight. HEX triplet: 16, 26 and 40. RGB value is (22,38,64). Sum of RGB (Red+Green+Blue) = 22+38+64=124 (16% of max value = 765). Red value is 22 (8.98% from 255 or 17.74% from 124); Green value is 38 (15.23% from 255 or 30.65% from 124); Blue value is 64 (25.39% from 255 or 51.61% from 124); Max value from RGB is 64 - color contains mainly: blue. Hex color #162640 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #162640 is #E9D9BF. Grayscale: #242424. Windows color (decimal): -15325632 or 4204054. OLE color: 4204054.
HSL color Cylindrical-coordinate representation of color #162640: hue angle of 217.14º degrees, saturation: 0.49, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.66%. Process color model (Four color, CMYK) of #162640 is Cyan = 0.66, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 22 | 38 | 64 | - |
| CMYK | 0.66 | 0.41 | 0 | 0.75 |
| HSL | 217.14º | 0.49% | 0.17% | - |
| HSV(B) | 217.14º | 0.66% | 0.25% | - |
| XYZ | 1.95 | 1.93 | 5.12 | - |
| YUV | 36.18 | 143.7 | 117.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 22 | 38 | 64 | 0.66 | 0.41 | 0 | 0.75 | 217.14 | 0.49 | 0.17 |
| Hex | 16 | 26 | 40 | 42 | 29 | 0 | 4B | D9 | 31 | 11 |
| Octal | 26 | 46 | 100 | 102 | 51 | 0 | 113 | 331 | 61 | 21 |
| Binary | 10110 | 100110 | 1000000 | 1000010 | 101001 | 0 | 1001011 | 11011001 | 110001 | 10001 |
Color Harmonies of #162640
Complementary color
Monochromatic Colors of #162640
Black with #162640
Text Example
Text Example
White with #162640
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #162640; }
p { color: rgb(22,38,64); }
H1.HeaderClassName
{
color: #162640;
}
.AnyTagClassName
{
color: #162640;
}
</style>
background-color css
<style>
a { background-color: #162640; }
a { background-color: rgb(22,38,64); }
div.DivClassName
{
background-color: #162640;
}
.BgClassName
{
background-color: #162640;
}
</style>
border-color css
<style>
span { border-color: #162640; }
span { border-color: rgb(22,38,64); }
td.TdClassName
{
border-color: #162640;
}
.TagClassName
{
border-color: #162640;
}
</style>