In RGB color space, #5f45c4 hex color has a red value of 95, a green value of 69 and a blue value of 196.
In CMYK color space (used in color printing), #5f45c4 hex color is composed of 51.53% cyan, 64.8% magenta, 0% yellow and 23.14% black.
#5f45c4 color has a hue of 252.3 degrees, a saturation of 51.84% and a lightness of 52%.
#5f45c4 hex color contains mainly BLUE.
The closest web safe color of #5f45c4 is #6633cc
#5f45c4 hex color has a decimal value of 6243780.
HEX | 5f45c4 | #5f45c4 |
---|---|---|
RGB | 95, 69, 196 | rgb(95, 69, 196) |
RGB Percent | 37.25, 27.06, 76.86 | rgb(37.25, 27.06, 76.86) |
CMYK | 52, 65, 0, 23 | |
HSL | 252.3°, 51.84, 52 | hsl(252.3, 51.84%, 52%) |
HSV | 252.3°, 64.8, 76.9 |
XYZ | 16.811, 10.675, 53.399 |
---|---|
Hunter Lab | 32.673, 34.666, -74.031 |
CIE-LAB | 39.028, 43.477, -62.845 |
CIE-LCH | 39.028, 76.418, 304.676 |
CIE-LUV | 51.53, 64.8, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #5f45c4
CMYK percent of color #5f45c4
Text with hexadecimal color #5f45c4
This text has a font color of #5f45c4
<p style="color:#5f45c4">Text here</p>
#5f45c4 Background Color
This box has a background color of #5f45c4
<div style="background-color:#5f45c4">Text here</div>
#5f45c4 Border Color
This box has a border color of #5f45c4
<div style="border: 4px solid #5f45c4">Text here</div>
CSS codes
<p style="color:#5f45c4">Text here</p>
<div style="background-color:#5f45c4">Text here</div>
<div style="border: 4px solid #5f45c4">Text here</div>
#5f45c4 Color on white background
This is how a font and box color of #5f45c4 will look
on a white background.
#5f45c4 Color on black background
This is how a font and box color of #5f45c4 hex color will look
on a black background.