Shades of Midnight Express #040F38
Tints of Midnight Express #040F38
RGB
CMYK
RGB Variations
Color information
#040F38 (or 0x040F38) is known color: Midnight Express. HEX triplet: 04, 0F and 38. RGB value is (4,15,56). Sum of RGB (Red+Green+Blue) = 4+15+56=75 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.33% from 75); Green value is 15 (6.25% from 255 or 20% from 75); Blue value is 56 (22.27% from 255 or 74.67% from 75); Max value from RGB is 56 - color contains mainly: blue. Hex color #040F38 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040F38 is #FBF0C7. Grayscale: #101010. Windows color (decimal): -16511176 or 3673860. OLE color: 3673860.
HSL color Cylindrical-coordinate representation of color #040F38: hue angle of 227.31º degrees, saturation: 0.87, lightness: 0.12%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.93%. Process color model (Four color, CMYK) of #040F38 is Cyan = 0.93, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 4 | 15 | 56 | - |
| CMYK | 0.93 | 0.73 | 0 | 0.78 |
| HSL | 227.31º | 0.87% | 0.12% | - |
| HSV(B) | 227.31º | 0.93% | 0.22% | - |
| XYZ | 0.93 | 0.65 | 3.82 | - |
| YUV | 16.39 | 150.36 | 119.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 56 | 0.93 | 0.73 | 0 | 0.78 | 227.31 | 0.87 | 0.12 |
| Hex | 4 | F | 38 | 5D | 49 | 0 | 4E | E3 | 57 | C |
| Octal | 4 | 17 | 70 | 135 | 111 | 0 | 116 | 343 | 127 | 14 |
| Binary | 100 | 1111 | 111000 | 1011101 | 1001001 | 0 | 1001110 | 11100011 | 1010111 | 1100 |
Color Harmonies of #040F38
Complementary color
Monochromatic Colors of #040F38
Black with #040F38
Text Example
Text Example
White with #040F38
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F38; }
p { color: rgb(4,15,56); }
H1.HeaderClassName
{
color: #040F38;
}
.AnyTagClassName
{
color: #040F38;
}
</style>
background-color css
<style>
a { background-color: #040F38; }
a { background-color: rgb(4,15,56); }
div.DivClassName
{
background-color: #040F38;
}
.BgClassName
{
background-color: #040F38;
}
</style>
border-color css
<style>
span { border-color: #040F38; }
span { border-color: rgb(4,15,56); }
td.TdClassName
{
border-color: #040F38;
}
.TagClassName
{
border-color: #040F38;
}
</style>