Shades of Midnight #172D4E
Tints of Midnight #172D4E
RGB
CMYK
RGB Variations
Color information
#172D4E (or 0x172D4E) is known color: Midnight. HEX triplet: 17, 2D and 4E. RGB value is (23,45,78). Sum of RGB (Red+Green+Blue) = 23+45+78=146 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.75% from 146); Green value is 45 (17.97% from 255 or 30.82% from 146); Blue value is 78 (30.86% from 255 or 53.42% from 146); Max value from RGB is 78 - color contains mainly: blue. Hex color #172D4E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172D4E is #E8D2B1. Grayscale: #2A2A2A. Windows color (decimal): -15258290 or 5123351. OLE color: 5123351.
HSL color Cylindrical-coordinate representation of color #172D4E: hue angle of 216º degrees, saturation: 0.54, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #172D4E is Cyan = 0.71, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 23 | 45 | 78 | - |
| CMYK | 0.71 | 0.42 | 0 | 0.69 |
| HSL | 216º | 0.54% | 0.2% | - |
| HSV(B) | 216º | 0.71% | 0.31% | - |
| XYZ | 2.67 | 2.61 | 7.57 | - |
| YUV | 42.18 | 148.21 | 114.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 45 | 78 | 0.71 | 0.42 | 0 | 0.69 | 216 | 0.54 | 0.2 |
| Hex | 17 | 2D | 4E | 47 | 2A | 0 | 45 | D8 | 36 | 14 |
| Octal | 27 | 55 | 116 | 107 | 52 | 0 | 105 | 330 | 66 | 24 |
| Binary | 10111 | 101101 | 1001110 | 1000111 | 101010 | 0 | 1000101 | 11011000 | 110110 | 10100 |
Color Harmonies of #172D4E
Complementary color
Monochromatic Colors of #172D4E
Black with #172D4E
Text Example
Text Example
White with #172D4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172D4E; }
p { color: rgb(23,45,78); }
H1.HeaderClassName
{
color: #172D4E;
}
.AnyTagClassName
{
color: #172D4E;
}
</style>
background-color css
<style>
a { background-color: #172D4E; }
a { background-color: rgb(23,45,78); }
div.DivClassName
{
background-color: #172D4E;
}
.BgClassName
{
background-color: #172D4E;
}
</style>
border-color css
<style>
span { border-color: #172D4E; }
span { border-color: rgb(23,45,78); }
td.TdClassName
{
border-color: #172D4E;
}
.TagClassName
{
border-color: #172D4E;
}
</style>