Shades of Midnight Express #040C46
Tints of Midnight Express #040C46
RGB
CMYK
RGB Variations
Color information
#040C46 (or 0x040C46) is known color: Midnight Express. HEX triplet: 04, 0C and 46. RGB value is (4,12,70). Sum of RGB (Red+Green+Blue) = 4+12+70=86 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.65% from 86); Green value is 12 (5.08% from 255 or 13.95% from 86); Blue value is 70 (27.73% from 255 or 81.40% from 86); Max value from RGB is 70 - color contains mainly: blue. Hex color #040C46 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C46 is #FBF3B9. Grayscale: #0F0F0F. Windows color (decimal): -16511930 or 4590596. OLE color: 4590596.
HSL color Cylindrical-coordinate representation of color #040C46: hue angle of 232.73º degrees, saturation: 0.89, lightness: 0.15%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #040C46 is Cyan = 0.94, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 4 | 12 | 70 | - |
| CMYK | 0.94 | 0.83 | 0 | 0.73 |
| HSL | 232.73º | 0.89% | 0.15% | - |
| HSV(B) | 232.73º | 0.94% | 0.27% | - |
| XYZ | 1.29 | 0.73 | 5.87 | - |
| YUV | 16.22 | 158.35 | 119.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 70 | 0.94 | 0.83 | 0 | 0.73 | 232.73 | 0.89 | 0.15 |
| Hex | 4 | C | 46 | 5E | 53 | 0 | 49 | E9 | 59 | F |
| Octal | 4 | 14 | 106 | 136 | 123 | 0 | 111 | 351 | 131 | 17 |
| Binary | 100 | 1100 | 1000110 | 1011110 | 1010011 | 0 | 1001001 | 11101001 | 1011001 | 1111 |
Color Harmonies of #040C46
Complementary color
Monochromatic Colors of #040C46
Black with #040C46
Text Example
Text Example
White with #040C46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C46; }
p { color: rgb(4,12,70); }
H1.HeaderClassName
{
color: #040C46;
}
.AnyTagClassName
{
color: #040C46;
}
</style>
background-color css
<style>
a { background-color: #040C46; }
a { background-color: rgb(4,12,70); }
div.DivClassName
{
background-color: #040C46;
}
.BgClassName
{
background-color: #040C46;
}
</style>
border-color css
<style>
span { border-color: #040C46; }
span { border-color: rgb(4,12,70); }
td.TdClassName
{
border-color: #040C46;
}
.TagClassName
{
border-color: #040C46;
}
</style>