Shades of Midnight #172D4F
Tints of Midnight #172D4F
RGB
CMYK
RGB Variations
Color information
#172D4F (or 0x172D4F) is known color: Midnight. HEX triplet: 17, 2D and 4F. RGB value is (23,45,79). Sum of RGB (Red+Green+Blue) = 23+45+79=147 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.65% from 147); Green value is 45 (17.97% from 255 or 30.61% from 147); Blue value is 79 (31.25% from 255 or 53.74% from 147); Max value from RGB is 79 - color contains mainly: blue. Hex color #172D4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172D4F is #E8D2B0. Grayscale: #2A2A2A. Windows color (decimal): -15258289 or 5188887. OLE color: 5188887.
HSL color Cylindrical-coordinate representation of color #172D4F: hue angle of 216.43º degrees, saturation: 0.55, 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 #172D4F is Cyan = 0.71, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 23 | 45 | 79 | - |
| CMYK | 0.71 | 0.43 | 0 | 0.69 |
| HSL | 216.43º | 0.55% | 0.2% | - |
| HSV(B) | 216.43º | 0.71% | 0.31% | - |
| XYZ | 2.7 | 2.62 | 7.76 | - |
| YUV | 42.3 | 148.71 | 114.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 45 | 79 | 0.71 | 0.43 | 0 | 0.69 | 216.43 | 0.55 | 0.2 |
| Hex | 17 | 2D | 4F | 47 | 2B | 0 | 45 | D8 | 37 | 14 |
| Octal | 27 | 55 | 117 | 107 | 53 | 0 | 105 | 330 | 67 | 24 |
| Binary | 10111 | 101101 | 1001111 | 1000111 | 101011 | 0 | 1000101 | 11011000 | 110111 | 10100 |
Color Harmonies of #172D4F
Complementary color
Monochromatic Colors of #172D4F
Black with #172D4F
Text Example
Text Example
White with #172D4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172D4F; }
p { color: rgb(23,45,79); }
H1.HeaderClassName
{
color: #172D4F;
}
.AnyTagClassName
{
color: #172D4F;
}
</style>
background-color css
<style>
a { background-color: #172D4F; }
a { background-color: rgb(23,45,79); }
div.DivClassName
{
background-color: #172D4F;
}
.BgClassName
{
background-color: #172D4F;
}
</style>
border-color css
<style>
span { border-color: #172D4F; }
span { border-color: rgb(23,45,79); }
td.TdClassName
{
border-color: #172D4F;
}
.TagClassName
{
border-color: #172D4F;
}
</style>