Shades of Midnight Express #040C39
Tints of Midnight Express #040C39
RGB
CMYK
RGB Variations
Color information
#040C39 (or 0x040C39) is known color: Midnight Express. HEX triplet: 04, 0C and 39. RGB value is (4,12,57). Sum of RGB (Red+Green+Blue) = 4+12+57=73 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.48% from 73); Green value is 12 (5.08% from 255 or 16.44% from 73); Blue value is 57 (22.66% from 255 or 78.08% from 73); Max value from RGB is 57 - color contains mainly: blue. Hex color #040C39 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C39 is #FBF3C6. Grayscale: #0E0E0E. Windows color (decimal): -16511943 or 3738628. OLE color: 3738628.
HSL color Cylindrical-coordinate representation of color #040C39: hue angle of 230.94º degrees, saturation: 0.87, lightness: 0.12%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.93%. Process color model (Four color, CMYK) of #040C39 is Cyan = 0.93, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 4 | 12 | 57 | - |
| CMYK | 0.93 | 0.79 | 0 | 0.78 |
| HSL | 230.94º | 0.87% | 0.12% | - |
| HSV(B) | 230.94º | 0.93% | 0.22% | - |
| XYZ | 0.92 | 0.58 | 3.94 | - |
| YUV | 14.74 | 151.85 | 120.34 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 57 | 0.93 | 0.79 | 0 | 0.78 | 230.94 | 0.87 | 0.12 |
| Hex | 4 | C | 39 | 5D | 4F | 0 | 4E | E7 | 57 | C |
| Octal | 4 | 14 | 71 | 135 | 117 | 0 | 116 | 347 | 127 | 14 |
| Binary | 100 | 1100 | 111001 | 1011101 | 1001111 | 0 | 1001110 | 11100111 | 1010111 | 1100 |
Color Harmonies of #040C39
Complementary color
Monochromatic Colors of #040C39
Black with #040C39
Text Example
Text Example
White with #040C39
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C39; }
p { color: rgb(4,12,57); }
H1.HeaderClassName
{
color: #040C39;
}
.AnyTagClassName
{
color: #040C39;
}
</style>
background-color css
<style>
a { background-color: #040C39; }
a { background-color: rgb(4,12,57); }
div.DivClassName
{
background-color: #040C39;
}
.BgClassName
{
background-color: #040C39;
}
</style>
border-color css
<style>
span { border-color: #040C39; }
span { border-color: rgb(4,12,57); }
td.TdClassName
{
border-color: #040C39;
}
.TagClassName
{
border-color: #040C39;
}
</style>