Shades of Mahogany #D54042
Tints of Mahogany #D54042
RGB
CMYK
RGB Variations
Color information
#D54042 (or 0xD54042) is known color: Mahogany. HEX triplet: D5, 40 and 42. RGB value is (213,64,66). Sum of RGB (Red+Green+Blue) = 213+64+66=343 (45% of max value = 765). Red value is 213 (83.59% from 255 or 62.10% from 343); Green value is 64 (25.39% from 255 or 18.66% from 343); Blue value is 66 (26.17% from 255 or 19.24% from 343); Max value from RGB is 213 - color contains mainly: red. Hex color #D54042 is not a web safe color. Web safe color analog (approx): #CC3333. Inversed color of #D54042 is #2ABFBD. Grayscale: #6C6C6C. Windows color (decimal): -2801598 or 4341973. OLE color: 4341973.
HSL color Cylindrical-coordinate representation of color #D54042: hue angle of 359.19º degrees, saturation: 0.64, lightness: 0.54%. HSV value (or HSB Brightness) of color is 0.84% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #D54042 is Cyan = 0, Magento = 0.70, Yellow = 0.69 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 213 | 64 | 66 | - |
| CMYK | 0 | 0.70 | 0.69 | 0.16 |
| HSL | 359.19º | 0.64% | 0.54% | - |
| HSV(B) | 359.19º | 0.7% | 0.84% | - |
| XYZ | 30.26 | 18.21 | 7.07 | - |
| YUV | 108.78 | 103.86 | 202.34 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 213 | 64 | 66 | 0 | 0.70 | 0.69 | 0.16 | 359.19 | 0.64 | 0.54 |
| Hex | D5 | 40 | 42 | 0 | 46 | 45 | 10 | 167 | 40 | 36 |
| Octal | 325 | 100 | 102 | 0 | 106 | 105 | 20 | 547 | 100 | 66 |
| Binary | 11010101 | 1000000 | 1000010 | 0 | 1000110 | 1000101 | 10000 | 101100111 | 1000000 | 110110 |
Color Harmonies of #D54042
Complementary color
Monochromatic Colors of #D54042
Black with #D54042
Text Example
Text Example
White with #D54042
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D54042; }
p { color: rgb(213,64,66); }
H1.HeaderClassName
{
color: #D54042;
}
.AnyTagClassName
{
color: #D54042;
}
</style>
background-color css
<style>
a { background-color: #D54042; }
a { background-color: rgb(213,64,66); }
div.DivClassName
{
background-color: #D54042;
}
.BgClassName
{
background-color: #D54042;
}
</style>
border-color css
<style>
span { border-color: #D54042; }
span { border-color: rgb(213,64,66); }
td.TdClassName
{
border-color: #D54042;
}
.TagClassName
{
border-color: #D54042;
}
</style>