Shades of New Midnight Blue #0402A2
Tints of New Midnight Blue #0402A2
RGB
CMYK
RGB Variations
Color information
#0402A2 (or 0x0402A2) is known color: New Midnight Blue. HEX triplet: 04, 02 and A2. RGB value is (4,2,162). Sum of RGB (Red+Green+Blue) = 4+2+162=168 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.38% from 168); Green value is 2 (1.17% from 255 or 1.19% from 168); Blue value is 162 (63.67% from 255 or 96.43% from 168); Max value from RGB is 162 - color contains mainly: blue. Hex color #0402A2 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #0402A2 is #FBFD5D. Grayscale: #141414. Windows color (decimal): -16514398 or 10617348. OLE color: 10617348.
HSL color Cylindrical-coordinate representation of color #0402A2: hue angle of 240.75º degrees, saturation: 0.98, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.64% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0402A2 is Cyan = 0.98, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.36.
Color convert
| RGB | 4 | 2 | 162 | - |
| CMYK | 0.98 | 0.99 | 0 | 0.36 |
| HSL | 240.75º | 0.98% | 0.32% | - |
| HSV(B) | 240.75º | 0.99% | 0.64% | - |
| XYZ | 6.59 | 2.68 | 34.35 | - |
| YUV | 20.84 | 207.66 | 115.99 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 162 | 0.98 | 0.99 | 0 | 0.36 | 240.75 | 0.98 | 0.32 |
| Hex | 4 | 2 | A2 | 62 | 63 | 0 | 24 | F1 | 62 | 20 |
| Octal | 4 | 2 | 242 | 142 | 143 | 0 | 44 | 361 | 142 | 40 |
| Binary | 100 | 10 | 10100010 | 1100010 | 1100011 | 0 | 100100 | 11110001 | 1100010 | 100000 |
Color Harmonies of #0402A2
Complementary color
Monochromatic Colors of #0402A2
Black with #0402A2
Text Example
Text Example
White with #0402A2
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0402A2; }
p { color: rgb(4,2,162); }
H1.HeaderClassName
{
color: #0402A2;
}
.AnyTagClassName
{
color: #0402A2;
}
</style>
background-color css
<style>
a { background-color: #0402A2; }
a { background-color: rgb(4,2,162); }
div.DivClassName
{
background-color: #0402A2;
}
.BgClassName
{
background-color: #0402A2;
}
</style>
border-color css
<style>
span { border-color: #0402A2; }
span { border-color: rgb(4,2,162); }
td.TdClassName
{
border-color: #0402A2;
}
.TagClassName
{
border-color: #0402A2;
}
</style>