Shades of Midnight #172840
Tints of Midnight #172840
RGB
CMYK
RGB Variations
Color information
#172840 (or 0x172840) is known color: Midnight. HEX triplet: 17, 28 and 40. RGB value is (23,40,64). Sum of RGB (Red+Green+Blue) = 23+40+64=127 (16% of max value = 765). Red value is 23 (9.38% from 255 or 18.11% from 127); Green value is 40 (16.02% from 255 or 31.50% from 127); Blue value is 64 (25.39% from 255 or 50.39% from 127); Max value from RGB is 64 - color contains mainly: blue. Hex color #172840 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172840 is #E8D7BF. Grayscale: #252525. Windows color (decimal): -15259584 or 4204567. OLE color: 4204567.
HSL color Cylindrical-coordinate representation of color #172840: hue angle of 215.12º degrees, saturation: 0.47, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.64%. Process color model (Four color, CMYK) of #172840 is Cyan = 0.64, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 23 | 40 | 64 | - |
| CMYK | 0.64 | 0.38 | 0 | 0.75 |
| HSL | 215.12º | 0.47% | 0.17% | - |
| HSV(B) | 215.12º | 0.64% | 0.25% | - |
| XYZ | 2.04 | 2.07 | 5.14 | - |
| YUV | 37.65 | 142.87 | 117.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 40 | 64 | 0.64 | 0.38 | 0 | 0.75 | 215.12 | 0.47 | 0.17 |
| Hex | 17 | 28 | 40 | 40 | 26 | 0 | 4B | D7 | 2F | 11 |
| Octal | 27 | 50 | 100 | 100 | 46 | 0 | 113 | 327 | 57 | 21 |
| Binary | 10111 | 101000 | 1000000 | 1000000 | 100110 | 0 | 1001011 | 11010111 | 101111 | 10001 |
Color Harmonies of #172840
Complementary color
Monochromatic Colors of #172840
Black with #172840
Text Example
Text Example
White with #172840
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172840; }
p { color: rgb(23,40,64); }
H1.HeaderClassName
{
color: #172840;
}
.AnyTagClassName
{
color: #172840;
}
</style>
background-color css
<style>
a { background-color: #172840; }
a { background-color: rgb(23,40,64); }
div.DivClassName
{
background-color: #172840;
}
.BgClassName
{
background-color: #172840;
}
</style>
border-color css
<style>
span { border-color: #172840; }
span { border-color: rgb(23,40,64); }
td.TdClassName
{
border-color: #172840;
}
.TagClassName
{
border-color: #172840;
}
</style>