Shades of New Midnight Blue #040298
Tints of New Midnight Blue #040298
RGB
CMYK
RGB Variations
Color information
#040298 (or 0x040298) is known color: New Midnight Blue. HEX triplet: 04, 02 and 98. RGB value is (4,2,152). Sum of RGB (Red+Green+Blue) = 4+2+152=158 (20% of max value = 765). Red value is 4 (1.95% from 255 or 2.53% from 158); Green value is 2 (1.17% from 255 or 1.27% from 158); Blue value is 152 (59.77% from 255 or 96.20% from 158); Max value from RGB is 152 - color contains mainly: blue. Hex color #040298 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040298 is #FBFD67. Grayscale: #131313. Windows color (decimal): -16514408 or 9961988. OLE color: 9961988.
HSL color Cylindrical-coordinate representation of color #040298: hue angle of 240.8º degrees, saturation: 0.97, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040298 is Cyan = 0.97, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 4 | 2 | 152 | - |
| CMYK | 0.97 | 0.99 | 0 | 0.40 |
| HSL | 240.8º | 0.97% | 0.3% | - |
| HSV(B) | 240.8º | 0.99% | 0.6% | - |
| XYZ | 5.74 | 2.34 | 29.85 | - |
| YUV | 19.7 | 202.66 | 116.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 152 | 0.97 | 0.99 | 0 | 0.40 | 240.8 | 0.97 | 0.3 |
| Hex | 4 | 2 | 98 | 61 | 63 | 0 | 28 | F1 | 61 | 1E |
| Octal | 4 | 2 | 230 | 141 | 143 | 0 | 50 | 361 | 141 | 36 |
| Binary | 100 | 10 | 10011000 | 1100001 | 1100011 | 0 | 101000 | 11110001 | 1100001 | 11110 |
Color Harmonies of #040298
Complementary color
Monochromatic Colors of #040298
Black with #040298
Text Example
Text Example
White with #040298
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040298; }
p { color: rgb(4,2,152); }
H1.HeaderClassName
{
color: #040298;
}
.AnyTagClassName
{
color: #040298;
}
</style>
background-color css
<style>
a { background-color: #040298; }
a { background-color: rgb(4,2,152); }
div.DivClassName
{
background-color: #040298;
}
.BgClassName
{
background-color: #040298;
}
</style>
border-color css
<style>
span { border-color: #040298; }
span { border-color: rgb(4,2,152); }
td.TdClassName
{
border-color: #040298;
}
.TagClassName
{
border-color: #040298;
}
</style>