Shades of Midnight #172A4B
Tints of Midnight #172A4B
RGB
CMYK
RGB Variations
Color information
#172A4B (or 0x172A4B) is known color: Midnight. HEX triplet: 17, 2A and 4B. RGB value is (23,42,75). Sum of RGB (Red+Green+Blue) = 23+42+75=140 (18% of max value = 765). Red value is 23 (9.38% from 255 or 16.43% from 140); Green value is 42 (16.80% from 255 or 30% from 140); Blue value is 75 (29.69% from 255 or 53.57% from 140); Max value from RGB is 75 - color contains mainly: blue. Hex color #172A4B is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A4B is #E8D5B4. Grayscale: #272727. Windows color (decimal): -15259061 or 4925975. OLE color: 4925975.
HSL color Cylindrical-coordinate representation of color #172A4B: hue angle of 218.08º 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 #172A4B is Cyan = 0.69, Magento = 0.44, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 23 | 42 | 75 | - |
| CMYK | 0.69 | 0.44 | 0 | 0.71 |
| HSL | 218.08º | 0.53% | 0.19% | - |
| HSV(B) | 218.08º | 0.69% | 0.29% | - |
| XYZ | 2.45 | 2.35 | 6.98 | - |
| YUV | 40.08 | 147.71 | 115.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 75 | 0.69 | 0.44 | 0 | 0.71 | 218.08 | 0.53 | 0.19 |
| Hex | 17 | 2A | 4B | 45 | 2C | 0 | 47 | DA | 35 | 13 |
| Octal | 27 | 52 | 113 | 105 | 54 | 0 | 107 | 332 | 65 | 23 |
| Binary | 10111 | 101010 | 1001011 | 1000101 | 101100 | 0 | 1000111 | 11011010 | 110101 | 10011 |
Color Harmonies of #172A4B
Complementary color
Monochromatic Colors of #172A4B
Black with #172A4B
Text Example
Text Example
White with #172A4B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A4B; }
p { color: rgb(23,42,75); }
H1.HeaderClassName
{
color: #172A4B;
}
.AnyTagClassName
{
color: #172A4B;
}
</style>
background-color css
<style>
a { background-color: #172A4B; }
a { background-color: rgb(23,42,75); }
div.DivClassName
{
background-color: #172A4B;
}
.BgClassName
{
background-color: #172A4B;
}
</style>
border-color css
<style>
span { border-color: #172A4B; }
span { border-color: rgb(23,42,75); }
td.TdClassName
{
border-color: #172A4B;
}
.TagClassName
{
border-color: #172A4B;
}
</style>