Shades of New Midnight Blue #040C97
Tints of New Midnight Blue #040C97
RGB
CMYK
RGB Variations
Color information
#040C97 (or 0x040C97) is known color: New Midnight Blue. HEX triplet: 04, 0C and 97. RGB value is (4,12,151). Sum of RGB (Red+Green+Blue) = 4+12+151=167 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.40% from 167); Green value is 12 (5.08% from 255 or 7.19% from 167); Blue value is 151 (59.38% from 255 or 90.42% from 167); Max value from RGB is 151 - color contains mainly: blue. Hex color #040C97 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040C97 is #FBF368. Grayscale: #181818. Windows color (decimal): -16511849 or 9899012. OLE color: 9899012.
HSL color Cylindrical-coordinate representation of color #040C97: hue angle of 236.73º degrees, saturation: 0.95, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.59% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040C97 is Cyan = 0.97, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.41.
Color convert
| RGB | 4 | 12 | 151 | - |
| CMYK | 0.97 | 0.92 | 0 | 0.41 |
| HSL | 236.73º | 0.95% | 0.3% | - |
| HSV(B) | 236.73º | 0.97% | 0.59% | - |
| XYZ | 5.77 | 2.52 | 29.46 | - |
| YUV | 25.45 | 198.85 | 112.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 151 | 0.97 | 0.92 | 0 | 0.41 | 236.73 | 0.95 | 0.3 |
| Hex | 4 | C | 97 | 61 | 5C | 0 | 29 | ED | 5F | 1E |
| Octal | 4 | 14 | 227 | 141 | 134 | 0 | 51 | 355 | 137 | 36 |
| Binary | 100 | 1100 | 10010111 | 1100001 | 1011100 | 0 | 101001 | 11101101 | 1011111 | 11110 |
Color Harmonies of #040C97
Complementary color
Monochromatic Colors of #040C97
Black with #040C97
Text Example
Text Example
White with #040C97
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C97; }
p { color: rgb(4,12,151); }
H1.HeaderClassName
{
color: #040C97;
}
.AnyTagClassName
{
color: #040C97;
}
</style>
background-color css
<style>
a { background-color: #040C97; }
a { background-color: rgb(4,12,151); }
div.DivClassName
{
background-color: #040C97;
}
.BgClassName
{
background-color: #040C97;
}
</style>
border-color css
<style>
span { border-color: #040C97; }
span { border-color: rgb(4,12,151); }
td.TdClassName
{
border-color: #040C97;
}
.TagClassName
{
border-color: #040C97;
}
</style>