In RGB color space, #5f46a2 hex color has a red value of 95, a green value of 70 and a blue value of 162.
In CMYK color space (used in color printing), #5f46a2 hex color is composed of 41.36% cyan, 56.79% magenta, 0% yellow and 36.47% black.
#5f46a2 color has a hue of 256.3 degrees, a saturation of 39.66% and a lightness of 45.5%.
#5f46a2 hex color contains mainly BLUE.
The closest web safe color of #5f46a2 is #663399
#5f46a2 hex color has a decimal value of 6244002.
HEX | 5f46a2 | #5f46a2 |
---|---|---|
RGB | 95, 70, 162 | rgb(95, 70, 162) |
RGB Percent | 37.25, 27.45, 63.53 | rgb(37.25, 27.45, 63.53) |
CMYK | 41, 57, 0, 36 | |
HSL | 256.3°, 39.66, 45.5 | hsl(256.3, 39.66%, 45.5%) |
HSV | 256.3°, 56.8, 63.5 |
XYZ | 13.431, 9.422, 35.293 |
---|---|
Hunter Lab | 30.695, 24.388, -46.684 |
CIE-LAB | 36.784, 32.912, -46.377 |
CIE-LCH | 36.784, 56.868, 305.362 |
CIE-LUV | 41.36, 56.79, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5f46a2
CMYK percent of color #5f46a2
Text with hexadecimal color #5f46a2
This text has a font color of #5f46a2
<p style="color:#5f46a2">Text here</p>
#5f46a2 Background Color
This box has a background color of #5f46a2
<div style="background-color:#5f46a2">Text here</div>
#5f46a2 Border Color
This box has a border color of #5f46a2
<div style="border: 4px solid #5f46a2">Text here</div>
CSS codes
<p style="color:#5f46a2">Text here</p>
<div style="background-color:#5f46a2">Text here</div>
<div style="border: 4px solid #5f46a2">Text here</div>
#5f46a2 Color on white background
This is how a font and box color of #5f46a2 will look
on a white background.
#5f46a2 Color on black background
This is how a font and box color of #5f46a2 hex color will look
on a black background.