Shades of Midnight #172F4E
Tints of Midnight #172F4E
RGB
CMYK
RGB Variations
Color information
#172F4E (or 0x172F4E) is known color: Midnight. HEX triplet: 17, 2F and 4E. RGB value is (23,47,78). Sum of RGB (Red+Green+Blue) = 23+47+78=148 (19% of max value = 765). Red value is 23 (9.38% from 255 or 15.54% from 148); Green value is 47 (18.75% from 255 or 31.76% from 148); Blue value is 78 (30.86% from 255 or 52.70% from 148); Max value from RGB is 78 - color contains mainly: blue. Hex color #172F4E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172F4E is #E8D0B1. Grayscale: #2B2B2B. Windows color (decimal): -15257778 or 5123863. OLE color: 5123863.
HSL color Cylindrical-coordinate representation of color #172F4E: hue angle of 213.82º degrees, saturation: 0.54, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #172F4E is Cyan = 0.71, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 23 | 47 | 78 | - |
| CMYK | 0.71 | 0.40 | 0 | 0.69 |
| HSL | 213.82º | 0.54% | 0.2% | - |
| HSV(B) | 213.82º | 0.71% | 0.31% | - |
| XYZ | 2.75 | 2.77 | 7.6 | - |
| YUV | 43.36 | 147.55 | 113.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 47 | 78 | 0.71 | 0.40 | 0 | 0.69 | 213.82 | 0.54 | 0.2 |
| Hex | 17 | 2F | 4E | 47 | 28 | 0 | 45 | D6 | 36 | 14 |
| Octal | 27 | 57 | 116 | 107 | 50 | 0 | 105 | 326 | 66 | 24 |
| Binary | 10111 | 101111 | 1001110 | 1000111 | 101000 | 0 | 1000101 | 11010110 | 110110 | 10100 |
Color Harmonies of #172F4E
Complementary color
Monochromatic Colors of #172F4E
Black with #172F4E
Text Example
Text Example
White with #172F4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172F4E; }
p { color: rgb(23,47,78); }
H1.HeaderClassName
{
color: #172F4E;
}
.AnyTagClassName
{
color: #172F4E;
}
</style>
background-color css
<style>
a { background-color: #172F4E; }
a { background-color: rgb(23,47,78); }
div.DivClassName
{
background-color: #172F4E;
}
.BgClassName
{
background-color: #172F4E;
}
</style>
border-color css
<style>
span { border-color: #172F4E; }
span { border-color: rgb(23,47,78); }
td.TdClassName
{
border-color: #172F4E;
}
.TagClassName
{
border-color: #172F4E;
}
</style>