Shades of Midnight Express #040C34
Tints of Midnight Express #040C34
RGB
CMYK
RGB Variations
Color information
#040C34 (or 0x040C34) is known color: Midnight Express. HEX triplet: 04, 0C and 34. RGB value is (4,12,52). Sum of RGB (Red+Green+Blue) = 4+12+52=68 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.88% from 68); Green value is 12 (5.08% from 255 or 17.65% from 68); Blue value is 52 (20.70% from 255 or 76.47% from 68); Max value from RGB is 52 - color contains mainly: blue. Hex color #040C34 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C34 is #FBF3CB. Grayscale: #0E0E0E. Windows color (decimal): -16511948 or 3410948. OLE color: 3410948.
HSL color Cylindrical-coordinate representation of color #040C34: hue angle of 230º degrees, saturation: 0.86, lightness: 0.11%. HSV value (or HSB Brightness) of color is 0.2% and HSV saturation: 0.92%. Process color model (Four color, CMYK) of #040C34 is Cyan = 0.92, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.80.
Color convert
| RGB | 4 | 12 | 52 | - |
| CMYK | 0.92 | 0.77 | 0 | 0.80 |
| HSL | 230º | 0.86% | 0.11% | - |
| HSV(B) | 230º | 0.92% | 0.2% | - |
| XYZ | 0.8 | 0.54 | 3.31 | - |
| YUV | 14.17 | 149.35 | 120.75 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 52 | 0.92 | 0.77 | 0 | 0.80 | 230 | 0.86 | 0.11 |
| Hex | 4 | C | 34 | 5C | 4D | 0 | 50 | E6 | 56 | B |
| Octal | 4 | 14 | 64 | 134 | 115 | 0 | 120 | 346 | 126 | 13 |
| Binary | 100 | 1100 | 110100 | 1011100 | 1001101 | 0 | 1010000 | 11100110 | 1010110 | 1011 |
Color Harmonies of #040C34
Complementary color
Monochromatic Colors of #040C34
Black with #040C34
Text Example
Text Example
White with #040C34
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C34; }
p { color: rgb(4,12,52); }
H1.HeaderClassName
{
color: #040C34;
}
.AnyTagClassName
{
color: #040C34;
}
</style>
background-color css
<style>
a { background-color: #040C34; }
a { background-color: rgb(4,12,52); }
div.DivClassName
{
background-color: #040C34;
}
.BgClassName
{
background-color: #040C34;
}
</style>
border-color css
<style>
span { border-color: #040C34; }
span { border-color: rgb(4,12,52); }
td.TdClassName
{
border-color: #040C34;
}
.TagClassName
{
border-color: #040C34;
}
</style>