Shades of Midnight #172A45
Tints of Midnight #172A45
RGB
CMYK
RGB Variations
Color information
#172A45 (or 0x172A45) is known color: Midnight. HEX triplet: 17, 2A and 45. RGB value is (23,42,69). Sum of RGB (Red+Green+Blue) = 23+42+69=134 (17% of max value = 765). Red value is 23 (9.38% from 255 or 17.16% from 134); Green value is 42 (16.80% from 255 or 31.34% from 134); Blue value is 69 (27.34% from 255 or 51.49% from 134); Max value from RGB is 69 - color contains mainly: blue. Hex color #172A45 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A45 is #E8D5BA. Grayscale: #272727. Windows color (decimal): -15259067 or 4532759. OLE color: 4532759.
HSL color Cylindrical-coordinate representation of color #172A45: hue angle of 215.22º degrees, saturation: 0.5, 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 #172A45 is Cyan = 0.67, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 23 | 42 | 69 | - |
| CMYK | 0.67 | 0.39 | 0 | 0.73 |
| HSL | 215.22º | 0.5% | 0.18% | - |
| HSV(B) | 215.22º | 0.67% | 0.27% | - |
| XYZ | 2.26 | 2.27 | 5.95 | - |
| YUV | 39.4 | 144.71 | 116.3 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 69 | 0.67 | 0.39 | 0 | 0.73 | 215.22 | 0.5 | 0.18 |
| Hex | 17 | 2A | 45 | 43 | 27 | 0 | 49 | D7 | 32 | 12 |
| Octal | 27 | 52 | 105 | 103 | 47 | 0 | 111 | 327 | 62 | 22 |
| Binary | 10111 | 101010 | 1000101 | 1000011 | 100111 | 0 | 1001001 | 11010111 | 110010 | 10010 |
Color Harmonies of #172A45
Complementary color
Monochromatic Colors of #172A45
Black with #172A45
Text Example
Text Example
White with #172A45
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A45; }
p { color: rgb(23,42,69); }
H1.HeaderClassName
{
color: #172A45;
}
.AnyTagClassName
{
color: #172A45;
}
</style>
background-color css
<style>
a { background-color: #172A45; }
a { background-color: rgb(23,42,69); }
div.DivClassName
{
background-color: #172A45;
}
.BgClassName
{
background-color: #172A45;
}
</style>
border-color css
<style>
span { border-color: #172A45; }
span { border-color: rgb(23,42,69); }
td.TdClassName
{
border-color: #172A45;
}
.TagClassName
{
border-color: #172A45;
}
</style>