Shades of Midnight Blue #040F6C
Tints of Midnight Blue #040F6C
RGB
CMYK
RGB Variations
Color information
#040F6C (or 0x040F6C) is known color: Midnight Blue. HEX triplet: 04, 0F and 6C. RGB value is (4,15,108). Sum of RGB (Red+Green+Blue) = 4+15+108=127 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.15% from 127); Green value is 15 (6.25% from 255 or 11.81% from 127); Blue value is 108 (42.58% from 255 or 85.04% from 127); Max value from RGB is 108 - color contains mainly: blue. Hex color #040F6C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F6C is #FBF093. Grayscale: #151515. Windows color (decimal): -16511124 or 7081732. OLE color: 7081732.
HSL color Cylindrical-coordinate representation of color #040F6C: hue angle of 233.65º degrees, saturation: 0.93, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040F6C is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 4 | 15 | 108 | - |
| CMYK | 0.96 | 0.86 | 0 | 0.58 |
| HSL | 233.65º | 0.93% | 0.22% | - |
| HSV(B) | 233.65º | 0.96% | 0.42% | - |
| XYZ | 2.93 | 1.45 | 14.31 | - |
| YUV | 22.31 | 176.36 | 114.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 108 | 0.96 | 0.86 | 0 | 0.58 | 233.65 | 0.93 | 0.22 |
| Hex | 4 | F | 6C | 60 | 56 | 0 | 3A | EA | 5D | 16 |
| Octal | 4 | 17 | 154 | 140 | 126 | 0 | 72 | 352 | 135 | 26 |
| Binary | 100 | 1111 | 1101100 | 1100000 | 1010110 | 0 | 111010 | 11101010 | 1011101 | 10110 |
Color Harmonies of #040F6C
Complementary color
Monochromatic Colors of #040F6C
Black with #040F6C
Text Example
Text Example
White with #040F6C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F6C; }
p { color: rgb(4,15,108); }
H1.HeaderClassName
{
color: #040F6C;
}
.AnyTagClassName
{
color: #040F6C;
}
</style>
background-color css
<style>
a { background-color: #040F6C; }
a { background-color: rgb(4,15,108); }
div.DivClassName
{
background-color: #040F6C;
}
.BgClassName
{
background-color: #040F6C;
}
</style>
border-color css
<style>
span { border-color: #040F6C; }
span { border-color: rgb(4,15,108); }
td.TdClassName
{
border-color: #040F6C;
}
.TagClassName
{
border-color: #040F6C;
}
</style>