Shades of Midnight Blue #2A2478
Tints of Midnight Blue #2A2478
RGB
CMYK
RGB Variations
Color information
#2A2478 (or 0x2A2478) is known color: Midnight Blue. HEX triplet: 2A, 24 and 78. RGB value is (42,36,120). Sum of RGB (Red+Green+Blue) = 42+36+120=198 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21.21% from 198); Green value is 36 (14.45% from 255 or 18.18% from 198); Blue value is 120 (47.27% from 255 or 60.61% from 198); Max value from RGB is 120 - color contains mainly: blue. Hex color #2A2478 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2478 is #D5DB87. Grayscale: #2F2F2F. Windows color (decimal): -14015368 or 7873578. OLE color: 7873578.
HSL color Cylindrical-coordinate representation of color #2A2478: hue angle of 244.29º degrees, saturation: 0.54, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #2A2478 is Cyan = 0.65, Magento = 0.7, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 36 | 120 | - |
| CMYK | 0.65 | 0.7 | 0 | 0.53 |
| HSL | 244.29º | 0.54% | 0.31% | - |
| HSV(B) | 244.29º | 0.7% | 0.47% | - |
| XYZ | 4.98 | 3.11 | 18.11 | - |
| YUV | 47.37 | 168.99 | 124.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 36 | 120 | 0.65 | 0.7 | 0 | 0.53 | 244.29 | 0.54 | 0.31 |
| Hex | 2A | 24 | 78 | 41 | 46 | 0 | 35 | F4 | 36 | 1F |
| Octal | 52 | 44 | 170 | 101 | 106 | 0 | 65 | 364 | 66 | 37 |
| Binary | 101010 | 100100 | 1111000 | 1000001 | 1000110 | 0 | 110101 | 11110100 | 110110 | 11111 |
Color Harmonies of #2A2478
Complementary color
Monochromatic Colors of #2A2478
Black with #2A2478
Text Example
Text Example
White with #2A2478
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2478; }
p { color: rgb(42,36,120); }
H1.HeaderClassName
{
color: #2A2478;
}
.AnyTagClassName
{
color: #2A2478;
}
</style>
background-color css
<style>
a { background-color: #2A2478; }
a { background-color: rgb(42,36,120); }
div.DivClassName
{
background-color: #2A2478;
}
.BgClassName
{
background-color: #2A2478;
}
</style>
border-color css
<style>
span { border-color: #2A2478; }
span { border-color: rgb(42,36,120); }
td.TdClassName
{
border-color: #2A2478;
}
.TagClassName
{
border-color: #2A2478;
}
</style>