Shades of Mardi Gras #2A162A
Tints of Mardi Gras #2A162A
RGB
CMYK
RGB Variations
Color information
#2A162A (or 0x2A162A) is known color: Mardi Gras. HEX triplet: 2A, 16 and 2A. RGB value is (42,22,42). Sum of RGB (Red+Green+Blue) = 42+22+42=106 (14% of max value = 765). Red value is 42 (16.80% from 255 or 39.62% from 106); Green value is 22 (8.98% from 255 or 20.75% from 106); Blue value is 42 (16.80% from 255 or 39.62% from 106); Max value from RGB is 42 - color contains mainly: red, blue. Hex color #2A162A is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #2A162A is #D5E9D5. Grayscale: #1E1E1E. Windows color (decimal): -14019030 or 2758186. OLE color: 2758186.
HSL color Cylindrical-coordinate representation of color #2A162A: hue angle of 300º degrees, saturation: 0.31, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.16% and HSV saturation: 0.48%. Process color model (Four color, CMYK) of #2A162A is Cyan = 0, Magento = 0.48, Yellow = 0 and Black (K on CMYK) = 0.84.
Color convert
| RGB | 42 | 22 | 42 | - |
| CMYK | 0 | 0.48 | 0 | 0.84 |
| HSL | 300º | 0.31% | 0.13% | - |
| HSV(B) | 300º | 0.48% | 0.16% | - |
| XYZ | 1.66 | 1.23 | 2.34 | - |
| YUV | 30.26 | 134.63 | 136.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 22 | 42 | 0 | 0.48 | 0 | 0.84 | 300 | 0.31 | 0.13 |
| Hex | 2A | 16 | 2A | 0 | 30 | 0 | 54 | 12C | 1F | D |
| Octal | 52 | 26 | 52 | 0 | 60 | 0 | 124 | 454 | 37 | 15 |
| Binary | 101010 | 10110 | 101010 | 0 | 110000 | 0 | 1010100 | 100101100 | 11111 | 1101 |
Color Harmonies of #2A162A
Complementary color
Monochromatic Colors of #2A162A
Black with #2A162A
Text Example
Text Example
White with #2A162A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A162A; }
p { color: rgb(42,22,42); }
H1.HeaderClassName
{
color: #2A162A;
}
.AnyTagClassName
{
color: #2A162A;
}
</style>
background-color css
<style>
a { background-color: #2A162A; }
a { background-color: rgb(42,22,42); }
div.DivClassName
{
background-color: #2A162A;
}
.BgClassName
{
background-color: #2A162A;
}
</style>
border-color css
<style>
span { border-color: #2A162A; }
span { border-color: rgb(42,22,42); }
td.TdClassName
{
border-color: #2A162A;
}
.TagClassName
{
border-color: #2A162A;
}
</style>