Shades of Midnight Express #040042
Tints of Midnight Express #040042
RGB
CMYK
RGB Variations
Color information
#040042 (or 0x040042) is known color: Midnight Express. HEX triplet: 04, 00 and 42. RGB value is (4,0,66). Sum of RGB (Red+Green+Blue) = 4+0+66=70 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.71% from 70); Green value is 0 (0.39% from 255 or 0% from 70); Blue value is 66 (26.17% from 255 or 94.29% from 70); Max value from RGB is 66 - color contains mainly: blue. Hex color #040042 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040042 is #FBFFBD. Grayscale: #080808. Windows color (decimal): -16515006 or 4325380. OLE color: 4325380.
HSL color Cylindrical-coordinate representation of color #040042: hue angle of 243.64º degrees, saturation: 1, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040042 is Cyan = 0.94, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 4 | 0 | 66 | - |
| CMYK | 0.94 | 1 | 0 | 0.74 |
| HSL | 243.64º | 1% | 0.13% | - |
| HSV(B) | 243.64º | 1% | 0.26% | - |
| XYZ | 1.03 | 0.42 | 5.18 | - |
| YUV | 8.72 | 160.33 | 124.63 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 66 | 0.94 | 1 | 0 | 0.74 | 243.64 | 1 | 0.13 |
| Hex | 4 | 0 | 42 | 5E | 64 | 0 | 4A | F4 | 64 | D |
| Octal | 4 | 0 | 102 | 136 | 144 | 0 | 112 | 364 | 144 | 15 |
| Binary | 100 | 0 | 1000010 | 1011110 | 1100100 | 0 | 1001010 | 11110100 | 1100100 | 1101 |
Color Harmonies of #040042
Complementary color
Monochromatic Colors of #040042
Black with #040042
Text Example
Text Example
White with #040042
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040042; }
p { color: rgb(4,0,66); }
H1.HeaderClassName
{
color: #040042;
}
.AnyTagClassName
{
color: #040042;
}
</style>
background-color css
<style>
a { background-color: #040042; }
a { background-color: rgb(4,0,66); }
div.DivClassName
{
background-color: #040042;
}
.BgClassName
{
background-color: #040042;
}
</style>
border-color css
<style>
span { border-color: #040042; }
span { border-color: rgb(4,0,66); }
td.TdClassName
{
border-color: #040042;
}
.TagClassName
{
border-color: #040042;
}
</style>