Shades of Midnight Express #040342
Tints of Midnight Express #040342
RGB
CMYK
RGB Variations
Color information
#040342 (or 0x040342) is known color: Midnight Express. HEX triplet: 04, 03 and 42. RGB value is (4,3,66). Sum of RGB (Red+Green+Blue) = 4+3+66=73 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.48% from 73); Green value is 3 (1.56% from 255 or 4.11% from 73); Blue value is 66 (26.17% from 255 or 90.41% from 73); Max value from RGB is 66 - color contains mainly: blue. Hex color #040342 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040342 is #FBFCBD. Grayscale: #0A0A0A. Windows color (decimal): -16514238 or 4326148. OLE color: 4326148.
HSL color Cylindrical-coordinate representation of color #040342: hue angle of 240.95º degrees, saturation: 0.91, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040342 is Cyan = 0.94, Magento = 0.95, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 4 | 3 | 66 | - |
| CMYK | 0.94 | 0.95 | 0 | 0.74 |
| HSL | 240.95º | 0.91% | 0.14% | - |
| HSV(B) | 240.95º | 0.95% | 0.26% | - |
| XYZ | 1.07 | 0.48 | 5.19 | - |
| YUV | 10.48 | 159.33 | 123.38 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 3 | 66 | 0.94 | 0.95 | 0 | 0.74 | 240.95 | 0.91 | 0.14 |
| Hex | 4 | 3 | 42 | 5E | 5F | 0 | 4A | F1 | 5B | E |
| Octal | 4 | 3 | 102 | 136 | 137 | 0 | 112 | 361 | 133 | 16 |
| Binary | 100 | 11 | 1000010 | 1011110 | 1011111 | 0 | 1001010 | 11110001 | 1011011 | 1110 |
Color Harmonies of #040342
Complementary color
Monochromatic Colors of #040342
Black with #040342
Text Example
Text Example
White with #040342
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040342; }
p { color: rgb(4,3,66); }
H1.HeaderClassName
{
color: #040342;
}
.AnyTagClassName
{
color: #040342;
}
</style>
background-color css
<style>
a { background-color: #040342; }
a { background-color: rgb(4,3,66); }
div.DivClassName
{
background-color: #040342;
}
.BgClassName
{
background-color: #040342;
}
</style>
border-color css
<style>
span { border-color: #040342; }
span { border-color: rgb(4,3,66); }
td.TdClassName
{
border-color: #040342;
}
.TagClassName
{
border-color: #040342;
}
</style>