Shades of Midnight #172F4D
Tints of Midnight #172F4D
RGB
CMYK
RGB Variations
Color information
#172F4D (or 0x172F4D) is known color: Midnight. HEX triplet: 17, 2F and 4D. RGB value is (23,47,77). Sum of RGB (Red+Green+Blue) = 23+47+77=147 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.65% from 147); Green value is 47 (18.75% from 255 or 31.97% from 147); Blue value is 77 (30.47% from 255 or 52.38% from 147); Max value from RGB is 77 - color contains mainly: blue. Hex color #172F4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172F4D is #E8D0B2. Grayscale: #2B2B2B. Windows color (decimal): -15257779 or 5058327. OLE color: 5058327.
HSL color Cylindrical-coordinate representation of color #172F4D: hue angle of 213.33º degrees, saturation: 0.54, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #172F4D is Cyan = 0.70, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 23 | 47 | 77 | - |
| CMYK | 0.70 | 0.39 | 0 | 0.70 |
| HSL | 213.33º | 0.54% | 0.2% | - |
| HSV(B) | 213.33º | 0.7% | 0.3% | - |
| XYZ | 2.71 | 2.75 | 7.41 | - |
| YUV | 43.24 | 147.05 | 113.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 47 | 77 | 0.70 | 0.39 | 0 | 0.70 | 213.33 | 0.54 | 0.2 |
| Hex | 17 | 2F | 4D | 46 | 27 | 0 | 46 | D5 | 36 | 14 |
| Octal | 27 | 57 | 115 | 106 | 47 | 0 | 106 | 325 | 66 | 24 |
| Binary | 10111 | 101111 | 1001101 | 1000110 | 100111 | 0 | 1000110 | 11010101 | 110110 | 10100 |
Color Harmonies of #172F4D
Complementary color
Monochromatic Colors of #172F4D
Black with #172F4D
Text Example
Text Example
White with #172F4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172F4D; }
p { color: rgb(23,47,77); }
H1.HeaderClassName
{
color: #172F4D;
}
.AnyTagClassName
{
color: #172F4D;
}
</style>
background-color css
<style>
a { background-color: #172F4D; }
a { background-color: rgb(23,47,77); }
div.DivClassName
{
background-color: #172F4D;
}
.BgClassName
{
background-color: #172F4D;
}
</style>
border-color css
<style>
span { border-color: #172F4D; }
span { border-color: rgb(23,47,77); }
td.TdClassName
{
border-color: #172F4D;
}
.TagClassName
{
border-color: #172F4D;
}
</style>