Shades of Midnight Blue #2A2880
Tints of Midnight Blue #2A2880
RGB
CMYK
RGB Variations
Color information
#2A2880 (or 0x2A2880) is known color: Midnight Blue. HEX triplet: 2A, 28 and 80. RGB value is (42,40,128). Sum of RGB (Red+Green+Blue) = 42+40+128=210 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20% from 210); Green value is 40 (16.02% from 255 or 19.05% from 210); Blue value is 128 (50.39% from 255 or 60.95% from 210); Max value from RGB is 128 - color contains mainly: blue. Hex color #2A2880 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A2880 is #D5D77F. Grayscale: #323232. Windows color (decimal): -14014336 or 8398890. OLE color: 8398890.
HSL color Cylindrical-coordinate representation of color #2A2880: hue angle of 241.36º degrees, saturation: 0.52, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #2A2880 is Cyan = 0.67, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 42 | 40 | 128 | - |
| CMYK | 0.67 | 0.69 | 0 | 0.50 |
| HSL | 241.36º | 0.52% | 0.33% | - |
| HSV(B) | 241.36º | 0.69% | 0.5% | - |
| XYZ | 5.61 | 3.57 | 20.82 | - |
| YUV | 50.63 | 171.66 | 121.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 40 | 128 | 0.67 | 0.69 | 0 | 0.50 | 241.36 | 0.52 | 0.33 |
| Hex | 2A | 28 | 80 | 43 | 45 | 0 | 32 | F1 | 34 | 21 |
| Octal | 52 | 50 | 200 | 103 | 105 | 0 | 62 | 361 | 64 | 41 |
| Binary | 101010 | 101000 | 10000000 | 1000011 | 1000101 | 0 | 110010 | 11110001 | 110100 | 100001 |
Color Harmonies of #2A2880
Complementary color
Monochromatic Colors of #2A2880
Black with #2A2880
Text Example
Text Example
White with #2A2880
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2880; }
p { color: rgb(42,40,128); }
H1.HeaderClassName
{
color: #2A2880;
}
.AnyTagClassName
{
color: #2A2880;
}
</style>
background-color css
<style>
a { background-color: #2A2880; }
a { background-color: rgb(42,40,128); }
div.DivClassName
{
background-color: #2A2880;
}
.BgClassName
{
background-color: #2A2880;
}
</style>
border-color css
<style>
span { border-color: #2A2880; }
span { border-color: rgb(42,40,128); }
td.TdClassName
{
border-color: #2A2880;
}
.TagClassName
{
border-color: #2A2880;
}
</style>