Shades of New Midnight Blue #0402A0
Tints of New Midnight Blue #0402A0
RGB
CMYK
RGB Variations
Color information
#0402A0 (or 0x0402A0) is known color: New Midnight Blue. HEX triplet: 04, 02 and A0. RGB value is (4,2,160). Sum of RGB (Red+Green+Blue) = 4+2+160=166 (21% of max value = 765). Red value is 4 (1.95% from 255 or 2.41% from 166); Green value is 2 (1.17% from 255 or 1.20% from 166); Blue value is 160 (62.89% from 255 or 96.39% from 166); Max value from RGB is 160 - color contains mainly: blue. Hex color #0402A0 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #0402A0 is #FBFD5F. Grayscale: #131313. Windows color (decimal): -16514400 or 10486276. OLE color: 10486276.
HSL color Cylindrical-coordinate representation of color #0402A0: hue angle of 240.76º degrees, saturation: 0.98, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.63% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0402A0 is Cyan = 0.98, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.37.
Color convert
| RGB | 4 | 2 | 160 | - |
| CMYK | 0.98 | 0.99 | 0 | 0.37 |
| HSL | 240.76º | 0.98% | 0.32% | - |
| HSV(B) | 240.76º | 0.99% | 0.63% | - |
| XYZ | 6.42 | 2.61 | 33.42 | - |
| YUV | 20.61 | 206.66 | 116.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 160 | 0.98 | 0.99 | 0 | 0.37 | 240.76 | 0.98 | 0.32 |
| Hex | 4 | 2 | A0 | 62 | 63 | 0 | 25 | F1 | 62 | 20 |
| Octal | 4 | 2 | 240 | 142 | 143 | 0 | 45 | 361 | 142 | 40 |
| Binary | 100 | 10 | 10100000 | 1100010 | 1100011 | 0 | 100101 | 11110001 | 1100010 | 100000 |
Color Harmonies of #0402A0
Complementary color
Monochromatic Colors of #0402A0
Black with #0402A0
Text Example
Text Example
White with #0402A0
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0402A0; }
p { color: rgb(4,2,160); }
H1.HeaderClassName
{
color: #0402A0;
}
.AnyTagClassName
{
color: #0402A0;
}
</style>
background-color css
<style>
a { background-color: #0402A0; }
a { background-color: rgb(4,2,160); }
div.DivClassName
{
background-color: #0402A0;
}
.BgClassName
{
background-color: #0402A0;
}
</style>
border-color css
<style>
span { border-color: #0402A0; }
span { border-color: rgb(4,2,160); }
td.TdClassName
{
border-color: #0402A0;
}
.TagClassName
{
border-color: #0402A0;
}
</style>