Shades of Midnight Blue #040C64
Tints of Midnight Blue #040C64
RGB
CMYK
RGB Variations
Color information
#040C64 (or 0x040C64) is known color: Midnight Blue. HEX triplet: 04, 0C and 64. RGB value is (4,12,100). Sum of RGB (Red+Green+Blue) = 4+12+100=116 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.45% from 116); Green value is 12 (5.08% from 255 or 10.34% from 116); Blue value is 100 (39.45% from 255 or 86.21% from 116); Max value from RGB is 100 - color contains mainly: blue. Hex color #040C64 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C64 is #FBF39B. Grayscale: #131313. Windows color (decimal): -16511900 or 6556676. OLE color: 6556676.
HSL color Cylindrical-coordinate representation of color #040C64: hue angle of 235º degrees, saturation: 0.92, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.39% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C64 is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.61.
Color convert
| RGB | 4 | 12 | 100 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.61 |
| HSL | 235º | 0.92% | 0.2% | - |
| HSV(B) | 235º | 0.96% | 0.39% | - |
| XYZ | 2.48 | 1.21 | 12.16 | - |
| YUV | 19.64 | 173.35 | 116.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 100 | 0.96 | 0.88 | 0 | 0.61 | 235 | 0.92 | 0.2 |
| Hex | 4 | C | 64 | 60 | 58 | 0 | 3D | EB | 5C | 14 |
| Octal | 4 | 14 | 144 | 140 | 130 | 0 | 75 | 353 | 134 | 24 |
| Binary | 100 | 1100 | 1100100 | 1100000 | 1011000 | 0 | 111101 | 11101011 | 1011100 | 10100 |
Color Harmonies of #040C64
Complementary color
Monochromatic Colors of #040C64
Black with #040C64
Text Example
Text Example
White with #040C64
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C64; }
p { color: rgb(4,12,100); }
H1.HeaderClassName
{
color: #040C64;
}
.AnyTagClassName
{
color: #040C64;
}
</style>
background-color css
<style>
a { background-color: #040C64; }
a { background-color: rgb(4,12,100); }
div.DivClassName
{
background-color: #040C64;
}
.BgClassName
{
background-color: #040C64;
}
</style>
border-color css
<style>
span { border-color: #040C64; }
span { border-color: rgb(4,12,100); }
td.TdClassName
{
border-color: #040C64;
}
.TagClassName
{
border-color: #040C64;
}
</style>