In RGB color space, #5402d5 hex color has a red value of 84, a green value of 2 and a blue value of 213.
In CMYK color space (used in color printing), #5402d5 hex color is composed of 60.56% cyan, 99.06% magenta, 0% yellow and 16.47% black.
#5402d5 color has a hue of 263.3 degrees, a saturation of 98.14% and a lightness of 42.2%.
#5402d5 hex color contains mainly BLUE.
The closest web safe color of #5402d5 is #6600cc
#5402d5 hex color has a decimal value of 5505749.
HEX | 5402d5 | #5402d5 |
---|---|---|
RGB | 84, 2, 213 | rgb(84, 2, 213) |
RGB Percent | 32.94, 0.78, 83.53 | rgb(32.94, 0.78, 83.53) |
CMYK | 61, 99, 0, 16 | |
HSL | 263.3°, 98.14, 42.2 | hsl(263.3, 98.14%, 42.2%) |
HSV | 263.3°, 99.1, 83.5 |
XYZ | 15.688, 6.732, 63.423 |
---|---|
Hunter Lab | 25.946, 62.522, -126.767 |
CIE-LAB | 31.189, 70.871, -85.669 |
CIE-LCH | 31.189, 111.184, 309.6 |
CIE-LUV | 60.56, 99.06, 0, 16.47 |
Web Safe | 6600cc |
RGB percent of color #5402d5
CMYK percent of color #5402d5
Text with hexadecimal color #5402d5
This text has a font color of #5402d5
<p style="color:#5402d5">Text here</p>
#5402d5 Background Color
This box has a background color of #5402d5
<div style="background-color:#5402d5">Text here</div>
#5402d5 Border Color
This box has a border color of #5402d5
<div style="border: 4px solid #5402d5">Text here</div>
CSS codes
<p style="color:#5402d5">Text here</p>
<div style="background-color:#5402d5">Text here</div>
<div style="border: 4px solid #5402d5">Text here</div>
#5402d5 Color on white background
This is how a font and box color of #5402d5 will look
on a white background.
#5402d5 Color on black background
This is how a font and box color of #5402d5 hex color will look
on a black background.