In RGB color space, #5f28ab hex color has a red value of 95, a green value of 40 and a blue value of 171.
In CMYK color space (used in color printing), #5f28ab hex color is composed of 44.44% cyan, 76.61% magenta, 0% yellow and 32.94% black.
#5f28ab color has a hue of 265.2 degrees, a saturation of 62.09% and a lightness of 41.4%.
#5f28ab hex color contains mainly BLUE.
The closest web safe color of #5f28ab is #663399
#5f28ab hex color has a decimal value of 6236331.
HEX | 5f28ab | #5f28ab |
---|---|---|
RGB | 95, 40, 171 | rgb(95, 40, 171) |
RGB Percent | 37.25, 15.69, 67.06 | rgb(37.25, 15.69, 67.06) |
CMYK | 44, 77, 0, 33 | |
HSL | 265.2°, 62.09, 41.4 | hsl(265.2, 62.09%, 41.4%) |
HSV | 265.2°, 76.6, 67.1 |
XYZ | 12.829, 6.891, 39.182 |
---|---|
Hunter Lab | 26.251, 41.296, -70.121 |
CIE-LAB | 31.557, 51.492, -60.261 |
CIE-LCH | 31.557, 79.264, 310.513 |
CIE-LUV | 44.44, 76.61, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5f28ab
CMYK percent of color #5f28ab
Text with hexadecimal color #5f28ab
This text has a font color of #5f28ab
<p style="color:#5f28ab">Text here</p>
#5f28ab Background Color
This box has a background color of #5f28ab
<div style="background-color:#5f28ab">Text here</div>
#5f28ab Border Color
This box has a border color of #5f28ab
<div style="border: 4px solid #5f28ab">Text here</div>
CSS codes
<p style="color:#5f28ab">Text here</p>
<div style="background-color:#5f28ab">Text here</div>
<div style="border: 4px solid #5f28ab">Text here</div>
#5f28ab Color on white background
This is how a font and box color of #5f28ab will look
on a white background.
#5f28ab Color on black background
This is how a font and box color of #5f28ab hex color will look
on a black background.