Shades of New Midnight Blue #040C9C
Tints of New Midnight Blue #040C9C
RGB
CMYK
RGB Variations
Color information
#040C9C (or 0x040C9C) is known color: New Midnight Blue. HEX triplet: 04, 0C and 9C. RGB value is (4,12,156). Sum of RGB (Red+Green+Blue) = 4+12+156=172 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.33% from 172); Green value is 12 (5.08% from 255 or 6.98% from 172); Blue value is 156 (61.33% from 255 or 90.70% from 172); Max value from RGB is 156 - color contains mainly: blue. Hex color #040C9C is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040C9C is #FBF363. Grayscale: #191919. Windows color (decimal): -16511844 or 10226692. OLE color: 10226692.
HSL color Cylindrical-coordinate representation of color #040C9C: hue angle of 236.84º degrees, saturation: 0.95, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.61% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040C9C is Cyan = 0.97, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.39.
Color convert
| RGB | 4 | 12 | 156 | - |
| CMYK | 0.97 | 0.92 | 0 | 0.39 |
| HSL | 236.84º | 0.95% | 0.31% | - |
| HSV(B) | 236.84º | 0.97% | 0.61% | - |
| XYZ | 6.18 | 2.69 | 31.65 | - |
| YUV | 26.02 | 201.35 | 112.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 156 | 0.97 | 0.92 | 0 | 0.39 | 236.84 | 0.95 | 0.31 |
| Hex | 4 | C | 9C | 61 | 5C | 0 | 27 | ED | 5F | 1F |
| Octal | 4 | 14 | 234 | 141 | 134 | 0 | 47 | 355 | 137 | 37 |
| Binary | 100 | 1100 | 10011100 | 1100001 | 1011100 | 0 | 100111 | 11101101 | 1011111 | 11111 |
Color Harmonies of #040C9C
Complementary color
Monochromatic Colors of #040C9C
Black with #040C9C
Text Example
Text Example
White with #040C9C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C9C; }
p { color: rgb(4,12,156); }
H1.HeaderClassName
{
color: #040C9C;
}
.AnyTagClassName
{
color: #040C9C;
}
</style>
background-color css
<style>
a { background-color: #040C9C; }
a { background-color: rgb(4,12,156); }
div.DivClassName
{
background-color: #040C9C;
}
.BgClassName
{
background-color: #040C9C;
}
</style>
border-color css
<style>
span { border-color: #040C9C; }
span { border-color: rgb(4,12,156); }
td.TdClassName
{
border-color: #040C9C;
}
.TagClassName
{
border-color: #040C9C;
}
</style>