Shades of Midnight #172E4D
Tints of Midnight #172E4D
RGB
CMYK
RGB Variations
Color information
#172E4D (or 0x172E4D) is known color: Midnight. HEX triplet: 17, 2E and 4D. RGB value is (23,46,77). Sum of RGB (Red+Green+Blue) = 23+46+77=146 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.75% from 146); Green value is 46 (18.36% from 255 or 31.51% from 146); Blue value is 77 (30.47% from 255 or 52.74% from 146); Max value from RGB is 77 - color contains mainly: blue. Hex color #172E4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172E4D is #E8D1B2. Grayscale: #2A2A2A. Windows color (decimal): -15258035 or 5058071. OLE color: 5058071.
HSL color Cylindrical-coordinate representation of color #172E4D: hue angle of 214.44º degrees, saturation: 0.54, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #172E4D is Cyan = 0.70, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 23 | 46 | 77 | - |
| CMYK | 0.70 | 0.40 | 0 | 0.70 |
| HSL | 214.44º | 0.54% | 0.2% | - |
| HSV(B) | 214.44º | 0.7% | 0.3% | - |
| XYZ | 2.67 | 2.67 | 7.4 | - |
| YUV | 42.66 | 147.38 | 113.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 46 | 77 | 0.70 | 0.40 | 0 | 0.70 | 214.44 | 0.54 | 0.2 |
| Hex | 17 | 2E | 4D | 46 | 28 | 0 | 46 | D6 | 36 | 14 |
| Octal | 27 | 56 | 115 | 106 | 50 | 0 | 106 | 326 | 66 | 24 |
| Binary | 10111 | 101110 | 1001101 | 1000110 | 101000 | 0 | 1000110 | 11010110 | 110110 | 10100 |
Color Harmonies of #172E4D
Complementary color
Monochromatic Colors of #172E4D
Black with #172E4D
Text Example
Text Example
White with #172E4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172E4D; }
p { color: rgb(23,46,77); }
H1.HeaderClassName
{
color: #172E4D;
}
.AnyTagClassName
{
color: #172E4D;
}
</style>
background-color css
<style>
a { background-color: #172E4D; }
a { background-color: rgb(23,46,77); }
div.DivClassName
{
background-color: #172E4D;
}
.BgClassName
{
background-color: #172E4D;
}
</style>
border-color css
<style>
span { border-color: #172E4D; }
span { border-color: rgb(23,46,77); }
td.TdClassName
{
border-color: #172E4D;
}
.TagClassName
{
border-color: #172E4D;
}
</style>