Shades of Midnight Express #020040
Tints of Midnight Express #020040
RGB
CMYK
RGB Variations
Color information
#020040 (or 0x020040) is known color: Midnight Express. HEX triplet: 02, 00 and 40. RGB value is (2,0,64). Sum of RGB (Red+Green+Blue) = 2+0+64=66 (8% of max value = 765). Red value is 2 (1.17% from 255 or 3.03% from 66); Green value is 0 (0.39% from 255 or 0% from 66); Blue value is 64 (25.39% from 255 or 96.97% from 66); Max value from RGB is 64 - color contains mainly: blue. Hex color #020040 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #020040 is #FDFFBF. Grayscale: #070707. Windows color (decimal): -16646080 or 4194306. OLE color: 4194306.
HSL color Cylindrical-coordinate representation of color #020040: hue angle of 241.88º degrees, saturation: 1, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 1%. Process color model (Four color, CMYK) of #020040 is Cyan = 0.97, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 2 | 0 | 64 | - |
| CMYK | 0.97 | 1 | 0 | 0.75 |
| HSL | 241.88º | 1% | 0.13% | - |
| HSV(B) | 241.88º | 1% | 0.25% | - |
| XYZ | 0.95 | 0.38 | 4.87 | - |
| YUV | 7.89 | 159.66 | 123.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 0 | 64 | 0.97 | 1 | 0 | 0.75 | 241.88 | 1 | 0.13 |
| Hex | 2 | 0 | 40 | 61 | 64 | 0 | 4B | F2 | 64 | D |
| Octal | 2 | 0 | 100 | 141 | 144 | 0 | 113 | 362 | 144 | 15 |
| Binary | 10 | 0 | 1000000 | 1100001 | 1100100 | 0 | 1001011 | 11110010 | 1100100 | 1101 |
Color Harmonies of #020040
Complementary color
Monochromatic Colors of #020040
Black with #020040
Text Example
Text Example
White with #020040
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #020040; }
p { color: rgb(2,0,64); }
H1.HeaderClassName
{
color: #020040;
}
.AnyTagClassName
{
color: #020040;
}
</style>
background-color css
<style>
a { background-color: #020040; }
a { background-color: rgb(2,0,64); }
div.DivClassName
{
background-color: #020040;
}
.BgClassName
{
background-color: #020040;
}
</style>
border-color css
<style>
span { border-color: #020040; }
span { border-color: rgb(2,0,64); }
td.TdClassName
{
border-color: #020040;
}
.TagClassName
{
border-color: #020040;
}
</style>