Shades of Mardi Gras #28172A
Tints of Mardi Gras #28172A
RGB
CMYK
RGB Variations
Color information
#28172A (or 0x28172A) is known color: Mardi Gras. HEX triplet: 28, 17 and 2A. RGB value is (40,23,42). Sum of RGB (Red+Green+Blue) = 40+23+42=105 (13% of max value = 765). Red value is 40 (16.02% from 255 or 38.10% from 105); Green value is 23 (9.38% from 255 or 21.90% from 105); Blue value is 42 (16.80% from 255 or 40% from 105); Max value from RGB is 42 - color contains mainly: blue. Hex color #28172A is not a web safe color. Web safe color analog (approx): #330033. Inversed color of #28172A is #D7E8D5. Grayscale: #1E1E1E. Windows color (decimal): -14149846 or 2758440. OLE color: 2758440.
HSL color Cylindrical-coordinate representation of color #28172A: hue angle of 293.68º degrees, saturation: 0.29, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.16% and HSV saturation: 0.45%. Process color model (Four color, CMYK) of #28172A is Cyan = 0.05, Magento = 0.45, Yellow = 0 and Black (K on CMYK) = 0.84.
Color convert
| RGB | 40 | 23 | 42 | - |
| CMYK | 0.05 | 0.45 | 0 | 0.84 |
| HSL | 293.68º | 0.29% | 0.13% | - |
| HSV(B) | 293.68º | 0.45% | 0.16% | - |
| XYZ | 1.6 | 1.23 | 2.34 | - |
| YUV | 30.25 | 134.63 | 134.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 23 | 42 | 0.05 | 0.45 | 0 | 0.84 | 293.68 | 0.29 | 0.13 |
| Hex | 28 | 17 | 2A | 5 | 2D | 0 | 54 | 126 | 1D | D |
| Octal | 50 | 27 | 52 | 5 | 55 | 0 | 124 | 446 | 35 | 15 |
| Binary | 101000 | 10111 | 101010 | 101 | 101101 | 0 | 1010100 | 100100110 | 11101 | 1101 |
Color Harmonies of #28172A
Complementary color
Monochromatic Colors of #28172A
Black with #28172A
Text Example
Text Example
White with #28172A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28172A; }
p { color: rgb(40,23,42); }
H1.HeaderClassName
{
color: #28172A;
}
.AnyTagClassName
{
color: #28172A;
}
</style>
background-color css
<style>
a { background-color: #28172A; }
a { background-color: rgb(40,23,42); }
div.DivClassName
{
background-color: #28172A;
}
.BgClassName
{
background-color: #28172A;
}
</style>
border-color css
<style>
span { border-color: #28172A; }
span { border-color: rgb(40,23,42); }
td.TdClassName
{
border-color: #28172A;
}
.TagClassName
{
border-color: #28172A;
}
</style>