Shades of Midnight Express #040C30
Tints of Midnight Express #040C30
RGB
CMYK
RGB Variations
Color information
#040C30 (or 0x040C30) is known color: Midnight Express. HEX triplet: 04, 0C and 30. RGB value is (4,12,48). Sum of RGB (Red+Green+Blue) = 4+12+48=64 (8% of max value = 765). Red value is 4 (1.95% from 255 or 6.25% from 64); Green value is 12 (5.08% from 255 or 18.75% from 64); Blue value is 48 (19.14% from 255 or 75% from 64); Max value from RGB is 48 - color contains mainly: blue. Hex color #040C30 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C30 is #FBF3CF. Grayscale: #0D0D0D. Windows color (decimal): -16511952 or 3148804. OLE color: 3148804.
HSL color Cylindrical-coordinate representation of color #040C30: hue angle of 229.09º degrees, saturation: 0.85, lightness: 0.1%. HSV value (or HSB Brightness) of color is 0.19% and HSV saturation: 0.92%. Process color model (Four color, CMYK) of #040C30 is Cyan = 0.92, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.81.
Color convert
| RGB | 4 | 12 | 48 | - |
| CMYK | 0.92 | 0.75 | 0 | 0.81 |
| HSL | 229.09º | 0.85% | 0.1% | - |
| HSV(B) | 229.09º | 0.92% | 0.19% | - |
| XYZ | 0.72 | 0.5 | 2.86 | - |
| YUV | 13.71 | 147.35 | 121.07 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 48 | 0.92 | 0.75 | 0 | 0.81 | 229.09 | 0.85 | 0.1 |
| Hex | 4 | C | 30 | 5C | 4B | 0 | 51 | E5 | 55 | A |
| Octal | 4 | 14 | 60 | 134 | 113 | 0 | 121 | 345 | 125 | 12 |
| Binary | 100 | 1100 | 110000 | 1011100 | 1001011 | 0 | 1010001 | 11100101 | 1010101 | 1010 |
Color Harmonies of #040C30
Complementary color
Monochromatic Colors of #040C30
Black with #040C30
Text Example
Text Example
White with #040C30
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C30; }
p { color: rgb(4,12,48); }
H1.HeaderClassName
{
color: #040C30;
}
.AnyTagClassName
{
color: #040C30;
}
</style>
background-color css
<style>
a { background-color: #040C30; }
a { background-color: rgb(4,12,48); }
div.DivClassName
{
background-color: #040C30;
}
.BgClassName
{
background-color: #040C30;
}
</style>
border-color css
<style>
span { border-color: #040C30; }
span { border-color: rgb(4,12,48); }
td.TdClassName
{
border-color: #040C30;
}
.TagClassName
{
border-color: #040C30;
}
</style>