In RGB color space, #5f04b8 hex color has a red value of 95, a green value of 4 and a blue value of 184.
In CMYK color space (used in color printing), #5f04b8 hex color is composed of 48.37% cyan, 97.83% magenta, 0% yellow and 27.84% black.
#5f04b8 color has a hue of 270.3 degrees, a saturation of 95.74% and a lightness of 36.9%.
#5f04b8 hex color contains mainly BLUE.
The closest web safe color of #5f04b8 is #6600cc
#5f04b8 hex color has a decimal value of 6227128.
HEX | 5f04b8 | #5f04b8 |
---|---|---|
RGB | 95, 4, 184 | rgb(95, 4, 184) |
RGB Percent | 37.25, 1.57, 72.16 | rgb(37.25, 1.57, 72.16) |
CMYK | 48, 98, 0, 28 | |
HSL | 270.3°, 95.74, 36.9 | hsl(270.3, 95.74%, 36.9%) |
HSV | 270.3°, 97.8, 72.2 |
XYZ | 13.414, 5.98, 45.795 |
---|---|
Hunter Lab | 24.454, 55.12, -93.914 |
CIE-LAB | 29.362, 64.796, -71.637 |
CIE-LCH | 29.362, 96.594, 312.129 |
CIE-LUV | 48.37, 97.83, 0, 27.84 |
Web Safe | 6600cc |
RGB percent of color #5f04b8
CMYK percent of color #5f04b8
Text with hexadecimal color #5f04b8
This text has a font color of #5f04b8
<p style="color:#5f04b8">Text here</p>
#5f04b8 Background Color
This box has a background color of #5f04b8
<div style="background-color:#5f04b8">Text here</div>
#5f04b8 Border Color
This box has a border color of #5f04b8
<div style="border: 4px solid #5f04b8">Text here</div>
CSS codes
<p style="color:#5f04b8">Text here</p>
<div style="background-color:#5f04b8">Text here</div>
<div style="border: 4px solid #5f04b8">Text here</div>
#5f04b8 Color on white background
This is how a font and box color of #5f04b8 will look
on a white background.
#5f04b8 Color on black background
This is how a font and box color of #5f04b8 hex color will look
on a black background.