Shades of Midnight #1D2838
Tints of Midnight #1D2838
RGB
CMYK
RGB Variations
Color information
#1D2838 (or 0x1D2838) is known color: Midnight. HEX triplet: 1D, 28 and 38. RGB value is (29,40,56). Sum of RGB (Red+Green+Blue) = 29+40+56=125 (16% of max value = 765). Red value is 29 (11.72% from 255 or 23.2% from 125); Green value is 40 (16.02% from 255 or 32% from 125); Blue value is 56 (22.27% from 255 or 44.8% from 125); Max value from RGB is 56 - color contains mainly: blue. Hex color #1D2838 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1D2838 is #E2D7C7. Grayscale: #262626. Windows color (decimal): -14866376 or 3680285. OLE color: 3680285.
HSL color Cylindrical-coordinate representation of color #1D2838: hue angle of 215.56º degrees, saturation: 0.32, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.48%. Process color model (Four color, CMYK) of #1D2838 is Cyan = 0.48, Magento = 0.29, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 29 | 40 | 56 | - |
| CMYK | 0.48 | 0.29 | 0 | 0.78 |
| HSL | 215.56º | 0.32% | 0.17% | - |
| HSV(B) | 215.56º | 0.48% | 0.22% | - |
| XYZ | 1.98 | 2.06 | 4.04 | - |
| YUV | 38.54 | 137.86 | 121.2 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 29 | 40 | 56 | 0.48 | 0.29 | 0 | 0.78 | 215.56 | 0.32 | 0.17 |
| Hex | 1D | 28 | 38 | 30 | 1D | 0 | 4E | D8 | 20 | 11 |
| Octal | 35 | 50 | 70 | 60 | 35 | 0 | 116 | 330 | 40 | 21 |
| Binary | 11101 | 101000 | 111000 | 110000 | 11101 | 0 | 1001110 | 11011000 | 100000 | 10001 |
Color Harmonies of #1D2838
Complementary color
Monochromatic Colors of #1D2838
Black with #1D2838
Text Example
Text Example
White with #1D2838
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1D2838; }
p { color: rgb(29,40,56); }
H1.HeaderClassName
{
color: #1D2838;
}
.AnyTagClassName
{
color: #1D2838;
}
</style>
background-color css
<style>
a { background-color: #1D2838; }
a { background-color: rgb(29,40,56); }
div.DivClassName
{
background-color: #1D2838;
}
.BgClassName
{
background-color: #1D2838;
}
</style>
border-color css
<style>
span { border-color: #1D2838; }
span { border-color: rgb(29,40,56); }
td.TdClassName
{
border-color: #1D2838;
}
.TagClassName
{
border-color: #1D2838;
}
</style>