Shades of Midnight #172946
Tints of Midnight #172946
RGB
CMYK
RGB Variations
Color information
#172946 (or 0x172946) is known color: Midnight. HEX triplet: 17, 29 and 46. RGB value is (23,41,70). Sum of RGB (Red+Green+Blue) = 23+41+70=134 (17% of max value = 765). Red value is 23 (9.38% from 255 or 17.16% from 134); Green value is 41 (16.41% from 255 or 30.60% from 134); Blue value is 70 (27.73% from 255 or 52.24% from 134); Max value from RGB is 70 - color contains mainly: blue. Hex color #172946 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172946 is #E8D6B9. Grayscale: #262626. Windows color (decimal): -15259322 or 4598039. OLE color: 4598039.
HSL color Cylindrical-coordinate representation of color #172946: hue angle of 217.02º degrees, saturation: 0.51, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #172946 is Cyan = 0.67, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 23 | 41 | 70 | - |
| CMYK | 0.67 | 0.41 | 0 | 0.73 |
| HSL | 217.02º | 0.51% | 0.18% | - |
| HSV(B) | 217.02º | 0.67% | 0.27% | - |
| XYZ | 2.25 | 2.21 | 6.1 | - |
| YUV | 38.92 | 145.54 | 116.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 41 | 70 | 0.67 | 0.41 | 0 | 0.73 | 217.02 | 0.51 | 0.18 |
| Hex | 17 | 29 | 46 | 43 | 29 | 0 | 49 | D9 | 33 | 12 |
| Octal | 27 | 51 | 106 | 103 | 51 | 0 | 111 | 331 | 63 | 22 |
| Binary | 10111 | 101001 | 1000110 | 1000011 | 101001 | 0 | 1001001 | 11011001 | 110011 | 10010 |
Color Harmonies of #172946
Complementary color
Monochromatic Colors of #172946
Black with #172946
Text Example
Text Example
White with #172946
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172946; }
p { color: rgb(23,41,70); }
H1.HeaderClassName
{
color: #172946;
}
.AnyTagClassName
{
color: #172946;
}
</style>
background-color css
<style>
a { background-color: #172946; }
a { background-color: rgb(23,41,70); }
div.DivClassName
{
background-color: #172946;
}
.BgClassName
{
background-color: #172946;
}
</style>
border-color css
<style>
span { border-color: #172946; }
span { border-color: rgb(23,41,70); }
td.TdClassName
{
border-color: #172946;
}
.TagClassName
{
border-color: #172946;
}
</style>