Shades of Midnight Blue #020048
Tints of Midnight Blue #020048
RGB
CMYK
RGB Variations
Color information
#020048 (or 0x020048) is known color: Midnight Blue. HEX triplet: 02, 00 and 48. RGB value is (2,0,72). Sum of RGB (Red+Green+Blue) = 2+0+72=74 (9% of max value = 765). Red value is 2 (1.17% from 255 or 2.70% from 74); Green value is 0 (0.39% from 255 or 0% from 74); Blue value is 72 (28.52% from 255 or 97.30% from 74); Max value from RGB is 72 - color contains mainly: blue. Hex color #020048 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #020048 is #FDFFB7. Grayscale: #080808. Windows color (decimal): -16646072 or 4718594. OLE color: 4718594.
HSL color Cylindrical-coordinate representation of color #020048: hue angle of 241.67º degrees, saturation: 1, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 1%. Process color model (Four color, CMYK) of #020048 is Cyan = 0.97, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 2 | 0 | 72 | - |
| CMYK | 0.97 | 1 | 0 | 0.72 |
| HSL | 241.67º | 1% | 0.14% | - |
| HSV(B) | 241.67º | 1% | 0.28% | - |
| XYZ | 1.19 | 0.48 | 6.16 | - |
| YUV | 8.81 | 163.66 | 123.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 0 | 72 | 0.97 | 1 | 0 | 0.72 | 241.67 | 1 | 0.14 |
| Hex | 2 | 0 | 48 | 61 | 64 | 0 | 48 | F2 | 64 | E |
| Octal | 2 | 0 | 110 | 141 | 144 | 0 | 110 | 362 | 144 | 16 |
| Binary | 10 | 0 | 1001000 | 1100001 | 1100100 | 0 | 1001000 | 11110010 | 1100100 | 1110 |
Color Harmonies of #020048
Complementary color
Monochromatic Colors of #020048
Black with #020048
Text Example
Text Example
White with #020048
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #020048; }
p { color: rgb(2,0,72); }
H1.HeaderClassName
{
color: #020048;
}
.AnyTagClassName
{
color: #020048;
}
</style>
background-color css
<style>
a { background-color: #020048; }
a { background-color: rgb(2,0,72); }
div.DivClassName
{
background-color: #020048;
}
.BgClassName
{
background-color: #020048;
}
</style>
border-color css
<style>
span { border-color: #020048; }
span { border-color: rgb(2,0,72); }
td.TdClassName
{
border-color: #020048;
}
.TagClassName
{
border-color: #020048;
}
</style>