Shades of Midnight Blue #040456
Tints of Midnight Blue #040456
RGB
CMYK
RGB Variations
Color information
#040456 (or 0x040456) is known color: Midnight Blue. HEX triplet: 04, 04 and 56. RGB value is (4,4,86). Sum of RGB (Red+Green+Blue) = 4+4+86=94 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.26% from 94); Green value is 4 (1.95% from 255 or 4.26% from 94); Blue value is 86 (33.98% from 255 or 91.49% from 94); Max value from RGB is 86 - color contains mainly: blue. Hex color #040456 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040456 is #FBFBA9. Grayscale: #0D0D0D. Windows color (decimal): -16513962 or 5637124. OLE color: 5637124.
HSL color Cylindrical-coordinate representation of color #040456: hue angle of 240º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040456 is Cyan = 0.95, Magento = 0.95, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 4 | 86 | - |
| CMYK | 0.95 | 0.95 | 0 | 0.66 |
| HSL | 240º | 0.91% | 0.18% | - |
| HSV(B) | 240º | 0.95% | 0.34% | - |
| XYZ | 1.77 | 0.78 | 8.86 | - |
| YUV | 13.35 | 169 | 121.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 4 | 86 | 0.95 | 0.95 | 0 | 0.66 | 240 | 0.91 | 0.18 |
| Hex | 4 | 4 | 56 | 5F | 5F | 0 | 42 | F0 | 5B | 12 |
| Octal | 4 | 4 | 126 | 137 | 137 | 0 | 102 | 360 | 133 | 22 |
| Binary | 100 | 100 | 1010110 | 1011111 | 1011111 | 0 | 1000010 | 11110000 | 1011011 | 10010 |
Color Harmonies of #040456
Complementary color
Monochromatic Colors of #040456
Black with #040456
Text Example
Text Example
White with #040456
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040456; }
p { color: rgb(4,4,86); }
H1.HeaderClassName
{
color: #040456;
}
.AnyTagClassName
{
color: #040456;
}
</style>
background-color css
<style>
a { background-color: #040456; }
a { background-color: rgb(4,4,86); }
div.DivClassName
{
background-color: #040456;
}
.BgClassName
{
background-color: #040456;
}
</style>
border-color css
<style>
span { border-color: #040456; }
span { border-color: rgb(4,4,86); }
td.TdClassName
{
border-color: #040456;
}
.TagClassName
{
border-color: #040456;
}
</style>