Shades of Midnight #172B42
Tints of Midnight #172B42
RGB
CMYK
RGB Variations
Color information
#172B42 (or 0x172B42) is known color: Midnight. HEX triplet: 17, 2B and 42. RGB value is (23,43,66). Sum of RGB (Red+Green+Blue) = 23+43+66=132 (17% of max value = 765). Red value is 23 (9.38% from 255 or 17.42% from 132); Green value is 43 (17.19% from 255 or 32.58% from 132); Blue value is 66 (26.17% from 255 or 50% from 132); Max value from RGB is 66 - color contains mainly: blue. Hex color #172B42 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172B42 is #E8D4BD. Grayscale: #272727. Windows color (decimal): -15258814 or 4336407. OLE color: 4336407.
HSL color Cylindrical-coordinate representation of color #172B42: hue angle of 212.09º degrees, saturation: 0.48, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.65%. Process color model (Four color, CMYK) of #172B42 is Cyan = 0.65, Magento = 0.35, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 23 | 43 | 66 | - |
| CMYK | 0.65 | 0.35 | 0 | 0.74 |
| HSL | 212.09º | 0.48% | 0.17% | - |
| HSV(B) | 212.09º | 0.65% | 0.26% | - |
| XYZ | 2.2 | 2.3 | 5.48 | - |
| YUV | 39.64 | 142.87 | 116.13 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 43 | 66 | 0.65 | 0.35 | 0 | 0.74 | 212.09 | 0.48 | 0.17 |
| Hex | 17 | 2B | 42 | 41 | 23 | 0 | 4A | D4 | 30 | 11 |
| Octal | 27 | 53 | 102 | 101 | 43 | 0 | 112 | 324 | 60 | 21 |
| Binary | 10111 | 101011 | 1000010 | 1000001 | 100011 | 0 | 1001010 | 11010100 | 110000 | 10001 |
Color Harmonies of #172B42
Complementary color
Monochromatic Colors of #172B42
Black with #172B42
Text Example
Text Example
White with #172B42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172B42; }
p { color: rgb(23,43,66); }
H1.HeaderClassName
{
color: #172B42;
}
.AnyTagClassName
{
color: #172B42;
}
</style>
background-color css
<style>
a { background-color: #172B42; }
a { background-color: rgb(23,43,66); }
div.DivClassName
{
background-color: #172B42;
}
.BgClassName
{
background-color: #172B42;
}
</style>
border-color css
<style>
span { border-color: #172B42; }
span { border-color: rgb(23,43,66); }
td.TdClassName
{
border-color: #172B42;
}
.TagClassName
{
border-color: #172B42;
}
</style>