Shades of Midnight Blue #040C5C
Tints of Midnight Blue #040C5C
RGB
CMYK
RGB Variations
Color information
#040C5C (or 0x040C5C) is known color: Midnight Blue. HEX triplet: 04, 0C and 5C. RGB value is (4,12,92). Sum of RGB (Red+Green+Blue) = 4+12+92=108 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.70% from 108); Green value is 12 (5.08% from 255 or 11.11% from 108); Blue value is 92 (36.33% from 255 or 85.19% from 108); Max value from RGB is 92 - color contains mainly: blue. Hex color #040C5C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C5C is #FBF3A3. Grayscale: #121212. Windows color (decimal): -16511908 or 6032388. OLE color: 6032388.
HSL color Cylindrical-coordinate representation of color #040C5C: hue angle of 234.55º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.36% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C5C is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.64.
Color convert
| RGB | 4 | 12 | 92 | - |
| CMYK | 0.96 | 0.87 | 0 | 0.64 |
| HSL | 234.55º | 0.92% | 0.19% | - |
| HSV(B) | 234.55º | 0.96% | 0.36% | - |
| XYZ | 2.11 | 1.06 | 10.22 | - |
| YUV | 18.73 | 169.35 | 117.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 92 | 0.96 | 0.87 | 0 | 0.64 | 234.55 | 0.92 | 0.19 |
| Hex | 4 | C | 5C | 60 | 57 | 0 | 40 | EB | 5C | 13 |
| Octal | 4 | 14 | 134 | 140 | 127 | 0 | 100 | 353 | 134 | 23 |
| Binary | 100 | 1100 | 1011100 | 1100000 | 1010111 | 0 | 1000000 | 11101011 | 1011100 | 10011 |
Color Harmonies of #040C5C
Complementary color
Monochromatic Colors of #040C5C
Black with #040C5C
Text Example
Text Example
White with #040C5C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C5C; }
p { color: rgb(4,12,92); }
H1.HeaderClassName
{
color: #040C5C;
}
.AnyTagClassName
{
color: #040C5C;
}
</style>
background-color css
<style>
a { background-color: #040C5C; }
a { background-color: rgb(4,12,92); }
div.DivClassName
{
background-color: #040C5C;
}
.BgClassName
{
background-color: #040C5C;
}
</style>
border-color css
<style>
span { border-color: #040C5C; }
span { border-color: rgb(4,12,92); }
td.TdClassName
{
border-color: #040C5C;
}
.TagClassName
{
border-color: #040C5C;
}
</style>