Shades of Midnight Express #040F2C
Tints of Midnight Express #040F2C
RGB
CMYK
RGB Variations
Color information
#040F2C (or 0x040F2C) is known color: Midnight Express. HEX triplet: 04, 0F and 2C. RGB value is (4,15,44). Sum of RGB (Red+Green+Blue) = 4+15+44=63 (8% of max value = 765). Red value is 4 (1.95% from 255 or 6.35% from 63); Green value is 15 (6.25% from 255 or 23.81% from 63); Blue value is 44 (17.58% from 255 or 69.84% from 63); Max value from RGB is 44 - color contains mainly: blue. Hex color #040F2C is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040F2C is #FBF0D3. Grayscale: #0E0E0E. Windows color (decimal): -16511188 or 2887428. OLE color: 2887428.
HSL color Cylindrical-coordinate representation of color #040F2C: hue angle of 223.5º degrees, saturation: 0.83, lightness: 0.09%. HSV value (or HSB Brightness) of color is 0.17% and HSV saturation: 0.91%. Process color model (Four color, CMYK) of #040F2C is Cyan = 0.91, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.83.
Color convert
| RGB | 4 | 15 | 44 | - |
| CMYK | 0.91 | 0.66 | 0 | 0.83 |
| HSL | 223.5º | 0.83% | 0.09% | - |
| HSV(B) | 223.5º | 0.91% | 0.17% | - |
| XYZ | 0.68 | 0.55 | 2.45 | - |
| YUV | 15.02 | 144.36 | 120.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 44 | 0.91 | 0.66 | 0 | 0.83 | 223.5 | 0.83 | 0.09 |
| Hex | 4 | F | 2C | 5B | 42 | 0 | 53 | E0 | 53 | 9 |
| Octal | 4 | 17 | 54 | 133 | 102 | 0 | 123 | 340 | 123 | 11 |
| Binary | 100 | 1111 | 101100 | 1011011 | 1000010 | 0 | 1010011 | 11100000 | 1010011 | 1001 |
Color Harmonies of #040F2C
Complementary color
Monochromatic Colors of #040F2C
Black with #040F2C
Text Example
Text Example
White with #040F2C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F2C; }
p { color: rgb(4,15,44); }
H1.HeaderClassName
{
color: #040F2C;
}
.AnyTagClassName
{
color: #040F2C;
}
</style>
background-color css
<style>
a { background-color: #040F2C; }
a { background-color: rgb(4,15,44); }
div.DivClassName
{
background-color: #040F2C;
}
.BgClassName
{
background-color: #040F2C;
}
</style>
border-color css
<style>
span { border-color: #040F2C; }
span { border-color: rgb(4,15,44); }
td.TdClassName
{
border-color: #040F2C;
}
.TagClassName
{
border-color: #040F2C;
}
</style>