Shades of Midnight Express #040842
Tints of Midnight Express #040842
RGB
CMYK
RGB Variations
Color information
#040842 (or 0x040842) is known color: Midnight Express. HEX triplet: 04, 08 and 42. RGB value is (4,8,66). Sum of RGB (Red+Green+Blue) = 4+8+66=78 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.13% from 78); Green value is 8 (3.52% from 255 or 10.26% from 78); Blue value is 66 (26.17% from 255 or 84.62% from 78); Max value from RGB is 66 - color contains mainly: blue. Hex color #040842 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040842 is #FBF7BD. Grayscale: #0D0D0D. Windows color (decimal): -16512958 or 4327428. OLE color: 4327428.
HSL color Cylindrical-coordinate representation of color #040842: hue angle of 236.13º 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 #040842 is Cyan = 0.94, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 4 | 8 | 66 | - |
| CMYK | 0.94 | 0.88 | 0 | 0.74 |
| HSL | 236.13º | 0.89% | 0.14% | - |
| HSV(B) | 236.13º | 0.94% | 0.26% | - |
| XYZ | 1.12 | 0.59 | 5.21 | - |
| YUV | 13.42 | 157.67 | 121.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 66 | 0.94 | 0.88 | 0 | 0.74 | 236.13 | 0.89 | 0.14 |
| Hex | 4 | 8 | 42 | 5E | 58 | 0 | 4A | EC | 59 | E |
| Octal | 4 | 10 | 102 | 136 | 130 | 0 | 112 | 354 | 131 | 16 |
| Binary | 100 | 1000 | 1000010 | 1011110 | 1011000 | 0 | 1001010 | 11101100 | 1011001 | 1110 |
Color Harmonies of #040842
Complementary color
Monochromatic Colors of #040842
Black with #040842
Text Example
Text Example
White with #040842
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040842; }
p { color: rgb(4,8,66); }
H1.HeaderClassName
{
color: #040842;
}
.AnyTagClassName
{
color: #040842;
}
</style>
background-color css
<style>
a { background-color: #040842; }
a { background-color: rgb(4,8,66); }
div.DivClassName
{
background-color: #040842;
}
.BgClassName
{
background-color: #040842;
}
</style>
border-color css
<style>
span { border-color: #040842; }
span { border-color: rgb(4,8,66); }
td.TdClassName
{
border-color: #040842;
}
.TagClassName
{
border-color: #040842;
}
</style>