Shades of Midnight #1E2D40
Tints of Midnight #1E2D40
RGB
CMYK
RGB Variations
Color information
#1E2D40 (or 0x1E2D40) is known color: Midnight. HEX triplet: 1E, 2D and 40. RGB value is (30,45,64). Sum of RGB (Red+Green+Blue) = 30+45+64=139 (18% of max value = 765). Red value is 30 (12.11% from 255 or 21.58% from 139); Green value is 45 (17.97% from 255 or 32.37% from 139); Blue value is 64 (25.39% from 255 or 46.04% from 139); Max value from RGB is 64 - color contains mainly: blue. Hex color #1E2D40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1E2D40 is #E1D2BF. Grayscale: #2A2A2A. Windows color (decimal): -14799552 or 4205854. OLE color: 4205854.
HSL color Cylindrical-coordinate representation of color #1E2D40: hue angle of 213.53º degrees, saturation: 0.36, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.53%. Process color model (Four color, CMYK) of #1E2D40 is Cyan = 0.53, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 30 | 45 | 64 | - |
| CMYK | 0.53 | 0.30 | 0 | 0.75 |
| HSL | 213.53º | 0.36% | 0.18% | - |
| HSV(B) | 213.53º | 0.53% | 0.25% | - |
| XYZ | 2.4 | 2.52 | 5.21 | - |
| YUV | 42.68 | 140.03 | 118.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 30 | 45 | 64 | 0.53 | 0.30 | 0 | 0.75 | 213.53 | 0.36 | 0.18 |
| Hex | 1E | 2D | 40 | 35 | 1E | 0 | 4B | D6 | 24 | 12 |
| Octal | 36 | 55 | 100 | 65 | 36 | 0 | 113 | 326 | 44 | 22 |
| Binary | 11110 | 101101 | 1000000 | 110101 | 11110 | 0 | 1001011 | 11010110 | 100100 | 10010 |
Color Harmonies of #1E2D40
Complementary color
Monochromatic Colors of #1E2D40
Black with #1E2D40
Text Example
Text Example
White with #1E2D40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1E2D40; }
p { color: rgb(30,45,64); }
H1.HeaderClassName
{
color: #1E2D40;
}
.AnyTagClassName
{
color: #1E2D40;
}
</style>
background-color css
<style>
a { background-color: #1E2D40; }
a { background-color: rgb(30,45,64); }
div.DivClassName
{
background-color: #1E2D40;
}
.BgClassName
{
background-color: #1E2D40;
}
</style>
border-color css
<style>
span { border-color: #1E2D40; }
span { border-color: rgb(30,45,64); }
td.TdClassName
{
border-color: #1E2D40;
}
.TagClassName
{
border-color: #1E2D40;
}
</style>