Shades of Midnight #172A48
Tints of Midnight #172A48
RGB
CMYK
RGB Variations
Color information
#172A48 (or 0x172A48) is known color: Midnight. HEX triplet: 17, 2A and 48. RGB value is (23,42,72). Sum of RGB (Red+Green+Blue) = 23+42+72=137 (18% of max value = 765). Red value is 23 (9.38% from 255 or 16.79% from 137); Green value is 42 (16.80% from 255 or 30.66% from 137); Blue value is 72 (28.52% from 255 or 52.55% from 137); Max value from RGB is 72 - color contains mainly: blue. Hex color #172A48 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A48 is #E8D5B7. Grayscale: #272727. Windows color (decimal): -15259064 or 4729367. OLE color: 4729367.
HSL color Cylindrical-coordinate representation of color #172A48: hue angle of 216.73º degrees, saturation: 0.52, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #172A48 is Cyan = 0.68, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 23 | 42 | 72 | - |
| CMYK | 0.68 | 0.42 | 0 | 0.72 |
| HSL | 216.73º | 0.52% | 0.19% | - |
| HSV(B) | 216.73º | 0.68% | 0.28% | - |
| XYZ | 2.35 | 2.31 | 6.45 | - |
| YUV | 39.74 | 146.21 | 116.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 72 | 0.68 | 0.42 | 0 | 0.72 | 216.73 | 0.52 | 0.19 |
| Hex | 17 | 2A | 48 | 44 | 2A | 0 | 48 | D9 | 34 | 13 |
| Octal | 27 | 52 | 110 | 104 | 52 | 0 | 110 | 331 | 64 | 23 |
| Binary | 10111 | 101010 | 1001000 | 1000100 | 101010 | 0 | 1001000 | 11011001 | 110100 | 10011 |
Color Harmonies of #172A48
Complementary color
Monochromatic Colors of #172A48
Black with #172A48
Text Example
Text Example
White with #172A48
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A48; }
p { color: rgb(23,42,72); }
H1.HeaderClassName
{
color: #172A48;
}
.AnyTagClassName
{
color: #172A48;
}
</style>
background-color css
<style>
a { background-color: #172A48; }
a { background-color: rgb(23,42,72); }
div.DivClassName
{
background-color: #172A48;
}
.BgClassName
{
background-color: #172A48;
}
</style>
border-color css
<style>
span { border-color: #172A48; }
span { border-color: rgb(23,42,72); }
td.TdClassName
{
border-color: #172A48;
}
.TagClassName
{
border-color: #172A48;
}
</style>