Shades of Midnight Express #021842
Tints of Midnight Express #021842
RGB
CMYK
RGB Variations
Color information
#021842 (or 0x021842) is known color: Midnight Express. HEX triplet: 02, 18 and 42. RGB value is (2,24,66). Sum of RGB (Red+Green+Blue) = 2+24+66=92 (12% of max value = 765). Red value is 2 (1.17% from 255 or 2.17% from 92); Green value is 24 (9.77% from 255 or 26.09% from 92); Blue value is 66 (26.17% from 255 or 71.74% from 92); Max value from RGB is 66 - color contains mainly: blue. Hex color #021842 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #021842 is #FDE7BD. Grayscale: #161616. Windows color (decimal): -16639934 or 4331522. OLE color: 4331522.
HSL color Cylindrical-coordinate representation of color #021842: hue angle of 219.38º degrees, saturation: 0.94, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #021842 is Cyan = 0.97, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 2 | 24 | 66 | - |
| CMYK | 0.97 | 0.64 | 0 | 0.74 |
| HSL | 219.38º | 0.94% | 0.13% | - |
| HSV(B) | 219.38º | 0.97% | 0.26% | - |
| XYZ | 1.34 | 1.06 | 5.29 | - |
| YUV | 22.21 | 152.71 | 113.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 24 | 66 | 0.97 | 0.64 | 0 | 0.74 | 219.38 | 0.94 | 0.13 |
| Hex | 2 | 18 | 42 | 61 | 40 | 0 | 4A | DB | 5E | D |
| Octal | 2 | 30 | 102 | 141 | 100 | 0 | 112 | 333 | 136 | 15 |
| Binary | 10 | 11000 | 1000010 | 1100001 | 1000000 | 0 | 1001010 | 11011011 | 1011110 | 1101 |
Color Harmonies of #021842
Complementary color
Monochromatic Colors of #021842
Black with #021842
Text Example
Text Example
White with #021842
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #021842; }
p { color: rgb(2,24,66); }
H1.HeaderClassName
{
color: #021842;
}
.AnyTagClassName
{
color: #021842;
}
</style>
background-color css
<style>
a { background-color: #021842; }
a { background-color: rgb(2,24,66); }
div.DivClassName
{
background-color: #021842;
}
.BgClassName
{
background-color: #021842;
}
</style>
border-color css
<style>
span { border-color: #021842; }
span { border-color: rgb(2,24,66); }
td.TdClassName
{
border-color: #021842;
}
.TagClassName
{
border-color: #021842;
}
</style>