Shades of New Midnight Blue #021798
Tints of New Midnight Blue #021798
RGB
CMYK
RGB Variations
Color information
#021798 (or 0x021798) is known color: New Midnight Blue. HEX triplet: 02, 17 and 98. RGB value is (2,23,152). Sum of RGB (Red+Green+Blue) = 2+23+152=177 (23% of max value = 765). Red value is 2 (1.17% from 255 or 1.13% from 177); Green value is 23 (9.38% from 255 or 12.99% from 177); Blue value is 152 (59.77% from 255 or 85.88% from 177); Max value from RGB is 152 - color contains mainly: blue. Hex color #021798 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #021798 is #FDE867. Grayscale: #1E1E1E. Windows color (decimal): -16640104 or 9967362. OLE color: 9967362.
HSL color Cylindrical-coordinate representation of color #021798: hue angle of 231.6º degrees, saturation: 0.97, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #021798 is Cyan = 0.99, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 2 | 23 | 152 | - |
| CMYK | 0.99 | 0.85 | 0 | 0.40 |
| HSL | 231.6º | 0.97% | 0.3% | - |
| HSV(B) | 231.6º | 0.99% | 0.6% | - |
| XYZ | 6 | 2.89 | 29.95 | - |
| YUV | 31.43 | 196.04 | 107.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 23 | 152 | 0.99 | 0.85 | 0 | 0.40 | 231.6 | 0.97 | 0.3 |
| Hex | 2 | 17 | 98 | 63 | 55 | 0 | 28 | E8 | 61 | 1E |
| Octal | 2 | 27 | 230 | 143 | 125 | 0 | 50 | 350 | 141 | 36 |
| Binary | 10 | 10111 | 10011000 | 1100011 | 1010101 | 0 | 101000 | 11101000 | 1100001 | 11110 |
Color Harmonies of #021798
Complementary color
Monochromatic Colors of #021798
Black with #021798
Text Example
Text Example
White with #021798
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #021798; }
p { color: rgb(2,23,152); }
H1.HeaderClassName
{
color: #021798;
}
.AnyTagClassName
{
color: #021798;
}
</style>
background-color css
<style>
a { background-color: #021798; }
a { background-color: rgb(2,23,152); }
div.DivClassName
{
background-color: #021798;
}
.BgClassName
{
background-color: #021798;
}
</style>
border-color css
<style>
span { border-color: #021798; }
span { border-color: rgb(2,23,152); }
td.TdClassName
{
border-color: #021798;
}
.TagClassName
{
border-color: #021798;
}
</style>