Shades of Midnight Blue #040150
Tints of Midnight Blue #040150
RGB
CMYK
RGB Variations
Color information
#040150 (or 0x040150) is known color: Midnight Blue. HEX triplet: 04, 01 and 50. RGB value is (4,1,80). Sum of RGB (Red+Green+Blue) = 4+1+80=85 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.71% from 85); Green value is 1 (0.78% from 255 or 1.18% from 85); Blue value is 80 (31.64% from 255 or 94.12% from 85); Max value from RGB is 80 - color contains mainly: blue. Hex color #040150 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040150 is #FBFEAF. Grayscale: #0A0A0A. Windows color (decimal): -16514736 or 5243140. OLE color: 5243140.
HSL color Cylindrical-coordinate representation of color #040150: hue angle of 242.28º degrees, saturation: 0.98, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040150 is Cyan = 0.95, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 4 | 1 | 80 | - |
| CMYK | 0.95 | 0.99 | 0 | 0.69 |
| HSL | 242.28º | 0.98% | 0.16% | - |
| HSV(B) | 242.28º | 0.99% | 0.31% | - |
| XYZ | 1.51 | 0.63 | 7.63 | - |
| YUV | 10.9 | 166.99 | 123.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 1 | 80 | 0.95 | 0.99 | 0 | 0.69 | 242.28 | 0.98 | 0.16 |
| Hex | 4 | 1 | 50 | 5F | 63 | 0 | 45 | F2 | 62 | 10 |
| Octal | 4 | 1 | 120 | 137 | 143 | 0 | 105 | 362 | 142 | 20 |
| Binary | 100 | 1 | 1010000 | 1011111 | 1100011 | 0 | 1000101 | 11110010 | 1100010 | 10000 |
Color Harmonies of #040150
Complementary color
Monochromatic Colors of #040150
Black with #040150
Text Example
Text Example
White with #040150
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040150; }
p { color: rgb(4,1,80); }
H1.HeaderClassName
{
color: #040150;
}
.AnyTagClassName
{
color: #040150;
}
</style>
background-color css
<style>
a { background-color: #040150; }
a { background-color: rgb(4,1,80); }
div.DivClassName
{
background-color: #040150;
}
.BgClassName
{
background-color: #040150;
}
</style>
border-color css
<style>
span { border-color: #040150; }
span { border-color: rgb(4,1,80); }
td.TdClassName
{
border-color: #040150;
}
.TagClassName
{
border-color: #040150;
}
</style>