Shades of Midnight Blue #040148
Tints of Midnight Blue #040148
RGB
CMYK
RGB Variations
Color information
#040148 (or 0x040148) is known color: Midnight Blue. HEX triplet: 04, 01 and 48. RGB value is (4,1,72). Sum of RGB (Red+Green+Blue) = 4+1+72=77 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.19% from 77); Green value is 1 (0.78% from 255 or 1.30% from 77); Blue value is 72 (28.52% from 255 or 93.51% from 77); Max value from RGB is 72 - color contains mainly: blue. Hex color #040148 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040148 is #FBFEB7. Grayscale: #090909. Windows color (decimal): -16514744 or 4718852. OLE color: 4718852.
HSL color Cylindrical-coordinate representation of color #040148: hue angle of 242.54º degrees, saturation: 0.97, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040148 is Cyan = 0.94, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 4 | 1 | 72 | - |
| CMYK | 0.94 | 0.99 | 0 | 0.72 |
| HSL | 242.54º | 0.97% | 0.14% | - |
| HSV(B) | 242.54º | 0.99% | 0.28% | - |
| XYZ | 1.23 | 0.52 | 6.17 | - |
| YUV | 9.99 | 162.99 | 123.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 1 | 72 | 0.94 | 0.99 | 0 | 0.72 | 242.54 | 0.97 | 0.14 |
| Hex | 4 | 1 | 48 | 5E | 63 | 0 | 48 | F3 | 61 | E |
| Octal | 4 | 1 | 110 | 136 | 143 | 0 | 110 | 363 | 141 | 16 |
| Binary | 100 | 1 | 1001000 | 1011110 | 1100011 | 0 | 1001000 | 11110011 | 1100001 | 1110 |
Color Harmonies of #040148
Complementary color
Monochromatic Colors of #040148
Black with #040148
Text Example
Text Example
White with #040148
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040148; }
p { color: rgb(4,1,72); }
H1.HeaderClassName
{
color: #040148;
}
.AnyTagClassName
{
color: #040148;
}
</style>
background-color css
<style>
a { background-color: #040148; }
a { background-color: rgb(4,1,72); }
div.DivClassName
{
background-color: #040148;
}
.BgClassName
{
background-color: #040148;
}
</style>
border-color css
<style>
span { border-color: #040148; }
span { border-color: rgb(4,1,72); }
td.TdClassName
{
border-color: #040148;
}
.TagClassName
{
border-color: #040148;
}
</style>