Shades of Midnight Express #040838
Tints of Midnight Express #040838
RGB
CMYK
RGB Variations
Color information
#040838 (or 0x040838) is known color: Midnight Express. HEX triplet: 04, 08 and 38. RGB value is (4,8,56). Sum of RGB (Red+Green+Blue) = 4+8+56=68 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.88% from 68); Green value is 8 (3.52% from 255 or 11.76% from 68); Blue value is 56 (22.27% from 255 or 82.35% from 68); Max value from RGB is 56 - color contains mainly: blue. Hex color #040838 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040838 is #FBF7C7. Grayscale: #0C0C0C. Windows color (decimal): -16512968 or 3672068. OLE color: 3672068.
HSL color Cylindrical-coordinate representation of color #040838: hue angle of 235.38º 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 #040838 is Cyan = 0.93, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 4 | 8 | 56 | - |
| CMYK | 0.93 | 0.86 | 0 | 0.78 |
| HSL | 235.38º | 0.87% | 0.12% | - |
| HSV(B) | 235.38º | 0.93% | 0.22% | - |
| XYZ | 0.85 | 0.49 | 3.79 | - |
| YUV | 12.28 | 152.67 | 122.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 56 | 0.93 | 0.86 | 0 | 0.78 | 235.38 | 0.87 | 0.12 |
| Hex | 4 | 8 | 38 | 5D | 56 | 0 | 4E | EB | 57 | C |
| Octal | 4 | 10 | 70 | 135 | 126 | 0 | 116 | 353 | 127 | 14 |
| Binary | 100 | 1000 | 111000 | 1011101 | 1010110 | 0 | 1001110 | 11101011 | 1010111 | 1100 |
Color Harmonies of #040838
Complementary color
Monochromatic Colors of #040838
Black with #040838
Text Example
Text Example
White with #040838
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040838; }
p { color: rgb(4,8,56); }
H1.HeaderClassName
{
color: #040838;
}
.AnyTagClassName
{
color: #040838;
}
</style>
background-color css
<style>
a { background-color: #040838; }
a { background-color: rgb(4,8,56); }
div.DivClassName
{
background-color: #040838;
}
.BgClassName
{
background-color: #040838;
}
</style>
border-color css
<style>
span { border-color: #040838; }
span { border-color: rgb(4,8,56); }
td.TdClassName
{
border-color: #040838;
}
.TagClassName
{
border-color: #040838;
}
</style>