In RGB color space, #5f02c6 hex color has a red value of 95, a green value of 2 and a blue value of 198.
In CMYK color space (used in color printing), #5f02c6 hex color is composed of 52.02% cyan, 98.99% magenta, 0% yellow and 22.35% black.
#5f02c6 color has a hue of 268.5 degrees, a saturation of 98% and a lightness of 39.2%.
#5f02c6 hex color contains mainly BLUE.
The closest web safe color of #5f02c6 is #6600cc
#5f02c6 hex color has a decimal value of 6226630.
HEX | 5f02c6 | #5f02c6 |
---|---|---|
RGB | 95, 2, 198 | rgb(95, 2, 198) |
RGB Percent | 37.25, 0.78, 77.65 | rgb(37.25, 0.78, 77.65) |
CMYK | 52, 99, 0, 22 | |
HSL | 268.5°, 98, 39.2 | hsl(268.5, 98%, 39.2%) |
HSV | 268.5°, 99, 77.6 |
XYZ | 14.934, 6.554, 53.904 |
---|---|
Hunter Lab | 25.601, 59.325, -106.918 |
CIE-LAB | 30.769, 68.213, -77.579 |
CIE-LCH | 30.769, 103.303, 311.324 |
CIE-LUV | 52.02, 98.99, 0, 22.35 |
Web Safe | 6600cc |
RGB percent of color #5f02c6
CMYK percent of color #5f02c6
Text with hexadecimal color #5f02c6
This text has a font color of #5f02c6
<p style="color:#5f02c6">Text here</p>
#5f02c6 Background Color
This box has a background color of #5f02c6
<div style="background-color:#5f02c6">Text here</div>
#5f02c6 Border Color
This box has a border color of #5f02c6
<div style="border: 4px solid #5f02c6">Text here</div>
CSS codes
<p style="color:#5f02c6">Text here</p>
<div style="background-color:#5f02c6">Text here</div>
<div style="border: 4px solid #5f02c6">Text here</div>
#5f02c6 Color on white background
This is how a font and box color of #5f02c6 will look
on a white background.
#5f02c6 Color on black background
This is how a font and box color of #5f02c6 hex color will look
on a black background.