In RGB color space, #5b18a6 hex color has a red value of 91, a green value of 24 and a blue value of 166.
In CMYK color space (used in color printing), #5b18a6 hex color is composed of 45.18% cyan, 85.54% magenta, 0% yellow and 34.9% black.
#5b18a6 color has a hue of 268.3 degrees, a saturation of 74.74% and a lightness of 37.3%.
#5b18a6 hex color contains mainly BLUE.
The closest web safe color of #5b18a6 is #660099
#5b18a6 hex color has a decimal value of 5970086.
HEX | 5b18a6 | #5b18a6 |
---|---|---|
RGB | 91, 24, 166 | rgb(91, 24, 166) |
RGB Percent | 35.69, 9.41, 65.1 | rgb(35.69, 9.41, 65.1) |
CMYK | 45, 86, 0, 35 | |
HSL | 268.3°, 74.74, 37.3 | hsl(268.3, 74.74%, 37.3%) |
HSV | 268.3°, 85.5, 65.1 |
XYZ | 11.524, 5.631, 36.556 |
---|---|
Hunter Lab | 23.73, 45.159, -74.726 |
CIE-LAB | 28.462, 55.826, -62.347 |
CIE-LCH | 28.462, 83.688, 311.842 |
CIE-LUV | 45.18, 85.54, 0, 34.9 |
Web Safe | 660099 |
RGB percent of color #5b18a6
CMYK percent of color #5b18a6
Text with hexadecimal color #5b18a6
This text has a font color of #5b18a6
<p style="color:#5b18a6">Text here</p>
#5b18a6 Background Color
This box has a background color of #5b18a6
<div style="background-color:#5b18a6">Text here</div>
#5b18a6 Border Color
This box has a border color of #5b18a6
<div style="border: 4px solid #5b18a6">Text here</div>
CSS codes
<p style="color:#5b18a6">Text here</p>
<div style="background-color:#5b18a6">Text here</div>
<div style="border: 4px solid #5b18a6">Text here</div>
#5b18a6 Color on white background
This is how a font and box color of #5b18a6 will look
on a white background.
#5b18a6 Color on black background
This is how a font and box color of #5b18a6 hex color will look
on a black background.