Shades of Midnight #1D2B42
Tints of Midnight #1D2B42
RGB
CMYK
RGB Variations
Color information
#1D2B42 (or 0x1D2B42) is known color: Midnight. HEX triplet: 1D, 2B and 42. RGB value is (29,43,66). Sum of RGB (Red+Green+Blue) = 29+43+66=138 (18% of max value = 765). Red value is 29 (11.72% from 255 or 21.01% from 138); Green value is 43 (17.19% from 255 or 31.16% from 138); Blue value is 66 (26.17% from 255 or 47.83% from 138); Max value from RGB is 66 - color contains mainly: blue. Hex color #1D2B42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1D2B42 is #E2D4BD. Grayscale: #292929. Windows color (decimal): -14865598 or 4336413. OLE color: 4336413.
HSL color Cylindrical-coordinate representation of color #1D2B42: hue angle of 217.3º 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 #1D2B42 is Cyan = 0.56, Magento = 0.35, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 29 | 43 | 66 | - |
| CMYK | 0.56 | 0.35 | 0 | 0.74 |
| HSL | 217.3º | 0.39% | 0.19% | - |
| HSV(B) | 217.3º | 0.56% | 0.26% | - |
| XYZ | 2.35 | 2.38 | 5.49 | - |
| YUV | 41.44 | 141.86 | 119.13 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 29 | 43 | 66 | 0.56 | 0.35 | 0 | 0.74 | 217.3 | 0.39 | 0.19 |
| Hex | 1D | 2B | 42 | 38 | 23 | 0 | 4A | D9 | 27 | 13 |
| Octal | 35 | 53 | 102 | 70 | 43 | 0 | 112 | 331 | 47 | 23 |
| Binary | 11101 | 101011 | 1000010 | 111000 | 100011 | 0 | 1001010 | 11011001 | 100111 | 10011 |
Color Harmonies of #1D2B42
Complementary color
Monochromatic Colors of #1D2B42
Black with #1D2B42
Text Example
Text Example
White with #1D2B42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1D2B42; }
p { color: rgb(29,43,66); }
H1.HeaderClassName
{
color: #1D2B42;
}
.AnyTagClassName
{
color: #1D2B42;
}
</style>
background-color css
<style>
a { background-color: #1D2B42; }
a { background-color: rgb(29,43,66); }
div.DivClassName
{
background-color: #1D2B42;
}
.BgClassName
{
background-color: #1D2B42;
}
</style>
border-color css
<style>
span { border-color: #1D2B42; }
span { border-color: rgb(29,43,66); }
td.TdClassName
{
border-color: #1D2B42;
}
.TagClassName
{
border-color: #1D2B42;
}
</style>