Shades of Mardi Gras #400842
Tints of Mardi Gras #400842
RGB
CMYK
RGB Variations
Color information
#400842 (or 0x400842) is known color: Mardi Gras. HEX triplet: 40, 08 and 42. RGB value is (64,8,66). Sum of RGB (Red+Green+Blue) = 64+8+66=138 (18% of max value = 765). Red value is 64 (25.39% from 255 or 46.38% from 138); Green value is 8 (3.52% from 255 or 5.80% from 138); Blue value is 66 (26.17% from 255 or 47.83% from 138); Max value from RGB is 66 - color contains mainly: blue. Hex color #400842 is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #400842 is #BFF7BD. Grayscale: #1F1F1F. Windows color (decimal): -12580798 or 4327488. OLE color: 4327488.
HSL color Cylindrical-coordinate representation of color #400842: hue angle of 297.93º degrees, saturation: 0.78, lightness: 0.15%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #400842 is Cyan = 0.03, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 64 | 8 | 66 | - |
| CMYK | 0.03 | 0.88 | 0 | 0.74 |
| HSL | 297.93º | 0.78% | 0.15% | - |
| HSV(B) | 297.93º | 0.88% | 0.26% | - |
| XYZ | 3.18 | 1.66 | 5.31 | - |
| YUV | 31.36 | 147.55 | 151.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 8 | 66 | 0.03 | 0.88 | 0 | 0.74 | 297.93 | 0.78 | 0.15 |
| Hex | 40 | 8 | 42 | 3 | 58 | 0 | 4A | 12A | 4E | F |
| Octal | 100 | 10 | 102 | 3 | 130 | 0 | 112 | 452 | 116 | 17 |
| Binary | 1000000 | 1000 | 1000010 | 11 | 1011000 | 0 | 1001010 | 100101010 | 1001110 | 1111 |
Color Harmonies of #400842
Complementary color
Monochromatic Colors of #400842
Black with #400842
Text Example
Text Example
White with #400842
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #400842; }
p { color: rgb(64,8,66); }
H1.HeaderClassName
{
color: #400842;
}
.AnyTagClassName
{
color: #400842;
}
</style>
background-color css
<style>
a { background-color: #400842; }
a { background-color: rgb(64,8,66); }
div.DivClassName
{
background-color: #400842;
}
.BgClassName
{
background-color: #400842;
}
</style>
border-color css
<style>
span { border-color: #400842; }
span { border-color: rgb(64,8,66); }
td.TdClassName
{
border-color: #400842;
}
.TagClassName
{
border-color: #400842;
}
</style>