Shades of Mardi Gras #400542
Tints of Mardi Gras #400542
RGB
CMYK
RGB Variations
Color information
#400542 (or 0x400542) is known color: Mardi Gras. HEX triplet: 40, 05 and 42. RGB value is (64,5,66). Sum of RGB (Red+Green+Blue) = 64+5+66=135 (17% of max value = 765). Red value is 64 (25.39% from 255 or 47.41% from 135); Green value is 5 (2.34% from 255 or 3.70% from 135); Blue value is 66 (26.17% from 255 or 48.89% from 135); Max value from RGB is 66 - color contains mainly: blue. Hex color #400542 is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #400542 is #BFFABD. Grayscale: #1D1D1D. Windows color (decimal): -12581566 or 4326720. OLE color: 4326720.
HSL color Cylindrical-coordinate representation of color #400542: hue angle of 298.03º degrees, saturation: 0.86, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.92%. Process color model (Four color, CMYK) of #400542 is Cyan = 0.03, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 64 | 5 | 66 | - |
| CMYK | 0.03 | 0.92 | 0 | 0.74 |
| HSL | 298.03º | 0.86% | 0.14% | - |
| HSV(B) | 298.03º | 0.92% | 0.26% | - |
| XYZ | 3.15 | 1.59 | 5.3 | - |
| YUV | 29.6 | 148.55 | 152.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 5 | 66 | 0.03 | 0.92 | 0 | 0.74 | 298.03 | 0.86 | 0.14 |
| Hex | 40 | 5 | 42 | 3 | 5C | 0 | 4A | 12A | 56 | E |
| Octal | 100 | 5 | 102 | 3 | 134 | 0 | 112 | 452 | 126 | 16 |
| Binary | 1000000 | 101 | 1000010 | 11 | 1011100 | 0 | 1001010 | 100101010 | 1010110 | 1110 |
Color Harmonies of #400542
Complementary color
Monochromatic Colors of #400542
Black with #400542
Text Example
Text Example
White with #400542
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #400542; }
p { color: rgb(64,5,66); }
H1.HeaderClassName
{
color: #400542;
}
.AnyTagClassName
{
color: #400542;
}
</style>
background-color css
<style>
a { background-color: #400542; }
a { background-color: rgb(64,5,66); }
div.DivClassName
{
background-color: #400542;
}
.BgClassName
{
background-color: #400542;
}
</style>
border-color css
<style>
span { border-color: #400542; }
span { border-color: rgb(64,5,66); }
td.TdClassName
{
border-color: #400542;
}
.TagClassName
{
border-color: #400542;
}
</style>