Shades of Midnight Blue #2A2578
Tints of Midnight Blue #2A2578
RGB
CMYK
RGB Variations
Color information
#2A2578 (or 0x2A2578) is known color: Midnight Blue. HEX triplet: 2A, 25 and 78. RGB value is (42,37,120). Sum of RGB (Red+Green+Blue) = 42+37+120=199 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21.11% from 199); Green value is 37 (14.84% from 255 or 18.59% from 199); Blue value is 120 (47.27% from 255 or 60.30% from 199); Max value from RGB is 120 - color contains mainly: blue. Hex color #2A2578 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2578 is #D5DA87. Grayscale: #2F2F2F. Windows color (decimal): -14015112 or 7873834. OLE color: 7873834.
HSL color Cylindrical-coordinate representation of color #2A2578: hue angle of 243.61º degrees, saturation: 0.53, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #2A2578 is Cyan = 0.65, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 37 | 120 | - |
| CMYK | 0.65 | 0.69 | 0 | 0.53 |
| HSL | 243.61º | 0.53% | 0.31% | - |
| HSV(B) | 243.61º | 0.69% | 0.47% | - |
| XYZ | 5.01 | 3.17 | 18.12 | - |
| YUV | 47.96 | 168.66 | 123.75 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 37 | 120 | 0.65 | 0.69 | 0 | 0.53 | 243.61 | 0.53 | 0.31 |
| Hex | 2A | 25 | 78 | 41 | 45 | 0 | 35 | F4 | 35 | 1F |
| Octal | 52 | 45 | 170 | 101 | 105 | 0 | 65 | 364 | 65 | 37 |
| Binary | 101010 | 100101 | 1111000 | 1000001 | 1000101 | 0 | 110101 | 11110100 | 110101 | 11111 |
Color Harmonies of #2A2578
Complementary color
Monochromatic Colors of #2A2578
Black with #2A2578
Text Example
Text Example
White with #2A2578
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2578; }
p { color: rgb(42,37,120); }
H1.HeaderClassName
{
color: #2A2578;
}
.AnyTagClassName
{
color: #2A2578;
}
</style>
background-color css
<style>
a { background-color: #2A2578; }
a { background-color: rgb(42,37,120); }
div.DivClassName
{
background-color: #2A2578;
}
.BgClassName
{
background-color: #2A2578;
}
</style>
border-color css
<style>
span { border-color: #2A2578; }
span { border-color: rgb(42,37,120); }
td.TdClassName
{
border-color: #2A2578;
}
.TagClassName
{
border-color: #2A2578;
}
</style>