In RGB color space, #5f40ec hex color has a red value of 95, a green value of 64 and a blue value of 236.
In CMYK color space (used in color printing), #5f40ec hex color is composed of 59.75% cyan, 72.88% magenta, 0% yellow and 7.45% black.
#5f40ec color has a hue of 250.8 degrees, a saturation of 81.9% and a lightness of 58.8%.
#5f40ec hex color contains mainly BLUE.
The closest web safe color of #5f40ec is #6633ff
#5f40ec hex color has a decimal value of 6242540.
HEX | 5f40ec | #5f40ec |
---|---|---|
RGB | 95, 64, 236 | rgb(95, 64, 236) |
RGB Percent | 37.25, 25.1, 92.55 | rgb(37.25, 25.1, 92.55) |
CMYK | 60, 73, 0, 7 | |
HSL | 250.8°, 81.9, 58.8 | hsl(250.8, 81.9%, 58.8%) |
HSV | 250.8°, 72.9, 92.5 |
XYZ | 21.693, 12.156, 80.56 |
---|---|
Hunter Lab | 34.865, 50.047, -112.589 |
CIE-LAB | 41.463, 57.875, -81.817 |
CIE-LCH | 41.463, 100.217, 305.274 |
CIE-LUV | 59.75, 72.88, 0, 7.45 |
Web Safe | 6633ff |
RGB percent of color #5f40ec
CMYK percent of color #5f40ec
Text with hexadecimal color #5f40ec
This text has a font color of #5f40ec
<p style="color:#5f40ec">Text here</p>
#5f40ec Background Color
This box has a background color of #5f40ec
<div style="background-color:#5f40ec">Text here</div>
#5f40ec Border Color
This box has a border color of #5f40ec
<div style="border: 4px solid #5f40ec">Text here</div>
CSS codes
<p style="color:#5f40ec">Text here</p>
<div style="background-color:#5f40ec">Text here</div>
<div style="border: 4px solid #5f40ec">Text here</div>
#5f40ec Color on white background
This is how a font and box color of #5f40ec will look
on a white background.
#5f40ec Color on black background
This is how a font and box color of #5f40ec hex color will look
on a black background.