Shades of Tyrian Purple #540228
Tints of Tyrian Purple #540228
RGB
CMYK
RGB Variations
Color information
#540228 (or 0x540228) is known color: Tyrian Purple. HEX triplet: 54, 02 and 28. RGB value is (84,2,40). Sum of RGB (Red+Green+Blue) = 84+2+40=126 (16% of max value = 765). Red value is 84 (33.20% from 255 or 66.67% from 126); Green value is 2 (1.17% from 255 or 1.59% from 126); Blue value is 40 (16.02% from 255 or 31.75% from 126); Max value from RGB is 84 - color contains mainly: red. Hex color #540228 is not a web safe color. Web safe color analog (approx): #660033. Inversed color of #540228 is #ABFDD7. Grayscale: #1E1E1E. Windows color (decimal): -11271640 or 2622036. OLE color: 2622036.
HSL color Cylindrical-coordinate representation of color #540228: hue angle of 332.2º degrees, saturation: 0.95, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.33% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #540228 is Cyan = 0, Magento = 0.98, Yellow = 0.52 and Black (K on CMYK) = 0.67.
Color convert
| RGB | 84 | 2 | 40 | - |
| CMYK | 0 | 0.98 | 0.52 | 0.67 |
| HSL | 332.2º | 0.95% | 0.17% | - |
| HSV(B) | 332.2º | 0.98% | 0.33% | - |
| XYZ | 4.06 | 2.08 | 2.2 | - |
| YUV | 30.85 | 133.17 | 165.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 84 | 2 | 40 | 0 | 0.98 | 0.52 | 0.67 | 332.2 | 0.95 | 0.17 |
| Hex | 54 | 2 | 28 | 0 | 62 | 34 | 43 | 14C | 5F | 11 |
| Octal | 124 | 2 | 50 | 0 | 142 | 64 | 103 | 514 | 137 | 21 |
| Binary | 1010100 | 10 | 101000 | 0 | 1100010 | 110100 | 1000011 | 101001100 | 1011111 | 10001 |
Color Harmonies of #540228
Complementary color
Monochromatic Colors of #540228
Black with #540228
Text Example
Text Example
White with #540228
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #540228; }
p { color: rgb(84,2,40); }
H1.HeaderClassName
{
color: #540228;
}
.AnyTagClassName
{
color: #540228;
}
</style>
background-color css
<style>
a { background-color: #540228; }
a { background-color: rgb(84,2,40); }
div.DivClassName
{
background-color: #540228;
}
.BgClassName
{
background-color: #540228;
}
</style>
border-color css
<style>
span { border-color: #540228; }
span { border-color: rgb(84,2,40); }
td.TdClassName
{
border-color: #540228;
}
.TagClassName
{
border-color: #540228;
}
</style>