Shades of Midnight #172A46
Tints of Midnight #172A46
RGB
CMYK
RGB Variations
Color information
#172A46 (or 0x172A46) is known color: Midnight. HEX triplet: 17, 2A and 46. RGB value is (23,42,70). Sum of RGB (Red+Green+Blue) = 23+42+70=135 (17% of max value = 765). Red value is 23 (9.38% from 255 or 17.04% from 135); Green value is 42 (16.80% from 255 or 31.11% from 135); Blue value is 70 (27.73% from 255 or 51.85% from 135); Max value from RGB is 70 - color contains mainly: blue. Hex color #172A46 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A46 is #E8D5B9. Grayscale: #272727. Windows color (decimal): -15259066 or 4598295. OLE color: 4598295.
HSL color Cylindrical-coordinate representation of color #172A46: hue angle of 215.74º 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 #172A46 is Cyan = 0.67, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 23 | 42 | 70 | - |
| CMYK | 0.67 | 0.40 | 0 | 0.73 |
| HSL | 215.74º | 0.51% | 0.18% | - |
| HSV(B) | 215.74º | 0.67% | 0.27% | - |
| XYZ | 2.29 | 2.28 | 6.11 | - |
| YUV | 39.51 | 145.21 | 116.22 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 70 | 0.67 | 0.40 | 0 | 0.73 | 215.74 | 0.51 | 0.18 |
| Hex | 17 | 2A | 46 | 43 | 28 | 0 | 49 | D8 | 33 | 12 |
| Octal | 27 | 52 | 106 | 103 | 50 | 0 | 111 | 330 | 63 | 22 |
| Binary | 10111 | 101010 | 1000110 | 1000011 | 101000 | 0 | 1001001 | 11011000 | 110011 | 10010 |
Color Harmonies of #172A46
Complementary color
Monochromatic Colors of #172A46
Black with #172A46
Text Example
Text Example
White with #172A46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A46; }
p { color: rgb(23,42,70); }
H1.HeaderClassName
{
color: #172A46;
}
.AnyTagClassName
{
color: #172A46;
}
</style>
background-color css
<style>
a { background-color: #172A46; }
a { background-color: rgb(23,42,70); }
div.DivClassName
{
background-color: #172A46;
}
.BgClassName
{
background-color: #172A46;
}
</style>
border-color css
<style>
span { border-color: #172A46; }
span { border-color: rgb(23,42,70); }
td.TdClassName
{
border-color: #172A46;
}
.TagClassName
{
border-color: #172A46;
}
</style>