Shades of Midnight Blue #2A2175
Tints of Midnight Blue #2A2175
RGB
CMYK
RGB Variations
Color information
#2A2175 (or 0x2A2175) is known color: Midnight Blue. HEX triplet: 2A, 21 and 75. RGB value is (42,33,117). Sum of RGB (Red+Green+Blue) = 42+33+117=192 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.88% from 192); Green value is 33 (13.28% from 255 or 17.19% from 192); Blue value is 117 (46.09% from 255 or 60.94% from 192); Max value from RGB is 117 - color contains mainly: blue. Hex color #2A2175 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2175 is #D5DE8A. Grayscale: #2C2C2C. Windows color (decimal): -14016139 or 7676202. OLE color: 7676202.
HSL color Cylindrical-coordinate representation of color #2A2175: hue angle of 246.43º degrees, saturation: 0.56, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2A2175 is Cyan = 0.64, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 42 | 33 | 117 | - |
| CMYK | 0.64 | 0.72 | 0 | 0.54 |
| HSL | 246.43º | 0.56% | 0.29% | - |
| HSV(B) | 246.43º | 0.72% | 0.46% | - |
| XYZ | 4.71 | 2.86 | 17.13 | - |
| YUV | 45.27 | 168.48 | 125.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 33 | 117 | 0.64 | 0.72 | 0 | 0.54 | 246.43 | 0.56 | 0.29 |
| Hex | 2A | 21 | 75 | 40 | 48 | 0 | 36 | F6 | 38 | 1D |
| Octal | 52 | 41 | 165 | 100 | 110 | 0 | 66 | 366 | 70 | 35 |
| Binary | 101010 | 100001 | 1110101 | 1000000 | 1001000 | 0 | 110110 | 11110110 | 111000 | 11101 |
Color Harmonies of #2A2175
Complementary color
Monochromatic Colors of #2A2175
Black with #2A2175
Text Example
Text Example
White with #2A2175
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2175; }
p { color: rgb(42,33,117); }
H1.HeaderClassName
{
color: #2A2175;
}
.AnyTagClassName
{
color: #2A2175;
}
</style>
background-color css
<style>
a { background-color: #2A2175; }
a { background-color: rgb(42,33,117); }
div.DivClassName
{
background-color: #2A2175;
}
.BgClassName
{
background-color: #2A2175;
}
</style>
border-color css
<style>
span { border-color: #2A2175; }
span { border-color: rgb(42,33,117); }
td.TdClassName
{
border-color: #2A2175;
}
.TagClassName
{
border-color: #2A2175;
}
</style>