Shades of Midnight #172A47
Tints of Midnight #172A47
RGB
CMYK
RGB Variations
Color information
#172A47 (or 0x172A47) is known color: Midnight. HEX triplet: 17, 2A and 47. RGB value is (23,42,71). Sum of RGB (Red+Green+Blue) = 23+42+71=136 (18% of max value = 765). Red value is 23 (9.38% from 255 or 16.91% from 136); Green value is 42 (16.80% from 255 or 30.88% from 136); Blue value is 71 (28.12% from 255 or 52.21% from 136); Max value from RGB is 71 - color contains mainly: blue. Hex color #172A47 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A47 is #E8D5B8. Grayscale: #272727. Windows color (decimal): -15259065 or 4663831. OLE color: 4663831.
HSL color Cylindrical-coordinate representation of color #172A47: hue angle of 216.25º degrees, saturation: 0.51, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #172A47 is Cyan = 0.68, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 23 | 42 | 71 | - |
| CMYK | 0.68 | 0.41 | 0 | 0.72 |
| HSL | 216.25º | 0.51% | 0.18% | - |
| HSV(B) | 216.25º | 0.68% | 0.28% | - |
| XYZ | 2.32 | 2.29 | 6.28 | - |
| YUV | 39.63 | 145.71 | 116.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 71 | 0.68 | 0.41 | 0 | 0.72 | 216.25 | 0.51 | 0.18 |
| Hex | 17 | 2A | 47 | 44 | 29 | 0 | 48 | D8 | 33 | 12 |
| Octal | 27 | 52 | 107 | 104 | 51 | 0 | 110 | 330 | 63 | 22 |
| Binary | 10111 | 101010 | 1000111 | 1000100 | 101001 | 0 | 1001000 | 11011000 | 110011 | 10010 |
Color Harmonies of #172A47
Complementary color
Monochromatic Colors of #172A47
Black with #172A47
Text Example
Text Example
White with #172A47
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A47; }
p { color: rgb(23,42,71); }
H1.HeaderClassName
{
color: #172A47;
}
.AnyTagClassName
{
color: #172A47;
}
</style>
background-color css
<style>
a { background-color: #172A47; }
a { background-color: rgb(23,42,71); }
div.DivClassName
{
background-color: #172A47;
}
.BgClassName
{
background-color: #172A47;
}
</style>
border-color css
<style>
span { border-color: #172A47; }
span { border-color: rgb(23,42,71); }
td.TdClassName
{
border-color: #172A47;
}
.TagClassName
{
border-color: #172A47;
}
</style>