Shades of Midnight Express #021840
Tints of Midnight Express #021840
RGB
CMYK
RGB Variations
Color information
#021840 (or 0x021840) is known color: Midnight Express. HEX triplet: 02, 18 and 40. RGB value is (2,24,64). Sum of RGB (Red+Green+Blue) = 2+24+64=90 (11% of max value = 765). Red value is 2 (1.17% from 255 or 2.22% from 90); Green value is 24 (9.77% from 255 or 26.67% from 90); Blue value is 64 (25.39% from 255 or 71.11% from 90); Max value from RGB is 64 - color contains mainly: blue. Hex color #021840 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #021840 is #FDE7BF. Grayscale: #151515. Windows color (decimal): -16639936 or 4200450. OLE color: 4200450.
HSL color Cylindrical-coordinate representation of color #021840: hue angle of 218.71º 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 #021840 is Cyan = 0.97, Magento = 0.62, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 2 | 24 | 64 | - |
| CMYK | 0.97 | 0.62 | 0 | 0.75 |
| HSL | 218.71º | 0.94% | 0.13% | - |
| HSV(B) | 218.71º | 0.97% | 0.25% | - |
| XYZ | 1.28 | 1.04 | 4.98 | - |
| YUV | 21.98 | 151.71 | 113.75 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 24 | 64 | 0.97 | 0.62 | 0 | 0.75 | 218.71 | 0.94 | 0.13 |
| Hex | 2 | 18 | 40 | 61 | 3E | 0 | 4B | DB | 5E | D |
| Octal | 2 | 30 | 100 | 141 | 76 | 0 | 113 | 333 | 136 | 15 |
| Binary | 10 | 11000 | 1000000 | 1100001 | 111110 | 0 | 1001011 | 11011011 | 1011110 | 1101 |
Color Harmonies of #021840
Complementary color
Monochromatic Colors of #021840
Black with #021840
Text Example
Text Example
White with #021840
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #021840; }
p { color: rgb(2,24,64); }
H1.HeaderClassName
{
color: #021840;
}
.AnyTagClassName
{
color: #021840;
}
</style>
background-color css
<style>
a { background-color: #021840; }
a { background-color: rgb(2,24,64); }
div.DivClassName
{
background-color: #021840;
}
.BgClassName
{
background-color: #021840;
}
</style>
border-color css
<style>
span { border-color: #021840; }
span { border-color: rgb(2,24,64); }
td.TdClassName
{
border-color: #021840;
}
.TagClassName
{
border-color: #021840;
}
</style>