Shades of Midnight Express #040540
Tints of Midnight Express #040540
RGB
CMYK
RGB Variations
Color information
#040540 (or 0x040540) is known color: Midnight Express. HEX triplet: 04, 05 and 40. RGB value is (4,5,64). Sum of RGB (Red+Green+Blue) = 4+5+64=73 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.48% from 73); Green value is 5 (2.34% from 255 or 6.85% from 73); Blue value is 64 (25.39% from 255 or 87.67% from 73); Max value from RGB is 64 - color contains mainly: blue. Hex color #040540 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040540 is #FBFABF. Grayscale: #0B0B0B. Windows color (decimal): -16513728 or 4195588. OLE color: 4195588.
HSL color Cylindrical-coordinate representation of color #040540: hue angle of 239º degrees, saturation: 0.88, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #040540 is Cyan = 0.94, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 4 | 5 | 64 | - |
| CMYK | 0.94 | 0.92 | 0 | 0.75 |
| HSL | 239º | 0.88% | 0.13% | - |
| HSV(B) | 239º | 0.94% | 0.25% | - |
| XYZ | 1.03 | 0.5 | 4.89 | - |
| YUV | 11.43 | 157.67 | 122.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 64 | 0.94 | 0.92 | 0 | 0.75 | 239 | 0.88 | 0.13 |
| Hex | 4 | 5 | 40 | 5E | 5C | 0 | 4B | EF | 58 | D |
| Octal | 4 | 5 | 100 | 136 | 134 | 0 | 113 | 357 | 130 | 15 |
| Binary | 100 | 101 | 1000000 | 1011110 | 1011100 | 0 | 1001011 | 11101111 | 1011000 | 1101 |
Color Harmonies of #040540
Complementary color
Monochromatic Colors of #040540
Black with #040540
Text Example
Text Example
White with #040540
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040540; }
p { color: rgb(4,5,64); }
H1.HeaderClassName
{
color: #040540;
}
.AnyTagClassName
{
color: #040540;
}
</style>
background-color css
<style>
a { background-color: #040540; }
a { background-color: rgb(4,5,64); }
div.DivClassName
{
background-color: #040540;
}
.BgClassName
{
background-color: #040540;
}
</style>
border-color css
<style>
span { border-color: #040540; }
span { border-color: rgb(4,5,64); }
td.TdClassName
{
border-color: #040540;
}
.TagClassName
{
border-color: #040540;
}
</style>