Shades of Midnight Express #021540
Tints of Midnight Express #021540
RGB
CMYK
RGB Variations
Color information
#021540 (or 0x021540) is known color: Midnight Express. HEX triplet: 02, 15 and 40. RGB value is (2,21,64). Sum of RGB (Red+Green+Blue) = 2+21+64=87 (11% of max value = 765). Red value is 2 (1.17% from 255 or 2.30% from 87); Green value is 21 (8.59% from 255 or 24.14% from 87); Blue value is 64 (25.39% from 255 or 73.56% from 87); Max value from RGB is 64 - color contains mainly: blue. Hex color #021540 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #021540 is #FDEABF. Grayscale: #141414. Windows color (decimal): -16640704 or 4199682. OLE color: 4199682.
HSL color Cylindrical-coordinate representation of color #021540: hue angle of 221.61º 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 #021540 is Cyan = 0.97, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 2 | 21 | 64 | - |
| CMYK | 0.97 | 0.67 | 0 | 0.75 |
| HSL | 221.61º | 0.94% | 0.13% | - |
| HSV(B) | 221.61º | 0.97% | 0.25% | - |
| XYZ | 1.22 | 0.92 | 4.96 | - |
| YUV | 20.22 | 152.71 | 115 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 21 | 64 | 0.97 | 0.67 | 0 | 0.75 | 221.61 | 0.94 | 0.13 |
| Hex | 2 | 15 | 40 | 61 | 43 | 0 | 4B | DE | 5E | D |
| Octal | 2 | 25 | 100 | 141 | 103 | 0 | 113 | 336 | 136 | 15 |
| Binary | 10 | 10101 | 1000000 | 1100001 | 1000011 | 0 | 1001011 | 11011110 | 1011110 | 1101 |
Color Harmonies of #021540
Complementary color
Monochromatic Colors of #021540
Black with #021540
Text Example
Text Example
White with #021540
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #021540; }
p { color: rgb(2,21,64); }
H1.HeaderClassName
{
color: #021540;
}
.AnyTagClassName
{
color: #021540;
}
</style>
background-color css
<style>
a { background-color: #021540; }
a { background-color: rgb(2,21,64); }
div.DivClassName
{
background-color: #021540;
}
.BgClassName
{
background-color: #021540;
}
</style>
border-color css
<style>
span { border-color: #021540; }
span { border-color: rgb(2,21,64); }
td.TdClassName
{
border-color: #021540;
}
.TagClassName
{
border-color: #021540;
}
</style>