Shades of Midnight #1E2E42
Tints of Midnight #1E2E42
RGB
CMYK
RGB Variations
Color information
#1E2E42 (or 0x1E2E42) is known color: Midnight. HEX triplet: 1E, 2E and 42. RGB value is (30,46,66). Sum of RGB (Red+Green+Blue) = 30+46+66=142 (18% of max value = 765). Red value is 30 (12.11% from 255 or 21.13% from 142); Green value is 46 (18.36% from 255 or 32.39% from 142); Blue value is 66 (26.17% from 255 or 46.48% from 142); Max value from RGB is 66 - color contains mainly: blue. Hex color #1E2E42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1E2E42 is #E1D1BD. Grayscale: #2B2B2B. Windows color (decimal): -14799294 or 4337182. OLE color: 4337182.
HSL color Cylindrical-coordinate representation of color #1E2E42: hue angle of 213.33º 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 #1E2E42 is Cyan = 0.55, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 30 | 46 | 66 | - |
| CMYK | 0.55 | 0.30 | 0 | 0.74 |
| HSL | 213.33º | 0.38% | 0.19% | - |
| HSV(B) | 213.33º | 0.55% | 0.26% | - |
| XYZ | 2.5 | 2.62 | 5.53 | - |
| YUV | 43.5 | 140.7 | 118.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 30 | 46 | 66 | 0.55 | 0.30 | 0 | 0.74 | 213.33 | 0.38 | 0.19 |
| Hex | 1E | 2E | 42 | 37 | 1E | 0 | 4A | D5 | 26 | 13 |
| Octal | 36 | 56 | 102 | 67 | 36 | 0 | 112 | 325 | 46 | 23 |
| Binary | 11110 | 101110 | 1000010 | 110111 | 11110 | 0 | 1001010 | 11010101 | 100110 | 10011 |
Color Harmonies of #1E2E42
Complementary color
Monochromatic Colors of #1E2E42
Black with #1E2E42
Text Example
Text Example
White with #1E2E42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1E2E42; }
p { color: rgb(30,46,66); }
H1.HeaderClassName
{
color: #1E2E42;
}
.AnyTagClassName
{
color: #1E2E42;
}
</style>
background-color css
<style>
a { background-color: #1E2E42; }
a { background-color: rgb(30,46,66); }
div.DivClassName
{
background-color: #1E2E42;
}
.BgClassName
{
background-color: #1E2E42;
}
</style>
border-color css
<style>
span { border-color: #1E2E42; }
span { border-color: rgb(30,46,66); }
td.TdClassName
{
border-color: #1E2E42;
}
.TagClassName
{
border-color: #1E2E42;
}
</style>