Shades of Mardi Gras #402042
Tints of Mardi Gras #402042
RGB
CMYK
RGB Variations
Color information
#402042 (or 0x402042) is known color: Mardi Gras. HEX triplet: 40, 20 and 42. RGB value is (64,32,66). Sum of RGB (Red+Green+Blue) = 64+32+66=162 (21% of max value = 765). Red value is 64 (25.39% from 255 or 39.51% from 162); Green value is 32 (12.89% from 255 or 19.75% from 162); Blue value is 66 (26.17% from 255 or 40.74% from 162); Max value from RGB is 66 - color contains mainly: blue. Hex color #402042 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402042 is #BFDFBD. Grayscale: #2D2D2D. Windows color (decimal): -12574654 or 4333632. OLE color: 4333632.
HSL color Cylindrical-coordinate representation of color #402042: hue angle of 296.47º degrees, saturation: 0.35, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.52%. Process color model (Four color, CMYK) of #402042 is Cyan = 0.03, Magento = 0.52, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 64 | 32 | 66 | - |
| CMYK | 0.03 | 0.52 | 0 | 0.74 |
| HSL | 296.47º | 0.35% | 0.19% | - |
| HSV(B) | 296.47º | 0.52% | 0.26% | - |
| XYZ | 3.61 | 2.52 | 5.45 | - |
| YUV | 45.44 | 139.6 | 141.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 32 | 66 | 0.03 | 0.52 | 0 | 0.74 | 296.47 | 0.35 | 0.19 |
| Hex | 40 | 20 | 42 | 3 | 34 | 0 | 4A | 128 | 23 | 13 |
| Octal | 100 | 40 | 102 | 3 | 64 | 0 | 112 | 450 | 43 | 23 |
| Binary | 1000000 | 100000 | 1000010 | 11 | 110100 | 0 | 1001010 | 100101000 | 100011 | 10011 |
Color Harmonies of #402042
Complementary color
Monochromatic Colors of #402042
Black with #402042
Text Example
Text Example
White with #402042
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402042; }
p { color: rgb(64,32,66); }
H1.HeaderClassName
{
color: #402042;
}
.AnyTagClassName
{
color: #402042;
}
</style>
background-color css
<style>
a { background-color: #402042; }
a { background-color: rgb(64,32,66); }
div.DivClassName
{
background-color: #402042;
}
.BgClassName
{
background-color: #402042;
}
</style>
border-color css
<style>
span { border-color: #402042; }
span { border-color: rgb(64,32,66); }
td.TdClassName
{
border-color: #402042;
}
.TagClassName
{
border-color: #402042;
}
</style>