Shades of Midnight Express #040640
Tints of Midnight Express #040640
RGB
CMYK
RGB Variations
Color information
#040640 (or 0x040640) is known color: Midnight Express. HEX triplet: 04, 06 and 40. RGB value is (4,6,64). Sum of RGB (Red+Green+Blue) = 4+6+64=74 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.41% from 74); Green value is 6 (2.73% from 255 or 8.11% from 74); Blue value is 64 (25.39% from 255 or 86.49% from 74); Max value from RGB is 64 - color contains mainly: blue. Hex color #040640 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040640 is #FBF9BF. Grayscale: #0B0B0B. Windows color (decimal): -16513472 or 4195844. OLE color: 4195844.
HSL color Cylindrical-coordinate representation of color #040640: hue angle of 238º 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 #040640 is Cyan = 0.94, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 4 | 6 | 64 | - |
| CMYK | 0.94 | 0.91 | 0 | 0.75 |
| HSL | 238º | 0.88% | 0.13% | - |
| HSV(B) | 238º | 0.94% | 0.25% | - |
| XYZ | 1.04 | 0.53 | 4.9 | - |
| YUV | 12.01 | 157.34 | 122.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 6 | 64 | 0.94 | 0.91 | 0 | 0.75 | 238 | 0.88 | 0.13 |
| Hex | 4 | 6 | 40 | 5E | 5B | 0 | 4B | EE | 58 | D |
| Octal | 4 | 6 | 100 | 136 | 133 | 0 | 113 | 356 | 130 | 15 |
| Binary | 100 | 110 | 1000000 | 1011110 | 1011011 | 0 | 1001011 | 11101110 | 1011000 | 1101 |
Color Harmonies of #040640
Complementary color
Monochromatic Colors of #040640
Black with #040640
Text Example
Text Example
White with #040640
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040640; }
p { color: rgb(4,6,64); }
H1.HeaderClassName
{
color: #040640;
}
.AnyTagClassName
{
color: #040640;
}
</style>
background-color css
<style>
a { background-color: #040640; }
a { background-color: rgb(4,6,64); }
div.DivClassName
{
background-color: #040640;
}
.BgClassName
{
background-color: #040640;
}
</style>
border-color css
<style>
span { border-color: #040640; }
span { border-color: rgb(4,6,64); }
td.TdClassName
{
border-color: #040640;
}
.TagClassName
{
border-color: #040640;
}
</style>