Shades of Midnight #1E2D42
Tints of Midnight #1E2D42
RGB
CMYK
RGB Variations
Color information
#1E2D42 (or 0x1E2D42) is known color: Midnight. HEX triplet: 1E, 2D and 42. RGB value is (30,45,66). Sum of RGB (Red+Green+Blue) = 30+45+66=141 (18% of max value = 765). Red value is 30 (12.11% from 255 or 21.28% from 141); Green value is 45 (17.97% from 255 or 31.91% from 141); Blue value is 66 (26.17% from 255 or 46.81% from 141); Max value from RGB is 66 - color contains mainly: blue. Hex color #1E2D42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1E2D42 is #E1D2BD. Grayscale: #2A2A2A. Windows color (decimal): -14799550 or 4336926. OLE color: 4336926.
HSL color Cylindrical-coordinate representation of color #1E2D42: hue angle of 215º degrees, saturation: 0.38, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.55%. Process color model (Four color, CMYK) of #1E2D42 is Cyan = 0.55, Magento = 0.32, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 30 | 45 | 66 | - |
| CMYK | 0.55 | 0.32 | 0 | 0.74 |
| HSL | 215º | 0.38% | 0.19% | - |
| HSV(B) | 215º | 0.55% | 0.26% | - |
| XYZ | 2.46 | 2.55 | 5.52 | - |
| YUV | 42.91 | 141.03 | 118.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 30 | 45 | 66 | 0.55 | 0.32 | 0 | 0.74 | 215 | 0.38 | 0.19 |
| Hex | 1E | 2D | 42 | 37 | 20 | 0 | 4A | D7 | 26 | 13 |
| Octal | 36 | 55 | 102 | 67 | 40 | 0 | 112 | 327 | 46 | 23 |
| Binary | 11110 | 101101 | 1000010 | 110111 | 100000 | 0 | 1001010 | 11010111 | 100110 | 10011 |
Color Harmonies of #1E2D42
Complementary color
Monochromatic Colors of #1E2D42
Black with #1E2D42
Text Example
Text Example
White with #1E2D42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1E2D42; }
p { color: rgb(30,45,66); }
H1.HeaderClassName
{
color: #1E2D42;
}
.AnyTagClassName
{
color: #1E2D42;
}
</style>
background-color css
<style>
a { background-color: #1E2D42; }
a { background-color: rgb(30,45,66); }
div.DivClassName
{
background-color: #1E2D42;
}
.BgClassName
{
background-color: #1E2D42;
}
</style>
border-color css
<style>
span { border-color: #1E2D42; }
span { border-color: rgb(30,45,66); }
td.TdClassName
{
border-color: #1E2D42;
}
.TagClassName
{
border-color: #1E2D42;
}
</style>