Shades of Midnight Express #020540
Tints of Midnight Express #020540
RGB
CMYK
RGB Variations
Color information
#020540 (or 0x020540) is known color: Midnight Express. HEX triplet: 02, 05 and 40. RGB value is (2,5,64). Sum of RGB (Red+Green+Blue) = 2+5+64=71 (9% of max value = 765). Red value is 2 (1.17% from 255 or 2.82% from 71); Green value is 5 (2.34% from 255 or 7.04% from 71); Blue value is 64 (25.39% from 255 or 90.14% from 71); Max value from RGB is 64 - color contains mainly: blue. Hex color #020540 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #020540 is #FDFABF. Grayscale: #0A0A0A. Windows color (decimal): -16644800 or 4195586. OLE color: 4195586.
HSL color Cylindrical-coordinate representation of color #020540: hue angle of 237.1º degrees, saturation: 0.94, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #020540 is Cyan = 0.97, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 2 | 5 | 64 | - |
| CMYK | 0.97 | 0.92 | 0 | 0.75 |
| HSL | 237.1º | 0.94% | 0.13% | - |
| HSV(B) | 237.1º | 0.97% | 0.25% | - |
| XYZ | 1 | 0.49 | 4.89 | - |
| YUV | 10.83 | 158.01 | 121.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 5 | 64 | 0.97 | 0.92 | 0 | 0.75 | 237.1 | 0.94 | 0.13 |
| Hex | 2 | 5 | 40 | 61 | 5C | 0 | 4B | ED | 5E | D |
| Octal | 2 | 5 | 100 | 141 | 134 | 0 | 113 | 355 | 136 | 15 |
| Binary | 10 | 101 | 1000000 | 1100001 | 1011100 | 0 | 1001011 | 11101101 | 1011110 | 1101 |
Color Harmonies of #020540
Complementary color
Monochromatic Colors of #020540
Black with #020540
Text Example
Text Example
White with #020540
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #020540; }
p { color: rgb(2,5,64); }
H1.HeaderClassName
{
color: #020540;
}
.AnyTagClassName
{
color: #020540;
}
</style>
background-color css
<style>
a { background-color: #020540; }
a { background-color: rgb(2,5,64); }
div.DivClassName
{
background-color: #020540;
}
.BgClassName
{
background-color: #020540;
}
</style>
border-color css
<style>
span { border-color: #020540; }
span { border-color: rgb(2,5,64); }
td.TdClassName
{
border-color: #020540;
}
.TagClassName
{
border-color: #020540;
}
</style>