Shades of Midnight Blue #040851
Tints of Midnight Blue #040851
RGB
CMYK
RGB Variations
Color information
#040851 (or 0x040851) is known color: Midnight Blue. HEX triplet: 04, 08 and 51. RGB value is (4,8,81). Sum of RGB (Red+Green+Blue) = 4+8+81=93 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.30% from 93); Green value is 8 (3.52% from 255 or 8.60% from 93); Blue value is 81 (32.03% from 255 or 87.10% from 93); Max value from RGB is 81 - color contains mainly: blue. Hex color #040851 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040851 is #FBF7AE. Grayscale: #0E0E0E. Windows color (decimal): -16512943 or 5310468. OLE color: 5310468.
HSL color Cylindrical-coordinate representation of color #040851: hue angle of 236.88º degrees, saturation: 0.91, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040851 is Cyan = 0.95, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 8 | 81 | - |
| CMYK | 0.95 | 0.90 | 0 | 0.68 |
| HSL | 236.88º | 0.91% | 0.17% | - |
| HSV(B) | 236.88º | 0.95% | 0.32% | - |
| XYZ | 1.62 | 0.79 | 7.85 | - |
| YUV | 15.13 | 165.17 | 120.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 81 | 0.95 | 0.90 | 0 | 0.68 | 236.88 | 0.91 | 0.17 |
| Hex | 4 | 8 | 51 | 5F | 5A | 0 | 44 | ED | 5B | 11 |
| Octal | 4 | 10 | 121 | 137 | 132 | 0 | 104 | 355 | 133 | 21 |
| Binary | 100 | 1000 | 1010001 | 1011111 | 1011010 | 0 | 1000100 | 11101101 | 1011011 | 10001 |
Color Harmonies of #040851
Complementary color
Monochromatic Colors of #040851
Black with #040851
Text Example
Text Example
White with #040851
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040851; }
p { color: rgb(4,8,81); }
H1.HeaderClassName
{
color: #040851;
}
.AnyTagClassName
{
color: #040851;
}
</style>
background-color css
<style>
a { background-color: #040851; }
a { background-color: rgb(4,8,81); }
div.DivClassName
{
background-color: #040851;
}
.BgClassName
{
background-color: #040851;
}
</style>
border-color css
<style>
span { border-color: #040851; }
span { border-color: rgb(4,8,81); }
td.TdClassName
{
border-color: #040851;
}
.TagClassName
{
border-color: #040851;
}
</style>