Shades of Midnight Blue #040E66
Tints of Midnight Blue #040E66
RGB
CMYK
RGB Variations
Color information
#040E66 (or 0x040E66) is known color: Midnight Blue. HEX triplet: 04, 0E and 66. RGB value is (4,14,102). Sum of RGB (Red+Green+Blue) = 4+14+102=120 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.33% from 120); Green value is 14 (5.86% from 255 or 11.67% from 120); Blue value is 102 (40.23% from 255 or 85% from 120); Max value from RGB is 102 - color contains mainly: blue. Hex color #040E66 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040E66 is #FBF199. Grayscale: #141414. Windows color (decimal): -16511386 or 6688260. OLE color: 6688260.
HSL color Cylindrical-coordinate representation of color #040E66: hue angle of 233.88º degrees, saturation: 0.92, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040E66 is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 4 | 14 | 102 | - |
| CMYK | 0.96 | 0.86 | 0 | 0.6 |
| HSL | 233.88º | 0.92% | 0.21% | - |
| HSV(B) | 233.88º | 0.96% | 0.4% | - |
| XYZ | 2.61 | 1.3 | 12.68 | - |
| YUV | 21.04 | 173.69 | 115.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 14 | 102 | 0.96 | 0.86 | 0 | 0.6 | 233.88 | 0.92 | 0.21 |
| Hex | 4 | E | 66 | 60 | 56 | 0 | 3C | EA | 5C | 15 |
| Octal | 4 | 16 | 146 | 140 | 126 | 0 | 74 | 352 | 134 | 25 |
| Binary | 100 | 1110 | 1100110 | 1100000 | 1010110 | 0 | 111100 | 11101010 | 1011100 | 10101 |
Color Harmonies of #040E66
Complementary color
Monochromatic Colors of #040E66
Black with #040E66
Text Example
Text Example
White with #040E66
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040E66; }
p { color: rgb(4,14,102); }
H1.HeaderClassName
{
color: #040E66;
}
.AnyTagClassName
{
color: #040E66;
}
</style>
background-color css
<style>
a { background-color: #040E66; }
a { background-color: rgb(4,14,102); }
div.DivClassName
{
background-color: #040E66;
}
.BgClassName
{
background-color: #040E66;
}
</style>
border-color css
<style>
span { border-color: #040E66; }
span { border-color: rgb(4,14,102); }
td.TdClassName
{
border-color: #040E66;
}
.TagClassName
{
border-color: #040E66;
}
</style>