Shades of Mardi Gras #2A1227
Tints of Mardi Gras #2A1227
RGB
CMYK
RGB Variations
Color information
#2A1227 (or 0x2A1227) is known color: Mardi Gras. HEX triplet: 2A, 12 and 27. RGB value is (42,18,39). Sum of RGB (Red+Green+Blue) = 42+18+39=99 (13% of max value = 765). Red value is 42 (16.80% from 255 or 42.42% from 99); Green value is 18 (7.42% from 255 or 18.18% from 99); Blue value is 39 (15.62% from 255 or 39.39% from 99); Max value from RGB is 42 - color contains mainly: red. Hex color #2A1227 is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #2A1227 is #D5EDD8. Grayscale: #1B1B1B. Windows color (decimal): -14020057 or 2560554. OLE color: 2560554.
HSL color Cylindrical-coordinate representation of color #2A1227: hue angle of 307.5º 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 #2A1227 is Cyan = 0, Magento = 0.57, Yellow = 0.07 and Black (K on CMYK) = 0.84.
Color convert
| RGB | 42 | 18 | 39 | - |
| CMYK | 0 | 0.57 | 0.07 | 0.84 |
| HSL | 307.5º | 0.4% | 0.12% | - |
| HSV(B) | 307.5º | 0.57% | 0.16% | - |
| XYZ | 1.54 | 1.07 | 2.05 | - |
| YUV | 27.57 | 134.45 | 138.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 18 | 39 | 0 | 0.57 | 0.07 | 0.84 | 307.5 | 0.4 | 0.12 |
| Hex | 2A | 12 | 27 | 0 | 39 | 7 | 54 | 134 | 28 | C |
| Octal | 52 | 22 | 47 | 0 | 71 | 7 | 124 | 464 | 50 | 14 |
| Binary | 101010 | 10010 | 100111 | 0 | 111001 | 111 | 1010100 | 100110100 | 101000 | 1100 |
Color Harmonies of #2A1227
Complementary color
Monochromatic Colors of #2A1227
Black with #2A1227
Text Example
Text Example
White with #2A1227
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1227; }
p { color: rgb(42,18,39); }
H1.HeaderClassName
{
color: #2A1227;
}
.AnyTagClassName
{
color: #2A1227;
}
</style>
background-color css
<style>
a { background-color: #2A1227; }
a { background-color: rgb(42,18,39); }
div.DivClassName
{
background-color: #2A1227;
}
.BgClassName
{
background-color: #2A1227;
}
</style>
border-color css
<style>
span { border-color: #2A1227; }
span { border-color: rgb(42,18,39); }
td.TdClassName
{
border-color: #2A1227;
}
.TagClassName
{
border-color: #2A1227;
}
</style>