Shades of Midnight Blue #040758
Tints of Midnight Blue #040758
RGB
CMYK
RGB Variations
Color information
#040758 (or 0x040758) is known color: Midnight Blue. HEX triplet: 04, 07 and 58. RGB value is (4,7,88). Sum of RGB (Red+Green+Blue) = 4+7+88=99 (13% of max value = 765). Red value is 4 (1.95% from 255 or 4.04% from 99); Green value is 7 (3.12% from 255 or 7.07% from 99); Blue value is 88 (34.77% from 255 or 88.89% from 99); Max value from RGB is 88 - color contains mainly: blue. Hex color #040758 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040758 is #FBF8A7. Grayscale: #0F0F0F. Windows color (decimal): -16513192 or 5768964. OLE color: 5768964.
HSL color Cylindrical-coordinate representation of color #040758: hue angle of 237.86º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040758 is Cyan = 0.95, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.65.
Color convert
| RGB | 4 | 7 | 88 | - |
| CMYK | 0.95 | 0.92 | 0 | 0.65 |
| HSL | 237.86º | 0.91% | 0.18% | - |
| HSV(B) | 237.86º | 0.95% | 0.35% | - |
| XYZ | 1.89 | 0.88 | 9.3 | - |
| YUV | 15.34 | 169.01 | 119.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 88 | 0.95 | 0.92 | 0 | 0.65 | 237.86 | 0.91 | 0.18 |
| Hex | 4 | 7 | 58 | 5F | 5C | 0 | 41 | EE | 5B | 12 |
| Octal | 4 | 7 | 130 | 137 | 134 | 0 | 101 | 356 | 133 | 22 |
| Binary | 100 | 111 | 1011000 | 1011111 | 1011100 | 0 | 1000001 | 11101110 | 1011011 | 10010 |
Color Harmonies of #040758
Complementary color
Monochromatic Colors of #040758
Black with #040758
Text Example
Text Example
White with #040758
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040758; }
p { color: rgb(4,7,88); }
H1.HeaderClassName
{
color: #040758;
}
.AnyTagClassName
{
color: #040758;
}
</style>
background-color css
<style>
a { background-color: #040758; }
a { background-color: rgb(4,7,88); }
div.DivClassName
{
background-color: #040758;
}
.BgClassName
{
background-color: #040758;
}
</style>
border-color css
<style>
span { border-color: #040758; }
span { border-color: rgb(4,7,88); }
td.TdClassName
{
border-color: #040758;
}
.TagClassName
{
border-color: #040758;
}
</style>