Shades of Midnight Blue #040860
Tints of Midnight Blue #040860
RGB
CMYK
RGB Variations
Color information
#040860 (or 0x040860) is known color: Midnight Blue. HEX triplet: 04, 08 and 60. RGB value is (4,8,96). Sum of RGB (Red+Green+Blue) = 4+8+96=108 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.70% from 108); Green value is 8 (3.52% from 255 or 7.41% from 108); Blue value is 96 (37.89% from 255 or 88.89% from 108); Max value from RGB is 96 - color contains mainly: blue. Hex color #040860 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040860 is #FBF79F. Grayscale: #101010. Windows color (decimal): -16512928 or 6293508. OLE color: 6293508.
HSL color Cylindrical-coordinate representation of color #040860: hue angle of 237.39º 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 #040860 is Cyan = 0.96, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 4 | 8 | 96 | - |
| CMYK | 0.96 | 0.92 | 0 | 0.62 |
| HSL | 237.39º | 0.92% | 0.2% | - |
| HSV(B) | 237.39º | 0.96% | 0.38% | - |
| XYZ | 2.25 | 1.04 | 11.15 | - |
| YUV | 16.84 | 172.67 | 118.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 96 | 0.96 | 0.92 | 0 | 0.62 | 237.39 | 0.92 | 0.2 |
| Hex | 4 | 8 | 60 | 60 | 5C | 0 | 3E | ED | 5C | 14 |
| Octal | 4 | 10 | 140 | 140 | 134 | 0 | 76 | 355 | 134 | 24 |
| Binary | 100 | 1000 | 1100000 | 1100000 | 1011100 | 0 | 111110 | 11101101 | 1011100 | 10100 |
Color Harmonies of #040860
Complementary color
Monochromatic Colors of #040860
Black with #040860
Text Example
Text Example
White with #040860
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040860; }
p { color: rgb(4,8,96); }
H1.HeaderClassName
{
color: #040860;
}
.AnyTagClassName
{
color: #040860;
}
</style>
background-color css
<style>
a { background-color: #040860; }
a { background-color: rgb(4,8,96); }
div.DivClassName
{
background-color: #040860;
}
.BgClassName
{
background-color: #040860;
}
</style>
border-color css
<style>
span { border-color: #040860; }
span { border-color: rgb(4,8,96); }
td.TdClassName
{
border-color: #040860;
}
.TagClassName
{
border-color: #040860;
}
</style>