Shades of Midnight Express #040942
Tints of Midnight Express #040942
RGB
CMYK
RGB Variations
Color information
#040942 (or 0x040942) is known color: Midnight Express. HEX triplet: 04, 09 and 42. RGB value is (4,9,66). Sum of RGB (Red+Green+Blue) = 4+9+66=79 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.06% from 79); Green value is 9 (3.91% from 255 or 11.39% from 79); Blue value is 66 (26.17% from 255 or 83.54% from 79); Max value from RGB is 66 - color contains mainly: blue. Hex color #040942 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040942 is #FBF6BD. Grayscale: #0D0D0D. Windows color (decimal): -16512702 or 4327684. OLE color: 4327684.
HSL color Cylindrical-coordinate representation of color #040942: hue angle of 235.16º 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 #040942 is Cyan = 0.94, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 4 | 9 | 66 | - |
| CMYK | 0.94 | 0.86 | 0 | 0.74 |
| HSL | 235.16º | 0.89% | 0.14% | - |
| HSV(B) | 235.16º | 0.94% | 0.26% | - |
| XYZ | 1.13 | 0.61 | 5.21 | - |
| YUV | 14 | 157.34 | 120.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 9 | 66 | 0.94 | 0.86 | 0 | 0.74 | 235.16 | 0.89 | 0.14 |
| Hex | 4 | 9 | 42 | 5E | 56 | 0 | 4A | EB | 59 | E |
| Octal | 4 | 11 | 102 | 136 | 126 | 0 | 112 | 353 | 131 | 16 |
| Binary | 100 | 1001 | 1000010 | 1011110 | 1010110 | 0 | 1001010 | 11101011 | 1011001 | 1110 |
Color Harmonies of #040942
Complementary color
Monochromatic Colors of #040942
Black with #040942
Text Example
Text Example
White with #040942
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040942; }
p { color: rgb(4,9,66); }
H1.HeaderClassName
{
color: #040942;
}
.AnyTagClassName
{
color: #040942;
}
</style>
background-color css
<style>
a { background-color: #040942; }
a { background-color: rgb(4,9,66); }
div.DivClassName
{
background-color: #040942;
}
.BgClassName
{
background-color: #040942;
}
</style>
border-color css
<style>
span { border-color: #040942; }
span { border-color: rgb(4,9,66); }
td.TdClassName
{
border-color: #040942;
}
.TagClassName
{
border-color: #040942;
}
</style>