Shades of Midnight Express #040F31
Tints of Midnight Express #040F31
RGB
CMYK
RGB Variations
Color information
#040F31 (or 0x040F31) is known color: Midnight Express. HEX triplet: 04, 0F and 31. RGB value is (4,15,49). Sum of RGB (Red+Green+Blue) = 4+15+49=68 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.88% from 68); Green value is 15 (6.25% from 255 or 22.06% from 68); Blue value is 49 (19.53% from 255 or 72.06% from 68); Max value from RGB is 49 - color contains mainly: blue. Hex color #040F31 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040F31 is #FBF0CE. Grayscale: #0F0F0F. Windows color (decimal): -16511183 or 3215108. OLE color: 3215108.
HSL color Cylindrical-coordinate representation of color #040F31: hue angle of 225.33º 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 #040F31 is Cyan = 0.92, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.81.
Color convert
| RGB | 4 | 15 | 49 | - |
| CMYK | 0.92 | 0.69 | 0 | 0.81 |
| HSL | 225.33º | 0.85% | 0.1% | - |
| HSV(B) | 225.33º | 0.92% | 0.19% | - |
| XYZ | 0.78 | 0.59 | 2.98 | - |
| YUV | 15.59 | 146.86 | 119.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 49 | 0.92 | 0.69 | 0 | 0.81 | 225.33 | 0.85 | 0.1 |
| Hex | 4 | F | 31 | 5C | 45 | 0 | 51 | E1 | 55 | A |
| Octal | 4 | 17 | 61 | 134 | 105 | 0 | 121 | 341 | 125 | 12 |
| Binary | 100 | 1111 | 110001 | 1011100 | 1000101 | 0 | 1010001 | 11100001 | 1010101 | 1010 |
Color Harmonies of #040F31
Complementary color
Monochromatic Colors of #040F31
Black with #040F31
Text Example
Text Example
White with #040F31
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F31; }
p { color: rgb(4,15,49); }
H1.HeaderClassName
{
color: #040F31;
}
.AnyTagClassName
{
color: #040F31;
}
</style>
background-color css
<style>
a { background-color: #040F31; }
a { background-color: rgb(4,15,49); }
div.DivClassName
{
background-color: #040F31;
}
.BgClassName
{
background-color: #040F31;
}
</style>
border-color css
<style>
span { border-color: #040F31; }
span { border-color: rgb(4,15,49); }
td.TdClassName
{
border-color: #040F31;
}
.TagClassName
{
border-color: #040F31;
}
</style>