Shades of Midnight Blue #040752
Tints of Midnight Blue #040752
RGB
CMYK
RGB Variations
Color information
#040752 (or 0x040752) is known color: Midnight Blue. HEX triplet: 04, 07 and 52. RGB value is (4,7,82). Sum of RGB (Red+Green+Blue) = 4+7+82=93 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.30% from 93); Green value is 7 (3.12% from 255 or 7.53% from 93); Blue value is 82 (32.42% from 255 or 88.17% from 93); Max value from RGB is 82 - color contains mainly: blue. Hex color #040752 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040752 is #FBF8AD. Grayscale: #0E0E0E. Windows color (decimal): -16513198 or 5375748. OLE color: 5375748.
HSL color Cylindrical-coordinate representation of color #040752: hue angle of 237.69º degrees, saturation: 0.91, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040752 is Cyan = 0.95, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 7 | 82 | - |
| CMYK | 0.95 | 0.91 | 0 | 0.68 |
| HSL | 237.69º | 0.91% | 0.17% | - |
| HSV(B) | 237.69º | 0.95% | 0.32% | - |
| XYZ | 1.65 | 0.79 | 8.05 | - |
| YUV | 14.65 | 166.01 | 120.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 82 | 0.95 | 0.91 | 0 | 0.68 | 237.69 | 0.91 | 0.17 |
| Hex | 4 | 7 | 52 | 5F | 5B | 0 | 44 | EE | 5B | 11 |
| Octal | 4 | 7 | 122 | 137 | 133 | 0 | 104 | 356 | 133 | 21 |
| Binary | 100 | 111 | 1010010 | 1011111 | 1011011 | 0 | 1000100 | 11101110 | 1011011 | 10001 |
Color Harmonies of #040752
Complementary color
Monochromatic Colors of #040752
Black with #040752
Text Example
Text Example
White with #040752
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040752; }
p { color: rgb(4,7,82); }
H1.HeaderClassName
{
color: #040752;
}
.AnyTagClassName
{
color: #040752;
}
</style>
background-color css
<style>
a { background-color: #040752; }
a { background-color: rgb(4,7,82); }
div.DivClassName
{
background-color: #040752;
}
.BgClassName
{
background-color: #040752;
}
</style>
border-color css
<style>
span { border-color: #040752; }
span { border-color: rgb(4,7,82); }
td.TdClassName
{
border-color: #040752;
}
.TagClassName
{
border-color: #040752;
}
</style>