Shades of Midnight Blue #040155
Tints of Midnight Blue #040155
RGB
CMYK
RGB Variations
Color information
#040155 (or 0x040155) is known color: Midnight Blue. HEX triplet: 04, 01 and 55. RGB value is (4,1,85). Sum of RGB (Red+Green+Blue) = 4+1+85=90 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.44% from 90); Green value is 1 (0.78% from 255 or 1.11% from 90); Blue value is 85 (33.59% from 255 or 94.44% from 90); Max value from RGB is 85 - color contains mainly: blue. Hex color #040155 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040155 is #FBFEAA. Grayscale: #0B0B0B. Windows color (decimal): -16514731 or 5570820. OLE color: 5570820.
HSL color Cylindrical-coordinate representation of color #040155: hue angle of 242.14º degrees, saturation: 0.98, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.33% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040155 is Cyan = 0.95, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.67.
Color convert
| RGB | 4 | 1 | 85 | - |
| CMYK | 0.95 | 0.99 | 0 | 0.67 |
| HSL | 242.14º | 0.98% | 0.17% | - |
| HSV(B) | 242.14º | 0.99% | 0.33% | - |
| XYZ | 1.7 | 0.7 | 8.64 | - |
| YUV | 11.47 | 169.49 | 122.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 1 | 85 | 0.95 | 0.99 | 0 | 0.67 | 242.14 | 0.98 | 0.17 |
| Hex | 4 | 1 | 55 | 5F | 63 | 0 | 43 | F2 | 62 | 11 |
| Octal | 4 | 1 | 125 | 137 | 143 | 0 | 103 | 362 | 142 | 21 |
| Binary | 100 | 1 | 1010101 | 1011111 | 1100011 | 0 | 1000011 | 11110010 | 1100010 | 10001 |
Color Harmonies of #040155
Complementary color
Monochromatic Colors of #040155
Black with #040155
Text Example
Text Example
White with #040155
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040155; }
p { color: rgb(4,1,85); }
H1.HeaderClassName
{
color: #040155;
}
.AnyTagClassName
{
color: #040155;
}
</style>
background-color css
<style>
a { background-color: #040155; }
a { background-color: rgb(4,1,85); }
div.DivClassName
{
background-color: #040155;
}
.BgClassName
{
background-color: #040155;
}
</style>
border-color css
<style>
span { border-color: #040155; }
span { border-color: rgb(4,1,85); }
td.TdClassName
{
border-color: #040155;
}
.TagClassName
{
border-color: #040155;
}
</style>