Shades of Midnight Blue #040151
Tints of Midnight Blue #040151
RGB
CMYK
RGB Variations
Color information
#040151 (or 0x040151) is known color: Midnight Blue. HEX triplet: 04, 01 and 51. RGB value is (4,1,81). Sum of RGB (Red+Green+Blue) = 4+1+81=86 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.65% from 86); Green value is 1 (0.78% from 255 or 1.16% from 86); Blue value is 81 (32.03% from 255 or 94.19% from 86); Max value from RGB is 81 - color contains mainly: blue. Hex color #040151 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040151 is #FBFEAE. Grayscale: #0A0A0A. Windows color (decimal): -16514735 or 5308676. OLE color: 5308676.
HSL color Cylindrical-coordinate representation of color #040151: hue angle of 242.25º degrees, saturation: 0.98, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040151 is Cyan = 0.95, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 1 | 81 | - |
| CMYK | 0.95 | 0.99 | 0 | 0.68 |
| HSL | 242.25º | 0.98% | 0.16% | - |
| HSV(B) | 242.25º | 0.99% | 0.32% | - |
| XYZ | 1.55 | 0.64 | 7.83 | - |
| YUV | 11.02 | 167.49 | 123 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 1 | 81 | 0.95 | 0.99 | 0 | 0.68 | 242.25 | 0.98 | 0.16 |
| Hex | 4 | 1 | 51 | 5F | 63 | 0 | 44 | F2 | 62 | 10 |
| Octal | 4 | 1 | 121 | 137 | 143 | 0 | 104 | 362 | 142 | 20 |
| Binary | 100 | 1 | 1010001 | 1011111 | 1100011 | 0 | 1000100 | 11110010 | 1100010 | 10000 |
Color Harmonies of #040151
Complementary color
Monochromatic Colors of #040151
Black with #040151
Text Example
Text Example
White with #040151
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040151; }
p { color: rgb(4,1,81); }
H1.HeaderClassName
{
color: #040151;
}
.AnyTagClassName
{
color: #040151;
}
</style>
background-color css
<style>
a { background-color: #040151; }
a { background-color: rgb(4,1,81); }
div.DivClassName
{
background-color: #040151;
}
.BgClassName
{
background-color: #040151;
}
</style>
border-color css
<style>
span { border-color: #040151; }
span { border-color: rgb(4,1,81); }
td.TdClassName
{
border-color: #040151;
}
.TagClassName
{
border-color: #040151;
}
</style>