Shades of Midnight Blue #040156
Tints of Midnight Blue #040156
RGB
CMYK
RGB Variations
Color information
#040156 (or 0x040156) is known color: Midnight Blue. HEX triplet: 04, 01 and 56. RGB value is (4,1,86). Sum of RGB (Red+Green+Blue) = 4+1+86=91 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.40% from 91); Green value is 1 (0.78% from 255 or 1.10% from 91); Blue value is 86 (33.98% from 255 or 94.51% from 91); Max value from RGB is 86 - color contains mainly: blue. Hex color #040156 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040156 is #FBFEA9. Grayscale: #0B0B0B. Windows color (decimal): -16514730 or 5636356. OLE color: 5636356.
HSL color Cylindrical-coordinate representation of color #040156: hue angle of 242.12º degrees, saturation: 0.98, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040156 is Cyan = 0.95, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 1 | 86 | - |
| CMYK | 0.95 | 0.99 | 0 | 0.66 |
| HSL | 242.12º | 0.98% | 0.17% | - |
| HSV(B) | 242.12º | 0.99% | 0.34% | - |
| XYZ | 1.74 | 0.72 | 8.85 | - |
| YUV | 11.59 | 169.99 | 122.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 1 | 86 | 0.95 | 0.99 | 0 | 0.66 | 242.12 | 0.98 | 0.17 |
| Hex | 4 | 1 | 56 | 5F | 63 | 0 | 42 | F2 | 62 | 11 |
| Octal | 4 | 1 | 126 | 137 | 143 | 0 | 102 | 362 | 142 | 21 |
| Binary | 100 | 1 | 1010110 | 1011111 | 1100011 | 0 | 1000010 | 11110010 | 1100010 | 10001 |
Color Harmonies of #040156
Complementary color
Monochromatic Colors of #040156
Black with #040156
Text Example
Text Example
White with #040156
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040156; }
p { color: rgb(4,1,86); }
H1.HeaderClassName
{
color: #040156;
}
.AnyTagClassName
{
color: #040156;
}
</style>
background-color css
<style>
a { background-color: #040156; }
a { background-color: rgb(4,1,86); }
div.DivClassName
{
background-color: #040156;
}
.BgClassName
{
background-color: #040156;
}
</style>
border-color css
<style>
span { border-color: #040156; }
span { border-color: rgb(4,1,86); }
td.TdClassName
{
border-color: #040156;
}
.TagClassName
{
border-color: #040156;
}
</style>