Shades of Mardi Gras #2A1228
Tints of Mardi Gras #2A1228
RGB
CMYK
RGB Variations
Color information
#2A1228 (or 0x2A1228) is known color: Mardi Gras. HEX triplet: 2A, 12 and 28. RGB value is (42,18,40). Sum of RGB (Red+Green+Blue) = 42+18+40=100 (13% of max value = 765). Red value is 42 (16.80% from 255 or 42% from 100); Green value is 18 (7.42% from 255 or 18% from 100); Blue value is 40 (16.02% from 255 or 40% from 100); Max value from RGB is 42 - color contains mainly: red. Hex color #2A1228 is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #2A1228 is #D5EDD7. Grayscale: #1B1B1B. Windows color (decimal): -14020056 or 2626090. OLE color: 2626090.
HSL color Cylindrical-coordinate representation of color #2A1228: hue angle of 305º degrees, saturation: 0.4, lightness: 0.12%. HSV value (or HSB Brightness) of color is 0.16% and HSV saturation: 0.57%. Process color model (Four color, CMYK) of #2A1228 is Cyan = 0, Magento = 0.57, Yellow = 0.05 and Black (K on CMYK) = 0.84.
Color convert
| RGB | 42 | 18 | 40 | - |
| CMYK | 0 | 0.57 | 0.05 | 0.84 |
| HSL | 305º | 0.4% | 0.12% | - |
| HSV(B) | 305º | 0.57% | 0.16% | - |
| XYZ | 1.55 | 1.08 | 2.13 | - |
| YUV | 27.68 | 134.95 | 138.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 18 | 40 | 0 | 0.57 | 0.05 | 0.84 | 305 | 0.4 | 0.12 |
| Hex | 2A | 12 | 28 | 0 | 39 | 5 | 54 | 131 | 28 | C |
| Octal | 52 | 22 | 50 | 0 | 71 | 5 | 124 | 461 | 50 | 14 |
| Binary | 101010 | 10010 | 101000 | 0 | 111001 | 101 | 1010100 | 100110001 | 101000 | 1100 |
Color Harmonies of #2A1228
Complementary color
Monochromatic Colors of #2A1228
Black with #2A1228
Text Example
Text Example
White with #2A1228
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1228; }
p { color: rgb(42,18,40); }
H1.HeaderClassName
{
color: #2A1228;
}
.AnyTagClassName
{
color: #2A1228;
}
</style>
background-color css
<style>
a { background-color: #2A1228; }
a { background-color: rgb(42,18,40); }
div.DivClassName
{
background-color: #2A1228;
}
.BgClassName
{
background-color: #2A1228;
}
</style>
border-color css
<style>
span { border-color: #2A1228; }
span { border-color: rgb(42,18,40); }
td.TdClassName
{
border-color: #2A1228;
}
.TagClassName
{
border-color: #2A1228;
}
</style>