Shades of Midnight Blue #2A2278
Tints of Midnight Blue #2A2278
RGB
CMYK
RGB Variations
Color information
#2A2278 (or 0x2A2278) is known color: Midnight Blue. HEX triplet: 2A, 22 and 78. RGB value is (42,34,120). Sum of RGB (Red+Green+Blue) = 42+34+120=196 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.43% from 196); Green value is 34 (13.67% from 255 or 17.35% from 196); Blue value is 120 (47.27% from 255 or 61.22% from 196); Max value from RGB is 120 - color contains mainly: blue. Hex color #2A2278 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2278 is #D5DD87. Grayscale: #2D2D2D. Windows color (decimal): -14015880 or 7873066. OLE color: 7873066.
HSL color Cylindrical-coordinate representation of color #2A2278: hue angle of 245.58º degrees, saturation: 0.56, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2A2278 is Cyan = 0.65, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 34 | 120 | - |
| CMYK | 0.65 | 0.72 | 0 | 0.53 |
| HSL | 245.58º | 0.56% | 0.3% | - |
| HSV(B) | 245.58º | 0.72% | 0.47% | - |
| XYZ | 4.92 | 2.99 | 18.09 | - |
| YUV | 46.2 | 169.65 | 125.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 34 | 120 | 0.65 | 0.72 | 0 | 0.53 | 245.58 | 0.56 | 0.3 |
| Hex | 2A | 22 | 78 | 41 | 48 | 0 | 35 | F6 | 38 | 1E |
| Octal | 52 | 42 | 170 | 101 | 110 | 0 | 65 | 366 | 70 | 36 |
| Binary | 101010 | 100010 | 1111000 | 1000001 | 1001000 | 0 | 110101 | 11110110 | 111000 | 11110 |
Color Harmonies of #2A2278
Complementary color
Monochromatic Colors of #2A2278
Black with #2A2278
Text Example
Text Example
White with #2A2278
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2278; }
p { color: rgb(42,34,120); }
H1.HeaderClassName
{
color: #2A2278;
}
.AnyTagClassName
{
color: #2A2278;
}
</style>
background-color css
<style>
a { background-color: #2A2278; }
a { background-color: rgb(42,34,120); }
div.DivClassName
{
background-color: #2A2278;
}
.BgClassName
{
background-color: #2A2278;
}
</style>
border-color css
<style>
span { border-color: #2A2278; }
span { border-color: rgb(42,34,120); }
td.TdClassName
{
border-color: #2A2278;
}
.TagClassName
{
border-color: #2A2278;
}
</style>