Shades of Midnight Express #121240
Tints of Midnight Express #121240
RGB
CMYK
RGB Variations
Color information
#121240 (or 0x121240) is known color: Midnight Express. HEX triplet: 12, 12 and 40. RGB value is (18,18,64). Sum of RGB (Red+Green+Blue) = 18+18+64=100 (13% of max value = 765). Red value is 18 (7.42% from 255 or 18% from 100); Green value is 18 (7.42% from 255 or 18% from 100); Blue value is 64 (25.39% from 255 or 64% from 100); Max value from RGB is 64 - color contains mainly: blue. Hex color #121240 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #121240 is #EDEDBF. Grayscale: #171717. Windows color (decimal): -15592896 or 4198930. OLE color: 4198930.
HSL color Cylindrical-coordinate representation of color #121240: hue angle of 240º degrees, saturation: 0.56, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #121240 is Cyan = 0.72, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 18 | 18 | 64 | - |
| CMYK | 0.72 | 0.72 | 0 | 0.75 |
| HSL | 240º | 0.56% | 0.16% | - |
| HSV(B) | 240º | 0.72% | 0.25% | - |
| XYZ | 1.39 | 0.93 | 4.96 | - |
| YUV | 23.24 | 151 | 124.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 18 | 64 | 0.72 | 0.72 | 0 | 0.75 | 240 | 0.56 | 0.16 |
| Hex | 12 | 12 | 40 | 48 | 48 | 0 | 4B | F0 | 38 | 10 |
| Octal | 22 | 22 | 100 | 110 | 110 | 0 | 113 | 360 | 70 | 20 |
| Binary | 10010 | 10010 | 1000000 | 1001000 | 1001000 | 0 | 1001011 | 11110000 | 111000 | 10000 |
Color Harmonies of #121240
Complementary color
Monochromatic Colors of #121240
Black with #121240
Text Example
Text Example
White with #121240
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #121240; }
p { color: rgb(18,18,64); }
H1.HeaderClassName
{
color: #121240;
}
.AnyTagClassName
{
color: #121240;
}
</style>
background-color css
<style>
a { background-color: #121240; }
a { background-color: rgb(18,18,64); }
div.DivClassName
{
background-color: #121240;
}
.BgClassName
{
background-color: #121240;
}
</style>
border-color css
<style>
span { border-color: #121240; }
span { border-color: rgb(18,18,64); }
td.TdClassName
{
border-color: #121240;
}
.TagClassName
{
border-color: #121240;
}
</style>