Shades of New Midnight Blue #040C9F
Tints of New Midnight Blue #040C9F
RGB
CMYK
RGB Variations
Color information
#040C9F (or 0x040C9F) is known color: New Midnight Blue. HEX triplet: 04, 0C and 9F. RGB value is (4,12,159). Sum of RGB (Red+Green+Blue) = 4+12+159=175 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.29% from 175); Green value is 12 (5.08% from 255 or 6.86% from 175); Blue value is 159 (62.5% from 255 or 90.86% from 175); Max value from RGB is 159 - color contains mainly: blue. Hex color #040C9F is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040C9F is #FBF360. Grayscale: #191919. Windows color (decimal): -16511841 or 10423300. OLE color: 10423300.
HSL color Cylindrical-coordinate representation of color #040C9F: hue angle of 236.9º degrees, saturation: 0.95, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.62% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040C9F is Cyan = 0.97, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.38.
Color convert
| RGB | 4 | 12 | 159 | - |
| CMYK | 0.97 | 0.92 | 0 | 0.38 |
| HSL | 236.9º | 0.95% | 0.32% | - |
| HSV(B) | 236.9º | 0.97% | 0.62% | - |
| XYZ | 6.44 | 2.79 | 33 | - |
| YUV | 26.37 | 202.85 | 112.05 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 159 | 0.97 | 0.92 | 0 | 0.38 | 236.9 | 0.95 | 0.32 |
| Hex | 4 | C | 9F | 61 | 5C | 0 | 26 | ED | 5F | 20 |
| Octal | 4 | 14 | 237 | 141 | 134 | 0 | 46 | 355 | 137 | 40 |
| Binary | 100 | 1100 | 10011111 | 1100001 | 1011100 | 0 | 100110 | 11101101 | 1011111 | 100000 |
Color Harmonies of #040C9F
Complementary color
Monochromatic Colors of #040C9F
Black with #040C9F
Text Example
Text Example
White with #040C9F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C9F; }
p { color: rgb(4,12,159); }
H1.HeaderClassName
{
color: #040C9F;
}
.AnyTagClassName
{
color: #040C9F;
}
</style>
background-color css
<style>
a { background-color: #040C9F; }
a { background-color: rgb(4,12,159); }
div.DivClassName
{
background-color: #040C9F;
}
.BgClassName
{
background-color: #040C9F;
}
</style>
border-color css
<style>
span { border-color: #040C9F; }
span { border-color: rgb(4,12,159); }
td.TdClassName
{
border-color: #040C9F;
}
.TagClassName
{
border-color: #040C9F;
}
</style>