Shades of Midnight #172A4C
Tints of Midnight #172A4C
RGB
CMYK
RGB Variations
Color information
#172A4C (or 0x172A4C) is known color: Midnight. HEX triplet: 17, 2A and 4C. RGB value is (23,42,76). Sum of RGB (Red+Green+Blue) = 23+42+76=141 (18% of max value = 765). Red value is 23 (9.38% from 255 or 16.31% from 141); Green value is 42 (16.80% from 255 or 29.79% from 141); Blue value is 76 (30.08% from 255 or 53.90% from 141); Max value from RGB is 76 - color contains mainly: blue. Hex color #172A4C is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A4C is #E8D5B3. Grayscale: #282828. Windows color (decimal): -15259060 or 4991511. OLE color: 4991511.
HSL color Cylindrical-coordinate representation of color #172A4C: hue angle of 218.49º 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 #172A4C is Cyan = 0.70, Magento = 0.45, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 23 | 42 | 76 | - |
| CMYK | 0.70 | 0.45 | 0 | 0.70 |
| HSL | 218.49º | 0.54% | 0.19% | - |
| HSV(B) | 218.49º | 0.7% | 0.3% | - |
| XYZ | 2.49 | 2.36 | 7.16 | - |
| YUV | 40.2 | 148.21 | 115.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 76 | 0.70 | 0.45 | 0 | 0.70 | 218.49 | 0.54 | 0.19 |
| Hex | 17 | 2A | 4C | 46 | 2D | 0 | 46 | DA | 36 | 13 |
| Octal | 27 | 52 | 114 | 106 | 55 | 0 | 106 | 332 | 66 | 23 |
| Binary | 10111 | 101010 | 1001100 | 1000110 | 101101 | 0 | 1000110 | 11011010 | 110110 | 10011 |
Color Harmonies of #172A4C
Complementary color
Monochromatic Colors of #172A4C
Black with #172A4C
Text Example
Text Example
White with #172A4C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A4C; }
p { color: rgb(23,42,76); }
H1.HeaderClassName
{
color: #172A4C;
}
.AnyTagClassName
{
color: #172A4C;
}
</style>
background-color css
<style>
a { background-color: #172A4C; }
a { background-color: rgb(23,42,76); }
div.DivClassName
{
background-color: #172A4C;
}
.BgClassName
{
background-color: #172A4C;
}
</style>
border-color css
<style>
span { border-color: #172A4C; }
span { border-color: rgb(23,42,76); }
td.TdClassName
{
border-color: #172A4C;
}
.TagClassName
{
border-color: #172A4C;
}
</style>