Shades of Midnight Blue #040052
Tints of Midnight Blue #040052
RGB
CMYK
RGB Variations
Color information
#040052 (or 0x040052) is known color: Midnight Blue. HEX triplet: 04, 00 and 52. RGB value is (4,0,82). Sum of RGB (Red+Green+Blue) = 4+0+82=86 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.65% from 86); Green value is 0 (0.39% from 255 or 0% from 86); Blue value is 82 (32.42% from 255 or 95.35% from 86); Max value from RGB is 82 - color contains mainly: blue. Hex color #040052 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040052 is #FBFFAD. Grayscale: #0A0A0A. Windows color (decimal): -16514990 or 5373956. OLE color: 5373956.
HSL color Cylindrical-coordinate representation of color #040052: hue angle of 242.93º degrees, saturation: 1, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040052 is Cyan = 0.95, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 0 | 82 | - |
| CMYK | 0.95 | 1 | 0 | 0.68 |
| HSL | 242.93º | 1% | 0.16% | - |
| HSV(B) | 242.93º | 1% | 0.32% | - |
| XYZ | 1.57 | 0.64 | 8.02 | - |
| YUV | 10.54 | 168.33 | 123.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 82 | 0.95 | 1 | 0 | 0.68 | 242.93 | 1 | 0.16 |
| Hex | 4 | 0 | 52 | 5F | 64 | 0 | 44 | F3 | 64 | 10 |
| Octal | 4 | 0 | 122 | 137 | 144 | 0 | 104 | 363 | 144 | 20 |
| Binary | 100 | 0 | 1010010 | 1011111 | 1100100 | 0 | 1000100 | 11110011 | 1100100 | 10000 |
Color Harmonies of #040052
Complementary color
Monochromatic Colors of #040052
Black with #040052
Text Example
Text Example
White with #040052
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040052; }
p { color: rgb(4,0,82); }
H1.HeaderClassName
{
color: #040052;
}
.AnyTagClassName
{
color: #040052;
}
</style>
background-color css
<style>
a { background-color: #040052; }
a { background-color: rgb(4,0,82); }
div.DivClassName
{
background-color: #040052;
}
.BgClassName
{
background-color: #040052;
}
</style>
border-color css
<style>
span { border-color: #040052; }
span { border-color: rgb(4,0,82); }
td.TdClassName
{
border-color: #040052;
}
.TagClassName
{
border-color: #040052;
}
</style>