Shades of New Midnight Blue #040C98
Tints of New Midnight Blue #040C98
RGB
CMYK
RGB Variations
Color information
#040C98 (or 0x040C98) is known color: New Midnight Blue. HEX triplet: 04, 0C and 98. RGB value is (4,12,152). Sum of RGB (Red+Green+Blue) = 4+12+152=168 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.38% from 168); Green value is 12 (5.08% from 255 or 7.14% from 168); Blue value is 152 (59.77% from 255 or 90.48% from 168); Max value from RGB is 152 - color contains mainly: blue. Hex color #040C98 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040C98 is #FBF367. Grayscale: #191919. Windows color (decimal): -16511848 or 9964548. OLE color: 9964548.
HSL color Cylindrical-coordinate representation of color #040C98: hue angle of 236.76º degrees, saturation: 0.95, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040C98 is Cyan = 0.97, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 4 | 12 | 152 | - |
| CMYK | 0.97 | 0.92 | 0 | 0.40 |
| HSL | 236.76º | 0.95% | 0.31% | - |
| HSV(B) | 236.76º | 0.97% | 0.6% | - |
| XYZ | 5.85 | 2.56 | 29.89 | - |
| YUV | 25.57 | 199.35 | 112.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 152 | 0.97 | 0.92 | 0 | 0.40 | 236.76 | 0.95 | 0.31 |
| Hex | 4 | C | 98 | 61 | 5C | 0 | 28 | ED | 5F | 1F |
| Octal | 4 | 14 | 230 | 141 | 134 | 0 | 50 | 355 | 137 | 37 |
| Binary | 100 | 1100 | 10011000 | 1100001 | 1011100 | 0 | 101000 | 11101101 | 1011111 | 11111 |
Color Harmonies of #040C98
Complementary color
Monochromatic Colors of #040C98
Black with #040C98
Text Example
Text Example
White with #040C98
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C98; }
p { color: rgb(4,12,152); }
H1.HeaderClassName
{
color: #040C98;
}
.AnyTagClassName
{
color: #040C98;
}
</style>
background-color css
<style>
a { background-color: #040C98; }
a { background-color: rgb(4,12,152); }
div.DivClassName
{
background-color: #040C98;
}
.BgClassName
{
background-color: #040C98;
}
</style>
border-color css
<style>
span { border-color: #040C98; }
span { border-color: rgb(4,12,152); }
td.TdClassName
{
border-color: #040C98;
}
.TagClassName
{
border-color: #040C98;
}
</style>