Shades of Midnight Blue #040252
Tints of Midnight Blue #040252
RGB
CMYK
RGB Variations
Color information
#040252 (or 0x040252) is known color: Midnight Blue. HEX triplet: 04, 02 and 52. RGB value is (4,2,82). Sum of RGB (Red+Green+Blue) = 4+2+82=88 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.55% from 88); Green value is 2 (1.17% from 255 or 2.27% from 88); Blue value is 82 (32.42% from 255 or 93.18% from 88); Max value from RGB is 82 - color contains mainly: blue. Hex color #040252 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040252 is #FBFDAD. Grayscale: #0B0B0B. Windows color (decimal): -16514478 or 5374468. OLE color: 5374468.
HSL color Cylindrical-coordinate representation of color #040252: hue angle of 241.5º degrees, saturation: 0.95, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040252 is Cyan = 0.95, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 2 | 82 | - |
| CMYK | 0.95 | 0.98 | 0 | 0.68 |
| HSL | 241.5º | 0.95% | 0.16% | - |
| HSV(B) | 241.5º | 0.98% | 0.32% | - |
| XYZ | 1.59 | 0.68 | 8.03 | - |
| YUV | 11.72 | 167.66 | 122.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 82 | 0.95 | 0.98 | 0 | 0.68 | 241.5 | 0.95 | 0.16 |
| Hex | 4 | 2 | 52 | 5F | 62 | 0 | 44 | F2 | 5F | 10 |
| Octal | 4 | 2 | 122 | 137 | 142 | 0 | 104 | 362 | 137 | 20 |
| Binary | 100 | 10 | 1010010 | 1011111 | 1100010 | 0 | 1000100 | 11110010 | 1011111 | 10000 |
Color Harmonies of #040252
Complementary color
Monochromatic Colors of #040252
Black with #040252
Text Example
Text Example
White with #040252
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040252; }
p { color: rgb(4,2,82); }
H1.HeaderClassName
{
color: #040252;
}
.AnyTagClassName
{
color: #040252;
}
</style>
background-color css
<style>
a { background-color: #040252; }
a { background-color: rgb(4,2,82); }
div.DivClassName
{
background-color: #040252;
}
.BgClassName
{
background-color: #040252;
}
</style>
border-color css
<style>
span { border-color: #040252; }
span { border-color: rgb(4,2,82); }
td.TdClassName
{
border-color: #040252;
}
.TagClassName
{
border-color: #040252;
}
</style>