Shades of Midnight #1D3042
Tints of Midnight #1D3042
RGB
CMYK
RGB Variations
Color information
#1D3042 (or 0x1D3042) is known color: Midnight. HEX triplet: 1D, 30 and 42. RGB value is (29,48,66). Sum of RGB (Red+Green+Blue) = 29+48+66=143 (18% of max value = 765). Red value is 29 (11.72% from 255 or 20.28% from 143); Green value is 48 (19.14% from 255 or 33.57% from 143); Blue value is 66 (26.17% from 255 or 46.15% from 143); Max value from RGB is 66 - color contains mainly: blue. Hex color #1D3042 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1D3042 is #E2CFBD. Grayscale: #2C2C2C. Windows color (decimal): -14864318 or 4337693. OLE color: 4337693.
HSL color Cylindrical-coordinate representation of color #1D3042: hue angle of 209.19º degrees, saturation: 0.39, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.56%. Process color model (Four color, CMYK) of #1D3042 is Cyan = 0.56, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 29 | 48 | 66 | - |
| CMYK | 0.56 | 0.27 | 0 | 0.74 |
| HSL | 209.19º | 0.39% | 0.19% | - |
| HSV(B) | 209.19º | 0.56% | 0.26% | - |
| XYZ | 2.55 | 2.77 | 5.55 | - |
| YUV | 44.37 | 140.21 | 117.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 29 | 48 | 66 | 0.56 | 0.27 | 0 | 0.74 | 209.19 | 0.39 | 0.19 |
| Hex | 1D | 30 | 42 | 38 | 1B | 0 | 4A | D1 | 27 | 13 |
| Octal | 35 | 60 | 102 | 70 | 33 | 0 | 112 | 321 | 47 | 23 |
| Binary | 11101 | 110000 | 1000010 | 111000 | 11011 | 0 | 1001010 | 11010001 | 100111 | 10011 |
Color Harmonies of #1D3042
Complementary color
Monochromatic Colors of #1D3042
Black with #1D3042
Text Example
Text Example
White with #1D3042
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1D3042; }
p { color: rgb(29,48,66); }
H1.HeaderClassName
{
color: #1D3042;
}
.AnyTagClassName
{
color: #1D3042;
}
</style>
background-color css
<style>
a { background-color: #1D3042; }
a { background-color: rgb(29,48,66); }
div.DivClassName
{
background-color: #1D3042;
}
.BgClassName
{
background-color: #1D3042;
}
</style>
border-color css
<style>
span { border-color: #1D3042; }
span { border-color: rgb(29,48,66); }
td.TdClassName
{
border-color: #1D3042;
}
.TagClassName
{
border-color: #1D3042;
}
</style>