Shades of Midnight Express #040142
Tints of Midnight Express #040142
RGB
CMYK
RGB Variations
Color information
#040142 (or 0x040142) is known color: Midnight Express. HEX triplet: 04, 01 and 42. RGB value is (4,1,66). Sum of RGB (Red+Green+Blue) = 4+1+66=71 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.63% from 71); Green value is 1 (0.78% from 255 or 1.41% from 71); Blue value is 66 (26.17% from 255 or 92.96% from 71); Max value from RGB is 66 - color contains mainly: blue. Hex color #040142 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040142 is #FBFEBD. Grayscale: #090909. Windows color (decimal): -16514750 or 4325636. OLE color: 4325636.
HSL color Cylindrical-coordinate representation of color #040142: hue angle of 242.77º degrees, saturation: 0.97, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040142 is Cyan = 0.94, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 4 | 1 | 66 | - |
| CMYK | 0.94 | 0.98 | 0 | 0.74 |
| HSL | 242.77º | 0.97% | 0.13% | - |
| HSV(B) | 242.77º | 0.98% | 0.26% | - |
| XYZ | 1.04 | 0.44 | 5.18 | - |
| YUV | 9.31 | 159.99 | 124.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 1 | 66 | 0.94 | 0.98 | 0 | 0.74 | 242.77 | 0.97 | 0.13 |
| Hex | 4 | 1 | 42 | 5E | 62 | 0 | 4A | F3 | 61 | D |
| Octal | 4 | 1 | 102 | 136 | 142 | 0 | 112 | 363 | 141 | 15 |
| Binary | 100 | 1 | 1000010 | 1011110 | 1100010 | 0 | 1001010 | 11110011 | 1100001 | 1101 |
Color Harmonies of #040142
Complementary color
Monochromatic Colors of #040142
Black with #040142
Text Example
Text Example
White with #040142
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040142; }
p { color: rgb(4,1,66); }
H1.HeaderClassName
{
color: #040142;
}
.AnyTagClassName
{
color: #040142;
}
</style>
background-color css
<style>
a { background-color: #040142; }
a { background-color: rgb(4,1,66); }
div.DivClassName
{
background-color: #040142;
}
.BgClassName
{
background-color: #040142;
}
</style>
border-color css
<style>
span { border-color: #040142; }
span { border-color: rgb(4,1,66); }
td.TdClassName
{
border-color: #040142;
}
.TagClassName
{
border-color: #040142;
}
</style>