In RGB color space, #5f45ab hex color has a red value of 95, a green value of 69 and a blue value of 171.
In CMYK color space (used in color printing), #5f45ab hex color is composed of 44.44% cyan, 59.65% magenta, 0% yellow and 32.94% black.
#5f45ab color has a hue of 255.3 degrees, a saturation of 42.5% and a lightness of 47.1%.
#5f45ab hex color contains mainly BLUE.
The closest web safe color of #5f45ab is #663399
#5f45ab hex color has a decimal value of 6243755.
HEX | 5f45ab | #5f45ab |
---|---|---|
RGB | 95, 69, 171 | rgb(95, 69, 171) |
RGB Percent | 37.25, 27.06, 67.06 | rgb(37.25, 27.06, 67.06) |
CMYK | 44, 60, 0, 33 | |
HSL | 255.3°, 42.5, 47.1 | hsl(255.3, 42.5%, 47.1%) |
HSV | 255.3°, 59.6, 67.1 |
XYZ | 14.198, 9.629, 39.638 |
---|---|
Hunter Lab | 31.031, 27.369, -54.015 |
CIE-LAB | 37.168, 36.124, -51.137 |
CIE-LCH | 37.168, 62.609, 305.238 |
CIE-LUV | 44.44, 59.65, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5f45ab
CMYK percent of color #5f45ab
Text with hexadecimal color #5f45ab
This text has a font color of #5f45ab
<p style="color:#5f45ab">Text here</p>
#5f45ab Background Color
This box has a background color of #5f45ab
<div style="background-color:#5f45ab">Text here</div>
#5f45ab Border Color
This box has a border color of #5f45ab
<div style="border: 4px solid #5f45ab">Text here</div>
CSS codes
<p style="color:#5f45ab">Text here</p>
<div style="background-color:#5f45ab">Text here</div>
<div style="border: 4px solid #5f45ab">Text here</div>
#5f45ab Color on white background
This is how a font and box color of #5f45ab will look
on a white background.
#5f45ab Color on black background
This is how a font and box color of #5f45ab hex color will look
on a black background.