Shades of Midnight #172F4C
Tints of Midnight #172F4C
RGB
CMYK
RGB Variations
Color information
#172F4C (or 0x172F4C) is known color: Midnight. HEX triplet: 17, 2F and 4C. RGB value is (23,47,76). Sum of RGB (Red+Green+Blue) = 23+47+76=146 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.75% from 146); Green value is 47 (18.75% from 255 or 32.19% from 146); Blue value is 76 (30.08% from 255 or 52.05% from 146); Max value from RGB is 76 - color contains mainly: blue. Hex color #172F4C is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172F4C is #E8D0B3. Grayscale: #2A2A2A. Windows color (decimal): -15257780 or 4992791. OLE color: 4992791.
HSL color Cylindrical-coordinate representation of color #172F4C: hue angle of 212.83º degrees, saturation: 0.54, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #172F4C is Cyan = 0.70, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 23 | 47 | 76 | - |
| CMYK | 0.70 | 0.38 | 0 | 0.70 |
| HSL | 212.83º | 0.54% | 0.19% | - |
| HSV(B) | 212.83º | 0.7% | 0.3% | - |
| XYZ | 2.67 | 2.74 | 7.22 | - |
| YUV | 43.13 | 146.55 | 113.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 47 | 76 | 0.70 | 0.38 | 0 | 0.70 | 212.83 | 0.54 | 0.19 |
| Hex | 17 | 2F | 4C | 46 | 26 | 0 | 46 | D5 | 36 | 13 |
| Octal | 27 | 57 | 114 | 106 | 46 | 0 | 106 | 325 | 66 | 23 |
| Binary | 10111 | 101111 | 1001100 | 1000110 | 100110 | 0 | 1000110 | 11010101 | 110110 | 10011 |
Color Harmonies of #172F4C
Complementary color
Monochromatic Colors of #172F4C
Black with #172F4C
Text Example
Text Example
White with #172F4C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172F4C; }
p { color: rgb(23,47,76); }
H1.HeaderClassName
{
color: #172F4C;
}
.AnyTagClassName
{
color: #172F4C;
}
</style>
background-color css
<style>
a { background-color: #172F4C; }
a { background-color: rgb(23,47,76); }
div.DivClassName
{
background-color: #172F4C;
}
.BgClassName
{
background-color: #172F4C;
}
</style>
border-color css
<style>
span { border-color: #172F4C; }
span { border-color: rgb(23,47,76); }
td.TdClassName
{
border-color: #172F4C;
}
.TagClassName
{
border-color: #172F4C;
}
</style>