Shades of Midnight Blue #040F6E
Tints of Midnight Blue #040F6E
RGB
CMYK
RGB Variations
Color information
#040F6E (or 0x040F6E) is known color: Midnight Blue. HEX triplet: 04, 0F and 6E. RGB value is (4,15,110). Sum of RGB (Red+Green+Blue) = 4+15+110=129 (17% of max value = 765). Red value is 4 (1.95% from 255 or 3.10% from 129); Green value is 15 (6.25% from 255 or 11.63% from 129); Blue value is 110 (43.36% from 255 or 85.27% from 129); Max value from RGB is 110 - color contains mainly: blue. Hex color #040F6E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F6E is #FBF091. Grayscale: #161616. Windows color (decimal): -16511122 or 7212804. OLE color: 7212804.
HSL color Cylindrical-coordinate representation of color #040F6E: hue angle of 233.77º degrees, saturation: 0.93, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040F6E is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 4 | 15 | 110 | - |
| CMYK | 0.96 | 0.86 | 0 | 0.57 |
| HSL | 233.77º | 0.93% | 0.22% | - |
| HSV(B) | 233.77º | 0.96% | 0.43% | - |
| XYZ | 3.04 | 1.49 | 14.88 | - |
| YUV | 22.54 | 177.36 | 114.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 110 | 0.96 | 0.86 | 0 | 0.57 | 233.77 | 0.93 | 0.22 |
| Hex | 4 | F | 6E | 60 | 56 | 0 | 39 | EA | 5D | 16 |
| Octal | 4 | 17 | 156 | 140 | 126 | 0 | 71 | 352 | 135 | 26 |
| Binary | 100 | 1111 | 1101110 | 1100000 | 1010110 | 0 | 111001 | 11101010 | 1011101 | 10110 |
Color Harmonies of #040F6E
Complementary color
Monochromatic Colors of #040F6E
Black with #040F6E
Text Example
Text Example
White with #040F6E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F6E; }
p { color: rgb(4,15,110); }
H1.HeaderClassName
{
color: #040F6E;
}
.AnyTagClassName
{
color: #040F6E;
}
</style>
background-color css
<style>
a { background-color: #040F6E; }
a { background-color: rgb(4,15,110); }
div.DivClassName
{
background-color: #040F6E;
}
.BgClassName
{
background-color: #040F6E;
}
</style>
border-color css
<style>
span { border-color: #040F6E; }
span { border-color: rgb(4,15,110); }
td.TdClassName
{
border-color: #040F6E;
}
.TagClassName
{
border-color: #040F6E;
}
</style>