In RGB color space, #5f18a4 hex color has a red value of 95, a green value of 24 and a blue value of 164.
In CMYK color space (used in color printing), #5f18a4 hex color is composed of 42.07% cyan, 85.37% magenta, 0% yellow and 35.69% black.
#5f18a4 color has a hue of 270.4 degrees, a saturation of 74.47% and a lightness of 36.9%.
#5f18a4 hex color contains mainly BLUE.
The closest web safe color of #5f18a4 is #660099
#5f18a4 hex color has a decimal value of 6232228.
HEX | 5f18a4 | #5f18a4 |
---|---|---|
RGB | 95, 24, 164 | rgb(95, 24, 164) |
RGB Percent | 37.25, 9.41, 64.31 | rgb(37.25, 9.41, 64.31) |
CMYK | 42, 85, 0, 36 | |
HSL | 270.4°, 74.47, 36.9 | hsl(270.4, 74.47%, 36.9%) |
HSV | 270.4°, 85.4, 64.3 |
XYZ | 11.747, 5.766, 35.616 |
---|---|
Hunter Lab | 24.012, 45.301, -71.132 |
CIE-LAB | 28.814, 55.893, -60.537 |
CIE-LCH | 28.814, 82.394, 312.716 |
CIE-LUV | 42.07, 85.37, 0, 35.69 |
Web Safe | 660099 |
RGB percent of color #5f18a4
CMYK percent of color #5f18a4
Text with hexadecimal color #5f18a4
This text has a font color of #5f18a4
<p style="color:#5f18a4">Text here</p>
#5f18a4 Background Color
This box has a background color of #5f18a4
<div style="background-color:#5f18a4">Text here</div>
#5f18a4 Border Color
This box has a border color of #5f18a4
<div style="border: 4px solid #5f18a4">Text here</div>
CSS codes
<p style="color:#5f18a4">Text here</p>
<div style="background-color:#5f18a4">Text here</div>
<div style="border: 4px solid #5f18a4">Text here</div>
#5f18a4 Color on white background
This is how a font and box color of #5f18a4 will look
on a white background.
#5f18a4 Color on black background
This is how a font and box color of #5f18a4 hex color will look
on a black background.