Shades of Mardi Gras #400042
Tints of Mardi Gras #400042
RGB
CMYK
RGB Variations
Color information
#400042 (or 0x400042) is known color: Mardi Gras. HEX triplet: 40, 00 and 42. RGB value is (64,0,66). Sum of RGB (Red+Green+Blue) = 64+0+66=130 (17% of max value = 765). Red value is 64 (25.39% from 255 or 49.23% from 130); Green value is 0 (0.39% from 255 or 0% from 130); Blue value is 66 (26.17% from 255 or 50.77% from 130); Max value from RGB is 66 - color contains mainly: blue. Hex color #400042 is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #400042 is #BFFFBD. Grayscale: #1A1A1A. Windows color (decimal): -12582846 or 4325440. OLE color: 4325440.
HSL color Cylindrical-coordinate representation of color #400042: hue angle of 298.18º degrees, saturation: 1, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 1%. Process color model (Four color, CMYK) of #400042 is Cyan = 0.03, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 64 | 0 | 66 | - |
| CMYK | 0.03 | 1 | 0 | 0.74 |
| HSL | 298.18º | 1% | 0.13% | - |
| HSV(B) | 298.18º | 1% | 0.26% | - |
| XYZ | 3.1 | 1.48 | 5.28 | - |
| YUV | 26.66 | 150.2 | 154.63 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 0 | 66 | 0.03 | 1 | 0 | 0.74 | 298.18 | 1 | 0.13 |
| Hex | 40 | 0 | 42 | 3 | 64 | 0 | 4A | 12A | 64 | D |
| Octal | 100 | 0 | 102 | 3 | 144 | 0 | 112 | 452 | 144 | 15 |
| Binary | 1000000 | 0 | 1000010 | 11 | 1100100 | 0 | 1001010 | 100101010 | 1100100 | 1101 |
Color Harmonies of #400042
Complementary color
Monochromatic Colors of #400042
Black with #400042
Text Example
Text Example
White with #400042
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #400042; }
p { color: rgb(64,0,66); }
H1.HeaderClassName
{
color: #400042;
}
.AnyTagClassName
{
color: #400042;
}
</style>
background-color css
<style>
a { background-color: #400042; }
a { background-color: rgb(64,0,66); }
div.DivClassName
{
background-color: #400042;
}
.BgClassName
{
background-color: #400042;
}
</style>
border-color css
<style>
span { border-color: #400042; }
span { border-color: rgb(64,0,66); }
td.TdClassName
{
border-color: #400042;
}
.TagClassName
{
border-color: #400042;
}
</style>