Shades of New Midnight Blue #040FA7
Tints of New Midnight Blue #040FA7
RGB
CMYK
RGB Variations
Color information
#040FA7 (or 0x040FA7) is known color: New Midnight Blue. HEX triplet: 04, 0F and A7. RGB value is (4,15,167). Sum of RGB (Red+Green+Blue) = 4+15+167=186 (24% of max value = 765). Red value is 4 (1.95% from 255 or 2.15% from 186); Green value is 15 (6.25% from 255 or 8.06% from 186); Blue value is 167 (65.62% from 255 or 89.78% from 186); Max value from RGB is 167 - color contains mainly: blue. Hex color #040FA7 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040FA7 is #FBF058. Grayscale: #1C1C1C. Windows color (decimal): -16511065 or 10948356. OLE color: 10948356.
HSL color Cylindrical-coordinate representation of color #040FA7: hue angle of 235.95º degrees, saturation: 0.95, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.65% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040FA7 is Cyan = 0.98, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.35.
Color convert
| RGB | 4 | 15 | 167 | - |
| CMYK | 0.98 | 0.91 | 0 | 0.35 |
| HSL | 235.95º | 0.95% | 0.34% | - |
| HSV(B) | 235.95º | 0.98% | 0.65% | - |
| XYZ | 7.2 | 3.16 | 36.79 | - |
| YUV | 29.04 | 205.86 | 110.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 167 | 0.98 | 0.91 | 0 | 0.35 | 235.95 | 0.95 | 0.34 |
| Hex | 4 | F | A7 | 62 | 5B | 0 | 23 | EC | 5F | 22 |
| Octal | 4 | 17 | 247 | 142 | 133 | 0 | 43 | 354 | 137 | 42 |
| Binary | 100 | 1111 | 10100111 | 1100010 | 1011011 | 0 | 100011 | 11101100 | 1011111 | 100010 |
Color Harmonies of #040FA7
Complementary color
Monochromatic Colors of #040FA7
Black with #040FA7
Text Example
Text Example
White with #040FA7
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040FA7; }
p { color: rgb(4,15,167); }
H1.HeaderClassName
{
color: #040FA7;
}
.AnyTagClassName
{
color: #040FA7;
}
</style>
background-color css
<style>
a { background-color: #040FA7; }
a { background-color: rgb(4,15,167); }
div.DivClassName
{
background-color: #040FA7;
}
.BgClassName
{
background-color: #040FA7;
}
</style>
border-color css
<style>
span { border-color: #040FA7; }
span { border-color: rgb(4,15,167); }
td.TdClassName
{
border-color: #040FA7;
}
.TagClassName
{
border-color: #040FA7;
}
</style>