In RGB color space, #5f46cd hex color has a red value of 95, a green value of 70 and a blue value of 205.
In CMYK color space (used in color printing), #5f46cd hex color is composed of 53.66% cyan, 65.85% magenta, 0% yellow and 19.61% black.
#5f46cd color has a hue of 251.1 degrees, a saturation of 57.45% and a lightness of 53.9%.
#5f46cd hex color contains mainly BLUE.
The closest web safe color of #5f46cd is #6633cc
#5f46cd hex color has a decimal value of 6244045.
HEX | 5f46cd | #5f46cd |
---|---|---|
RGB | 95, 70, 205 | rgb(95, 70, 205) |
RGB Percent | 37.25, 27.45, 80.39 | rgb(37.25, 27.45, 80.39) |
CMYK | 54, 66, 0, 20 | |
HSL | 251.1°, 57.45, 53.9 | hsl(251.1, 57.45%, 53.9%) |
HSV | 251.1°, 65.9, 80.4 |
XYZ | 17.929, 11.221, 58.979 |
---|---|
Hunter Lab | 33.498, 36.917, -80.943 |
CIE-LAB | 39.95, 45.589, -66.567 |
CIE-LCH | 39.95, 80.682, 304.406 |
CIE-LUV | 53.66, 65.85, 0, 19.61 |
Web Safe | 6633cc |
RGB percent of color #5f46cd
CMYK percent of color #5f46cd
Text with hexadecimal color #5f46cd
This text has a font color of #5f46cd
<p style="color:#5f46cd">Text here</p>
#5f46cd Background Color
This box has a background color of #5f46cd
<div style="background-color:#5f46cd">Text here</div>
#5f46cd Border Color
This box has a border color of #5f46cd
<div style="border: 4px solid #5f46cd">Text here</div>
CSS codes
<p style="color:#5f46cd">Text here</p>
<div style="background-color:#5f46cd">Text here</div>
<div style="border: 4px solid #5f46cd">Text here</div>
#5f46cd Color on white background
This is how a font and box color of #5f46cd will look
on a white background.
#5f46cd Color on black background
This is how a font and box color of #5f46cd hex color will look
on a black background.