Shades of Midnight Blue #040A66
Tints of Midnight Blue #040A66
RGB
CMYK
RGB Variations
Color information
#040A66 (or 0x040A66) is known color: Midnight Blue. HEX triplet: 04, 0A and 66. RGB value is (4,10,102). Sum of RGB (Red+Green+Blue) = 4+10+102=116 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.45% from 116); Green value is 10 (4.30% from 255 or 8.62% from 116); Blue value is 102 (40.23% from 255 or 87.93% from 116); Max value from RGB is 102 - color contains mainly: blue. Hex color #040A66 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040A66 is #FBF599. Grayscale: #121212. Windows color (decimal): -16512410 or 6687236. OLE color: 6687236.
HSL color Cylindrical-coordinate representation of color #040A66: hue angle of 236.33º 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 #040A66 is Cyan = 0.96, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 4 | 10 | 102 | - |
| CMYK | 0.96 | 0.90 | 0 | 0.6 |
| HSL | 236.33º | 0.92% | 0.21% | - |
| HSV(B) | 236.33º | 0.96% | 0.4% | - |
| XYZ | 2.56 | 1.2 | 12.67 | - |
| YUV | 18.69 | 175.01 | 117.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 10 | 102 | 0.96 | 0.90 | 0 | 0.6 | 236.33 | 0.92 | 0.21 |
| Hex | 4 | A | 66 | 60 | 5A | 0 | 3C | EC | 5C | 15 |
| Octal | 4 | 12 | 146 | 140 | 132 | 0 | 74 | 354 | 134 | 25 |
| Binary | 100 | 1010 | 1100110 | 1100000 | 1011010 | 0 | 111100 | 11101100 | 1011100 | 10101 |
Color Harmonies of #040A66
Complementary color
Monochromatic Colors of #040A66
Black with #040A66
Text Example
Text Example
White with #040A66
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040A66; }
p { color: rgb(4,10,102); }
H1.HeaderClassName
{
color: #040A66;
}
.AnyTagClassName
{
color: #040A66;
}
</style>
background-color css
<style>
a { background-color: #040A66; }
a { background-color: rgb(4,10,102); }
div.DivClassName
{
background-color: #040A66;
}
.BgClassName
{
background-color: #040A66;
}
</style>
border-color css
<style>
span { border-color: #040A66; }
span { border-color: rgb(4,10,102); }
td.TdClassName
{
border-color: #040A66;
}
.TagClassName
{
border-color: #040A66;
}
</style>