In RGB color space, #5f45b6 hex color has a red value of 95, a green value of 69 and a blue value of 182.
In CMYK color space (used in color printing), #5f45b6 hex color is composed of 47.8% cyan, 62.09% magenta, 0% yellow and 28.63% black.
#5f45b6 color has a hue of 253.8 degrees, a saturation of 45.02% and a lightness of 49.2%.
#5f45b6 hex color contains mainly BLUE.
The closest web safe color of #5f45b6 is #6633cc
#5f45b6 hex color has a decimal value of 6243766.
HEX | 5f45b6 | #5f45b6 |
---|---|---|
RGB | 95, 69, 182 | rgb(95, 69, 182) |
RGB Percent | 37.25, 27.06, 71.37 | rgb(37.25, 27.06, 71.37) |
CMYK | 48, 62, 0, 29 | |
HSL | 253.8°, 45.02, 49.2 | hsl(253.8, 45.02%, 49.2%) |
HSV | 253.8°, 62.1, 71.4 |
XYZ | 15.291, 10.067, 45.393 |
---|---|
Hunter Lab | 31.729, 30.5, -62.614 |
CIE-LAB | 37.962, 39.341, -56.369 |
CIE-LCH | 37.962, 68.74, 304.912 |
CIE-LUV | 47.8, 62.09, 0, 28.63 |
Web Safe | 6633cc |
RGB percent of color #5f45b6
CMYK percent of color #5f45b6
Text with hexadecimal color #5f45b6
This text has a font color of #5f45b6
<p style="color:#5f45b6">Text here</p>
#5f45b6 Background Color
This box has a background color of #5f45b6
<div style="background-color:#5f45b6">Text here</div>
#5f45b6 Border Color
This box has a border color of #5f45b6
<div style="border: 4px solid #5f45b6">Text here</div>
CSS codes
<p style="color:#5f45b6">Text here</p>
<div style="background-color:#5f45b6">Text here</div>
<div style="border: 4px solid #5f45b6">Text here</div>
#5f45b6 Color on white background
This is how a font and box color of #5f45b6 will look
on a white background.
#5f45b6 Color on black background
This is how a font and box color of #5f45b6 hex color will look
on a black background.