Shades of Midnight #172A4A
Tints of Midnight #172A4A
RGB
CMYK
RGB Variations
Color information
#172A4A (or 0x172A4A) is known color: Midnight. HEX triplet: 17, 2A and 4A. RGB value is (23,42,74). Sum of RGB (Red+Green+Blue) = 23+42+74=139 (18% of max value = 765). Red value is 23 (9.38% from 255 or 16.55% from 139); Green value is 42 (16.80% from 255 or 30.22% from 139); Blue value is 74 (29.30% from 255 or 53.24% from 139); Max value from RGB is 74 - color contains mainly: blue. Hex color #172A4A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A4A is #E8D5B5. Grayscale: #272727. Windows color (decimal): -15259062 or 4860439. OLE color: 4860439.
HSL color Cylindrical-coordinate representation of color #172A4A: hue angle of 217.65º degrees, saturation: 0.53, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #172A4A is Cyan = 0.69, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 23 | 42 | 74 | - |
| CMYK | 0.69 | 0.43 | 0 | 0.71 |
| HSL | 217.65º | 0.53% | 0.19% | - |
| HSV(B) | 217.65º | 0.69% | 0.29% | - |
| XYZ | 2.42 | 2.33 | 6.8 | - |
| YUV | 39.97 | 147.21 | 115.9 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 74 | 0.69 | 0.43 | 0 | 0.71 | 217.65 | 0.53 | 0.19 |
| Hex | 17 | 2A | 4A | 45 | 2B | 0 | 47 | DA | 35 | 13 |
| Octal | 27 | 52 | 112 | 105 | 53 | 0 | 107 | 332 | 65 | 23 |
| Binary | 10111 | 101010 | 1001010 | 1000101 | 101011 | 0 | 1000111 | 11011010 | 110101 | 10011 |
Color Harmonies of #172A4A
Complementary color
Monochromatic Colors of #172A4A
Black with #172A4A
Text Example
Text Example
White with #172A4A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A4A; }
p { color: rgb(23,42,74); }
H1.HeaderClassName
{
color: #172A4A;
}
.AnyTagClassName
{
color: #172A4A;
}
</style>
background-color css
<style>
a { background-color: #172A4A; }
a { background-color: rgb(23,42,74); }
div.DivClassName
{
background-color: #172A4A;
}
.BgClassName
{
background-color: #172A4A;
}
</style>
border-color css
<style>
span { border-color: #172A4A; }
span { border-color: rgb(23,42,74); }
td.TdClassName
{
border-color: #172A4A;
}
.TagClassName
{
border-color: #172A4A;
}
</style>