Shades of Midnight Express #040C2F
Tints of Midnight Express #040C2F
RGB
CMYK
RGB Variations
Color information
#040C2F (or 0x040C2F) is known color: Midnight Express. HEX triplet: 04, 0C and 2F. RGB value is (4,12,47). Sum of RGB (Red+Green+Blue) = 4+12+47=63 (8% of max value = 765). Red value is 4 (1.95% from 255 or 6.35% from 63); Green value is 12 (5.08% from 255 or 19.05% from 63); Blue value is 47 (18.75% from 255 or 74.60% from 63); Max value from RGB is 47 - color contains mainly: blue. Hex color #040C2F is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C2F is #FBF3D0. Grayscale: #0D0D0D. Windows color (decimal): -16511953 or 3083268. OLE color: 3083268.
HSL color Cylindrical-coordinate representation of color #040C2F: hue angle of 228.84º degrees, saturation: 0.84, lightness: 0.1%. HSV value (or HSB Brightness) of color is 0.18% and HSV saturation: 0.91%. Process color model (Four color, CMYK) of #040C2F is Cyan = 0.91, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.82.
Color convert
| RGB | 4 | 12 | 47 | - |
| CMYK | 0.91 | 0.74 | 0 | 0.82 |
| HSL | 228.84º | 0.84% | 0.1% | - |
| HSV(B) | 228.84º | 0.91% | 0.18% | - |
| XYZ | 0.69 | 0.49 | 2.75 | - |
| YUV | 13.6 | 146.85 | 121.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 47 | 0.91 | 0.74 | 0 | 0.82 | 228.84 | 0.84 | 0.1 |
| Hex | 4 | C | 2F | 5B | 4A | 0 | 52 | E5 | 54 | A |
| Octal | 4 | 14 | 57 | 133 | 112 | 0 | 122 | 345 | 124 | 12 |
| Binary | 100 | 1100 | 101111 | 1011011 | 1001010 | 0 | 1010010 | 11100101 | 1010100 | 1010 |
Color Harmonies of #040C2F
Complementary color
Monochromatic Colors of #040C2F
Black with #040C2F
Text Example
Text Example
White with #040C2F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C2F; }
p { color: rgb(4,12,47); }
H1.HeaderClassName
{
color: #040C2F;
}
.AnyTagClassName
{
color: #040C2F;
}
</style>
background-color css
<style>
a { background-color: #040C2F; }
a { background-color: rgb(4,12,47); }
div.DivClassName
{
background-color: #040C2F;
}
.BgClassName
{
background-color: #040C2F;
}
</style>
border-color css
<style>
span { border-color: #040C2F; }
span { border-color: rgb(4,12,47); }
td.TdClassName
{
border-color: #040C2F;
}
.TagClassName
{
border-color: #040C2F;
}
</style>