Shades of Midnight Express #040E40
Tints of Midnight Express #040E40
RGB
CMYK
RGB Variations
Color information
#040E40 (or 0x040E40) is known color: Midnight Express. HEX triplet: 04, 0E and 40. RGB value is (4,14,64). Sum of RGB (Red+Green+Blue) = 4+14+64=82 (10% of max value = 765). Red value is 4 (1.95% from 255 or 4.88% from 82); Green value is 14 (5.86% from 255 or 17.07% from 82); Blue value is 64 (25.39% from 255 or 78.05% from 82); Max value from RGB is 64 - color contains mainly: blue. Hex color #040E40 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040E40 is #FBF1BF. Grayscale: #101010. Windows color (decimal): -16511424 or 4197892. OLE color: 4197892.
HSL color Cylindrical-coordinate representation of color #040E40: hue angle of 230º degrees, saturation: 0.88, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #040E40 is Cyan = 0.94, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 4 | 14 | 64 | - |
| CMYK | 0.94 | 0.78 | 0 | 0.75 |
| HSL | 230º | 0.88% | 0.13% | - |
| HSV(B) | 230º | 0.94% | 0.25% | - |
| XYZ | 1.13 | 0.71 | 4.93 | - |
| YUV | 16.71 | 154.69 | 118.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 14 | 64 | 0.94 | 0.78 | 0 | 0.75 | 230 | 0.88 | 0.13 |
| Hex | 4 | E | 40 | 5E | 4E | 0 | 4B | E6 | 58 | D |
| Octal | 4 | 16 | 100 | 136 | 116 | 0 | 113 | 346 | 130 | 15 |
| Binary | 100 | 1110 | 1000000 | 1011110 | 1001110 | 0 | 1001011 | 11100110 | 1011000 | 1101 |
Color Harmonies of #040E40
Complementary color
Monochromatic Colors of #040E40
Black with #040E40
Text Example
Text Example
White with #040E40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040E40; }
p { color: rgb(4,14,64); }
H1.HeaderClassName
{
color: #040E40;
}
.AnyTagClassName
{
color: #040E40;
}
</style>
background-color css
<style>
a { background-color: #040E40; }
a { background-color: rgb(4,14,64); }
div.DivClassName
{
background-color: #040E40;
}
.BgClassName
{
background-color: #040E40;
}
</style>
border-color css
<style>
span { border-color: #040E40; }
span { border-color: rgb(4,14,64); }
td.TdClassName
{
border-color: #040E40;
}
.TagClassName
{
border-color: #040E40;
}
</style>