Shades of Midnight Express #040D39
Tints of Midnight Express #040D39
RGB
CMYK
RGB Variations
Color information
#040D39 (or 0x040D39) is known color: Midnight Express. HEX triplet: 04, 0D and 39. RGB value is (4,13,57). Sum of RGB (Red+Green+Blue) = 4+13+57=74 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.41% from 74); Green value is 13 (5.47% from 255 or 17.57% from 74); Blue value is 57 (22.66% from 255 or 77.03% from 74); Max value from RGB is 57 - color contains mainly: blue. Hex color #040D39 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040D39 is #FBF2C6. Grayscale: #0F0F0F. Windows color (decimal): -16511687 or 3738884. OLE color: 3738884.
HSL color Cylindrical-coordinate representation of color #040D39: hue angle of 229.81º degrees, saturation: 0.87, lightness: 0.12%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.93%. Process color model (Four color, CMYK) of #040D39 is Cyan = 0.93, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 4 | 13 | 57 | - |
| CMYK | 0.93 | 0.77 | 0 | 0.78 |
| HSL | 229.81º | 0.87% | 0.12% | - |
| HSV(B) | 229.81º | 0.93% | 0.22% | - |
| XYZ | 0.93 | 0.61 | 3.94 | - |
| YUV | 15.33 | 151.52 | 119.92 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 57 | 0.93 | 0.77 | 0 | 0.78 | 229.81 | 0.87 | 0.12 |
| Hex | 4 | D | 39 | 5D | 4D | 0 | 4E | E6 | 57 | C |
| Octal | 4 | 15 | 71 | 135 | 115 | 0 | 116 | 346 | 127 | 14 |
| Binary | 100 | 1101 | 111001 | 1011101 | 1001101 | 0 | 1001110 | 11100110 | 1010111 | 1100 |
Color Harmonies of #040D39
Complementary color
Monochromatic Colors of #040D39
Black with #040D39
Text Example
Text Example
White with #040D39
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D39; }
p { color: rgb(4,13,57); }
H1.HeaderClassName
{
color: #040D39;
}
.AnyTagClassName
{
color: #040D39;
}
</style>
background-color css
<style>
a { background-color: #040D39; }
a { background-color: rgb(4,13,57); }
div.DivClassName
{
background-color: #040D39;
}
.BgClassName
{
background-color: #040D39;
}
</style>
border-color css
<style>
span { border-color: #040D39; }
span { border-color: rgb(4,13,57); }
td.TdClassName
{
border-color: #040D39;
}
.TagClassName
{
border-color: #040D39;
}
</style>