Shades of Midnight #172D4D
Tints of Midnight #172D4D
RGB
CMYK
RGB Variations
Color information
#172D4D (or 0x172D4D) is known color: Midnight. HEX triplet: 17, 2D and 4D. RGB value is (23,45,77). Sum of RGB (Red+Green+Blue) = 23+45+77=145 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.86% from 145); Green value is 45 (17.97% from 255 or 31.03% from 145); Blue value is 77 (30.47% from 255 or 53.10% from 145); Max value from RGB is 77 - color contains mainly: blue. Hex color #172D4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172D4D is #E8D2B2. Grayscale: #292929. Windows color (decimal): -15258291 or 5057815. OLE color: 5057815.
HSL color Cylindrical-coordinate representation of color #172D4D: hue angle of 215.56º 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 #172D4D is Cyan = 0.70, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 23 | 45 | 77 | - |
| CMYK | 0.70 | 0.42 | 0 | 0.70 |
| HSL | 215.56º | 0.54% | 0.2% | - |
| HSV(B) | 215.56º | 0.7% | 0.3% | - |
| XYZ | 2.63 | 2.59 | 7.38 | - |
| YUV | 42.07 | 147.71 | 114.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 45 | 77 | 0.70 | 0.42 | 0 | 0.70 | 215.56 | 0.54 | 0.2 |
| Hex | 17 | 2D | 4D | 46 | 2A | 0 | 46 | D8 | 36 | 14 |
| Octal | 27 | 55 | 115 | 106 | 52 | 0 | 106 | 330 | 66 | 24 |
| Binary | 10111 | 101101 | 1001101 | 1000110 | 101010 | 0 | 1000110 | 11011000 | 110110 | 10100 |
Color Harmonies of #172D4D
Complementary color
Monochromatic Colors of #172D4D
Black with #172D4D
Text Example
Text Example
White with #172D4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172D4D; }
p { color: rgb(23,45,77); }
H1.HeaderClassName
{
color: #172D4D;
}
.AnyTagClassName
{
color: #172D4D;
}
</style>
background-color css
<style>
a { background-color: #172D4D; }
a { background-color: rgb(23,45,77); }
div.DivClassName
{
background-color: #172D4D;
}
.BgClassName
{
background-color: #172D4D;
}
</style>
border-color css
<style>
span { border-color: #172D4D; }
span { border-color: rgb(23,45,77); }
td.TdClassName
{
border-color: #172D4D;
}
.TagClassName
{
border-color: #172D4D;
}
</style>