Shades of Midnight #172F4F
Tints of Midnight #172F4F
RGB
CMYK
RGB Variations
Color information
#172F4F (or 0x172F4F) is known color: Midnight. HEX triplet: 17, 2F and 4F. RGB value is (23,47,79). Sum of RGB (Red+Green+Blue) = 23+47+79=149 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.44% from 149); Green value is 47 (18.75% from 255 or 31.54% from 149); Blue value is 79 (31.25% from 255 or 53.02% from 149); Max value from RGB is 79 - color contains mainly: blue. Hex color #172F4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172F4F is #E8D0B0. Grayscale: #2B2B2B. Windows color (decimal): -15257777 or 5189399. OLE color: 5189399.
HSL color Cylindrical-coordinate representation of color #172F4F: hue angle of 214.29º 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 #172F4F is Cyan = 0.71, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 23 | 47 | 79 | - |
| CMYK | 0.71 | 0.41 | 0 | 0.69 |
| HSL | 214.29º | 0.55% | 0.2% | - |
| HSV(B) | 214.29º | 0.71% | 0.31% | - |
| XYZ | 2.78 | 2.78 | 7.79 | - |
| YUV | 43.47 | 148.05 | 113.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 47 | 79 | 0.71 | 0.41 | 0 | 0.69 | 214.29 | 0.55 | 0.2 |
| Hex | 17 | 2F | 4F | 47 | 29 | 0 | 45 | D6 | 37 | 14 |
| Octal | 27 | 57 | 117 | 107 | 51 | 0 | 105 | 326 | 67 | 24 |
| Binary | 10111 | 101111 | 1001111 | 1000111 | 101001 | 0 | 1000101 | 11010110 | 110111 | 10100 |
Color Harmonies of #172F4F
Complementary color
Monochromatic Colors of #172F4F
Black with #172F4F
Text Example
Text Example
White with #172F4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172F4F; }
p { color: rgb(23,47,79); }
H1.HeaderClassName
{
color: #172F4F;
}
.AnyTagClassName
{
color: #172F4F;
}
</style>
background-color css
<style>
a { background-color: #172F4F; }
a { background-color: rgb(23,47,79); }
div.DivClassName
{
background-color: #172F4F;
}
.BgClassName
{
background-color: #172F4F;
}
</style>
border-color css
<style>
span { border-color: #172F4F; }
span { border-color: rgb(23,47,79); }
td.TdClassName
{
border-color: #172F4F;
}
.TagClassName
{
border-color: #172F4F;
}
</style>