Shades of New Midnight Blue #0402A6
Tints of New Midnight Blue #0402A6
RGB
CMYK
RGB Variations
Color information
#0402A6 (or 0x0402A6) is known color: New Midnight Blue. HEX triplet: 04, 02 and A6. RGB value is (4,2,166). Sum of RGB (Red+Green+Blue) = 4+2+166=172 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.33% from 172); Green value is 2 (1.17% from 255 or 1.16% from 172); Blue value is 166 (65.23% from 255 or 96.51% from 172); Max value from RGB is 166 - color contains mainly: blue. Hex color #0402A6 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #0402A6 is #FBFD59. Grayscale: #141414. Windows color (decimal): -16514394 or 10879492. OLE color: 10879492.
HSL color Cylindrical-coordinate representation of color #0402A6: hue angle of 240.73º degrees, saturation: 0.98, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.65% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0402A6 is Cyan = 0.98, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.35.
Color convert
| RGB | 4 | 2 | 166 | - |
| CMYK | 0.98 | 0.99 | 0 | 0.35 |
| HSL | 240.73º | 0.98% | 0.33% | - |
| HSV(B) | 240.73º | 0.99% | 0.65% | - |
| XYZ | 6.95 | 2.82 | 36.25 | - |
| YUV | 21.29 | 209.66 | 115.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 166 | 0.98 | 0.99 | 0 | 0.35 | 240.73 | 0.98 | 0.33 |
| Hex | 4 | 2 | A6 | 62 | 63 | 0 | 23 | F1 | 62 | 21 |
| Octal | 4 | 2 | 246 | 142 | 143 | 0 | 43 | 361 | 142 | 41 |
| Binary | 100 | 10 | 10100110 | 1100010 | 1100011 | 0 | 100011 | 11110001 | 1100010 | 100001 |
Color Harmonies of #0402A6
Complementary color
Monochromatic Colors of #0402A6
Black with #0402A6
Text Example
Text Example
White with #0402A6
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0402A6; }
p { color: rgb(4,2,166); }
H1.HeaderClassName
{
color: #0402A6;
}
.AnyTagClassName
{
color: #0402A6;
}
</style>
background-color css
<style>
a { background-color: #0402A6; }
a { background-color: rgb(4,2,166); }
div.DivClassName
{
background-color: #0402A6;
}
.BgClassName
{
background-color: #0402A6;
}
</style>
border-color css
<style>
span { border-color: #0402A6; }
span { border-color: rgb(4,2,166); }
td.TdClassName
{
border-color: #0402A6;
}
.TagClassName
{
border-color: #0402A6;
}
</style>