Shades of Midnight Blue #040046
Tints of Midnight Blue #040046
RGB
CMYK
RGB Variations
Color information
#040046 (or 0x040046) is known color: Midnight Blue. HEX triplet: 04, 00 and 46. RGB value is (4,0,70). Sum of RGB (Red+Green+Blue) = 4+0+70=74 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.41% from 74); Green value is 0 (0.39% from 255 or 0% from 74); Blue value is 70 (27.73% from 255 or 94.59% from 74); Max value from RGB is 70 - color contains mainly: blue. Hex color #040046 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040046 is #FBFFB9. Grayscale: #080808. Windows color (decimal): -16515002 or 4587524. OLE color: 4587524.
HSL color Cylindrical-coordinate representation of color #040046: hue angle of 243.43º degrees, saturation: 1, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040046 is Cyan = 0.94, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 4 | 0 | 70 | - |
| CMYK | 0.94 | 1 | 0 | 0.73 |
| HSL | 243.43º | 1% | 0.14% | - |
| HSV(B) | 243.43º | 1% | 0.27% | - |
| XYZ | 1.16 | 0.47 | 5.82 | - |
| YUV | 9.18 | 162.33 | 124.31 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 70 | 0.94 | 1 | 0 | 0.73 | 243.43 | 1 | 0.14 |
| Hex | 4 | 0 | 46 | 5E | 64 | 0 | 49 | F3 | 64 | E |
| Octal | 4 | 0 | 106 | 136 | 144 | 0 | 111 | 363 | 144 | 16 |
| Binary | 100 | 0 | 1000110 | 1011110 | 1100100 | 0 | 1001001 | 11110011 | 1100100 | 1110 |
Color Harmonies of #040046
Complementary color
Monochromatic Colors of #040046
Black with #040046
Text Example
Text Example
White with #040046
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040046; }
p { color: rgb(4,0,70); }
H1.HeaderClassName
{
color: #040046;
}
.AnyTagClassName
{
color: #040046;
}
</style>
background-color css
<style>
a { background-color: #040046; }
a { background-color: rgb(4,0,70); }
div.DivClassName
{
background-color: #040046;
}
.BgClassName
{
background-color: #040046;
}
</style>
border-color css
<style>
span { border-color: #040046; }
span { border-color: rgb(4,0,70); }
td.TdClassName
{
border-color: #040046;
}
.TagClassName
{
border-color: #040046;
}
</style>