In RGB color space, #540128 hex color has a red value of 84, a green value of 1 and a blue value of 40.
In CMYK color space (used in color printing), #540128 hex color is composed of 0% cyan, 98.81% magenta, 52.38% yellow and 67.06% black.
#540128 color has a hue of 331.8 degrees, a saturation of 97.65% and a lightness of 16.7%.
#540128 hex color contains mainly RED.
The closest web safe color of #540128 is #660033
#540128 hex color has a decimal value of 5505320.
HEX | 540128 | #540128 |
---|---|---|
RGB | 84, 1, 40 | rgb(84, 1, 40) |
RGB Percent | 32.94, 0.39, 15.69 | rgb(32.94, 0.39, 15.69) |
CMYK | 0, 99, 52, 67 | |
HSL | 331.8°, 97.65, 16.7 | hsl(331.8, 97.65%, 16.7%) |
HSV | 331.8°, 98.8, 32.9 |
XYZ | 4.05, 2.06, 2.192 |
---|---|
Hunter Lab | 14.353, 25.251, 0.992 |
CIE-LAB | 15.799, 37.575, 0.419 |
CIE-LCH | 15.799, 37.577, 0.639 |
CIE-LUV | 0, 98.81, 52.38, 67.06 |
Web Safe | 660033 |
RGB percent of color #540128
CMYK percent of color #540128
Text with hexadecimal color #540128
This text has a font color of #540128
<p style="color:#540128">Text here</p>
#540128 Background Color
This box has a background color of #540128
<div style="background-color:#540128">Text here</div>
#540128 Border Color
This box has a border color of #540128
<div style="border: 4px solid #540128">Text here</div>
CSS codes
<p style="color:#540128">Text here</p>
<div style="background-color:#540128">Text here</div>
<div style="border: 4px solid #540128">Text here</div>
#540128 Color on white background
This is how a font and box color of #540128 will look
on a white background.
#540128 Color on black background
This is how a font and box color of #540128 hex color will look
on a black background.