Shades of Midnight Express #040D42
Tints of Midnight Express #040D42
RGB
CMYK
RGB Variations
Color information
#040D42 (or 0x040D42) is known color: Midnight Express. HEX triplet: 04, 0D and 42. RGB value is (4,13,66). Sum of RGB (Red+Green+Blue) = 4+13+66=83 (10% of max value = 765). Red value is 4 (1.95% from 255 or 4.82% from 83); Green value is 13 (5.47% from 255 or 15.66% from 83); Blue value is 66 (26.17% from 255 or 79.52% from 83); Max value from RGB is 66 - color contains mainly: blue. Hex color #040D42 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040D42 is #FBF2BD. Grayscale: #101010. Windows color (decimal): -16511678 or 4328708. OLE color: 4328708.
HSL color Cylindrical-coordinate representation of color #040D42: hue angle of 231.29º degrees, saturation: 0.89, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #040D42 is Cyan = 0.94, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 4 | 13 | 66 | - |
| CMYK | 0.94 | 0.80 | 0 | 0.74 |
| HSL | 231.29º | 0.89% | 0.14% | - |
| HSV(B) | 231.29º | 0.94% | 0.26% | - |
| XYZ | 1.18 | 0.71 | 5.23 | - |
| YUV | 16.35 | 156.02 | 119.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 66 | 0.94 | 0.80 | 0 | 0.74 | 231.29 | 0.89 | 0.14 |
| Hex | 4 | D | 42 | 5E | 50 | 0 | 4A | E7 | 59 | E |
| Octal | 4 | 15 | 102 | 136 | 120 | 0 | 112 | 347 | 131 | 16 |
| Binary | 100 | 1101 | 1000010 | 1011110 | 1010000 | 0 | 1001010 | 11100111 | 1011001 | 1110 |
Color Harmonies of #040D42
Complementary color
Monochromatic Colors of #040D42
Black with #040D42
Text Example
Text Example
White with #040D42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D42; }
p { color: rgb(4,13,66); }
H1.HeaderClassName
{
color: #040D42;
}
.AnyTagClassName
{
color: #040D42;
}
</style>
background-color css
<style>
a { background-color: #040D42; }
a { background-color: rgb(4,13,66); }
div.DivClassName
{
background-color: #040D42;
}
.BgClassName
{
background-color: #040D42;
}
</style>
border-color css
<style>
span { border-color: #040D42; }
span { border-color: rgb(4,13,66); }
td.TdClassName
{
border-color: #040D42;
}
.TagClassName
{
border-color: #040D42;
}
</style>