Shades of Midnight Blue #04024A
Tints of Midnight Blue #04024A
RGB
CMYK
RGB Variations
Color information
#04024A (or 0x04024A) is known color: Midnight Blue. HEX triplet: 04, 02 and 4A. RGB value is (4,2,74). Sum of RGB (Red+Green+Blue) = 4+2+74=80 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5% from 80); Green value is 2 (1.17% from 255 or 2.5% from 80); Blue value is 74 (29.30% from 255 or 92.5% from 80); Max value from RGB is 74 - color contains mainly: blue. Hex color #04024A is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #04024A is #FBFDB5. Grayscale: #0A0A0A. Windows color (decimal): -16514486 or 4850180. OLE color: 4850180.
HSL color Cylindrical-coordinate representation of color #04024A: hue angle of 241.67º degrees, saturation: 0.95, lightness: 0.15%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #04024A is Cyan = 0.95, Magento = 0.97, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 4 | 2 | 74 | - |
| CMYK | 0.95 | 0.97 | 0 | 0.71 |
| HSL | 241.67º | 0.95% | 0.15% | - |
| HSV(B) | 241.67º | 0.97% | 0.29% | - |
| XYZ | 1.31 | 0.56 | 6.52 | - |
| YUV | 10.81 | 163.66 | 123.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 74 | 0.95 | 0.97 | 0 | 0.71 | 241.67 | 0.95 | 0.15 |
| Hex | 4 | 2 | 4A | 5F | 61 | 0 | 47 | F2 | 5F | F |
| Octal | 4 | 2 | 112 | 137 | 141 | 0 | 107 | 362 | 137 | 17 |
| Binary | 100 | 10 | 1001010 | 1011111 | 1100001 | 0 | 1000111 | 11110010 | 1011111 | 1111 |
Color Harmonies of #04024A
Complementary color
Monochromatic Colors of #04024A
Black with #04024A
Text Example
Text Example
White with #04024A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #04024A; }
p { color: rgb(4,2,74); }
H1.HeaderClassName
{
color: #04024A;
}
.AnyTagClassName
{
color: #04024A;
}
</style>
background-color css
<style>
a { background-color: #04024A; }
a { background-color: rgb(4,2,74); }
div.DivClassName
{
background-color: #04024A;
}
.BgClassName
{
background-color: #04024A;
}
</style>
border-color css
<style>
span { border-color: #04024A; }
span { border-color: rgb(4,2,74); }
td.TdClassName
{
border-color: #04024A;
}
.TagClassName
{
border-color: #04024A;
}
</style>