Shades of New Midnight Blue #0402A4
Tints of New Midnight Blue #0402A4
RGB
CMYK
RGB Variations
Color information
#0402A4 (or 0x0402A4) is known color: New Midnight Blue. HEX triplet: 04, 02 and A4. RGB value is (4,2,164). Sum of RGB (Red+Green+Blue) = 4+2+164=170 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.35% from 170); Green value is 2 (1.17% from 255 or 1.18% from 170); Blue value is 164 (64.45% from 255 or 96.47% from 170); Max value from RGB is 164 - color contains mainly: blue. Hex color #0402A4 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #0402A4 is #FBFD5B. Grayscale: #141414. Windows color (decimal): -16514396 or 10748420. OLE color: 10748420.
HSL color Cylindrical-coordinate representation of color #0402A4: hue angle of 240.74º degrees, saturation: 0.98, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.64% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0402A4 is Cyan = 0.98, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.36.
Color convert
| RGB | 4 | 2 | 164 | - |
| CMYK | 0.98 | 0.99 | 0 | 0.36 |
| HSL | 240.74º | 0.98% | 0.33% | - |
| HSV(B) | 240.74º | 0.99% | 0.64% | - |
| XYZ | 6.77 | 2.75 | 35.3 | - |
| YUV | 21.07 | 208.66 | 115.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 164 | 0.98 | 0.99 | 0 | 0.36 | 240.74 | 0.98 | 0.33 |
| Hex | 4 | 2 | A4 | 62 | 63 | 0 | 24 | F1 | 62 | 21 |
| Octal | 4 | 2 | 244 | 142 | 143 | 0 | 44 | 361 | 142 | 41 |
| Binary | 100 | 10 | 10100100 | 1100010 | 1100011 | 0 | 100100 | 11110001 | 1100010 | 100001 |
Color Harmonies of #0402A4
Complementary color
Monochromatic Colors of #0402A4
Black with #0402A4
Text Example
Text Example
White with #0402A4
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0402A4; }
p { color: rgb(4,2,164); }
H1.HeaderClassName
{
color: #0402A4;
}
.AnyTagClassName
{
color: #0402A4;
}
</style>
background-color css
<style>
a { background-color: #0402A4; }
a { background-color: rgb(4,2,164); }
div.DivClassName
{
background-color: #0402A4;
}
.BgClassName
{
background-color: #0402A4;
}
</style>
border-color css
<style>
span { border-color: #0402A4; }
span { border-color: rgb(4,2,164); }
td.TdClassName
{
border-color: #0402A4;
}
.TagClassName
{
border-color: #0402A4;
}
</style>