Shades of Midnight Blue #2A2178
Tints of Midnight Blue #2A2178
RGB
CMYK
RGB Variations
Color information
#2A2178 (or 0x2A2178) is known color: Midnight Blue. HEX triplet: 2A, 21 and 78. RGB value is (42,33,120). Sum of RGB (Red+Green+Blue) = 42+33+120=195 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.54% from 195); Green value is 33 (13.28% from 255 or 16.92% from 195); Blue value is 120 (47.27% from 255 or 61.54% from 195); Max value from RGB is 120 - color contains mainly: blue. Hex color #2A2178 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2178 is #D5DE87. Grayscale: #2D2D2D. Windows color (decimal): -14016136 or 7872810. OLE color: 7872810.
HSL color Cylindrical-coordinate representation of color #2A2178: hue angle of 246.21º degrees, saturation: 0.57, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #2A2178 is Cyan = 0.65, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 33 | 120 | - |
| CMYK | 0.65 | 0.72 | 0 | 0.53 |
| HSL | 246.21º | 0.57% | 0.3% | - |
| HSV(B) | 246.21º | 0.73% | 0.47% | - |
| XYZ | 4.89 | 2.94 | 18.08 | - |
| YUV | 45.61 | 169.98 | 125.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 33 | 120 | 0.65 | 0.72 | 0 | 0.53 | 246.21 | 0.57 | 0.3 |
| Hex | 2A | 21 | 78 | 41 | 48 | 0 | 35 | F6 | 39 | 1E |
| Octal | 52 | 41 | 170 | 101 | 110 | 0 | 65 | 366 | 71 | 36 |
| Binary | 101010 | 100001 | 1111000 | 1000001 | 1001000 | 0 | 110101 | 11110110 | 111001 | 11110 |
Color Harmonies of #2A2178
Complementary color
Monochromatic Colors of #2A2178
Black with #2A2178
Text Example
Text Example
White with #2A2178
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2178; }
p { color: rgb(42,33,120); }
H1.HeaderClassName
{
color: #2A2178;
}
.AnyTagClassName
{
color: #2A2178;
}
</style>
background-color css
<style>
a { background-color: #2A2178; }
a { background-color: rgb(42,33,120); }
div.DivClassName
{
background-color: #2A2178;
}
.BgClassName
{
background-color: #2A2178;
}
</style>
border-color css
<style>
span { border-color: #2A2178; }
span { border-color: rgb(42,33,120); }
td.TdClassName
{
border-color: #2A2178;
}
.TagClassName
{
border-color: #2A2178;
}
</style>