Shades of Midnight Express #040538
Tints of Midnight Express #040538
RGB
CMYK
RGB Variations
Color information
#040538 (or 0x040538) is known color: Midnight Express. HEX triplet: 04, 05 and 38. RGB value is (4,5,56). Sum of RGB (Red+Green+Blue) = 4+5+56=65 (8% of max value = 765). Red value is 4 (1.95% from 255 or 6.15% from 65); Green value is 5 (2.34% from 255 or 7.69% from 65); Blue value is 56 (22.27% from 255 or 86.15% from 65); Max value from RGB is 56 - color contains mainly: blue. Hex color #040538 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040538 is #FBFAC7. Grayscale: #0A0A0A. Windows color (decimal): -16513736 or 3671300. OLE color: 3671300.
HSL color Cylindrical-coordinate representation of color #040538: hue angle of 238.85º 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 #040538 is Cyan = 0.93, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 4 | 5 | 56 | - |
| CMYK | 0.93 | 0.91 | 0 | 0.78 |
| HSL | 238.85º | 0.87% | 0.12% | - |
| HSV(B) | 238.85º | 0.93% | 0.22% | - |
| XYZ | 0.82 | 0.42 | 3.78 | - |
| YUV | 10.52 | 153.67 | 123.35 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 56 | 0.93 | 0.91 | 0 | 0.78 | 238.85 | 0.87 | 0.12 |
| Hex | 4 | 5 | 38 | 5D | 5B | 0 | 4E | EF | 57 | C |
| Octal | 4 | 5 | 70 | 135 | 133 | 0 | 116 | 357 | 127 | 14 |
| Binary | 100 | 101 | 111000 | 1011101 | 1011011 | 0 | 1001110 | 11101111 | 1010111 | 1100 |
Color Harmonies of #040538
Complementary color
Monochromatic Colors of #040538
Black with #040538
Text Example
Text Example
White with #040538
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040538; }
p { color: rgb(4,5,56); }
H1.HeaderClassName
{
color: #040538;
}
.AnyTagClassName
{
color: #040538;
}
</style>
background-color css
<style>
a { background-color: #040538; }
a { background-color: rgb(4,5,56); }
div.DivClassName
{
background-color: #040538;
}
.BgClassName
{
background-color: #040538;
}
</style>
border-color css
<style>
span { border-color: #040538; }
span { border-color: rgb(4,5,56); }
td.TdClassName
{
border-color: #040538;
}
.TagClassName
{
border-color: #040538;
}
</style>