Shades of Midnight Blue #040762
Tints of Midnight Blue #040762
RGB
CMYK
RGB Variations
Color information
#040762 (or 0x040762) is known color: Midnight Blue. HEX triplet: 04, 07 and 62. RGB value is (4,7,98). Sum of RGB (Red+Green+Blue) = 4+7+98=109 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.67% from 109); Green value is 7 (3.12% from 255 or 6.42% from 109); Blue value is 98 (38.67% from 255 or 89.91% from 109); Max value from RGB is 98 - color contains mainly: blue. Hex color #040762 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040762 is #FBF89D. Grayscale: #101010. Windows color (decimal): -16513182 or 6424324. OLE color: 6424324.
HSL color Cylindrical-coordinate representation of color #040762: hue angle of 238.09º degrees, saturation: 0.92, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040762 is Cyan = 0.96, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 4 | 7 | 98 | - |
| CMYK | 0.96 | 0.93 | 0 | 0.62 |
| HSL | 238.09º | 0.92% | 0.2% | - |
| HSV(B) | 238.09º | 0.96% | 0.38% | - |
| XYZ | 2.33 | 1.06 | 11.64 | - |
| YUV | 16.48 | 174.01 | 119.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 98 | 0.96 | 0.93 | 0 | 0.62 | 238.09 | 0.92 | 0.2 |
| Hex | 4 | 7 | 62 | 60 | 5D | 0 | 3E | EE | 5C | 14 |
| Octal | 4 | 7 | 142 | 140 | 135 | 0 | 76 | 356 | 134 | 24 |
| Binary | 100 | 111 | 1100010 | 1100000 | 1011101 | 0 | 111110 | 11101110 | 1011100 | 10100 |
Color Harmonies of #040762
Complementary color
Monochromatic Colors of #040762
Black with #040762
Text Example
Text Example
White with #040762
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040762; }
p { color: rgb(4,7,98); }
H1.HeaderClassName
{
color: #040762;
}
.AnyTagClassName
{
color: #040762;
}
</style>
background-color css
<style>
a { background-color: #040762; }
a { background-color: rgb(4,7,98); }
div.DivClassName
{
background-color: #040762;
}
.BgClassName
{
background-color: #040762;
}
</style>
border-color css
<style>
span { border-color: #040762; }
span { border-color: rgb(4,7,98); }
td.TdClassName
{
border-color: #040762;
}
.TagClassName
{
border-color: #040762;
}
</style>