In RGB color space, #5a0f40 hex color has a red value of 90, a green value of 15 and a blue value of 64.
In CMYK color space (used in color printing), #5a0f40 hex color is composed of 0% cyan, 83.33% magenta, 28.89% yellow and 64.71% black.
#5a0f40 color has a hue of 320.8 degrees, a saturation of 71.43% and a lightness of 20.6%.
#5a0f40 hex color contains mainly RED.
The closest web safe color of #5a0f40 is #660033
#5a0f40 hex color has a decimal value of 5902144.
HEX | 5a0f40 | #5a0f40 |
---|---|---|
RGB | 90, 15, 64 | rgb(90, 15, 64) |
RGB Percent | 35.29, 5.88, 25.1 | rgb(35.29, 5.88, 25.1) |
CMYK | 0, 83, 29, 65 | |
HSL | 320.8°, 71.43, 20.6 | hsl(320.8, 71.43%, 20.6%) |
HSV | 320.8°, 83.3, 35.3 |
XYZ | 5.313, 2.885, 5.127 |
---|---|
Hunter Lab | 16.985, 26.111, -6.007 |
CIE-LAB | 19.577, 37.827, -10.881 |
CIE-LCH | 19.577, 39.361, 343.952 |
CIE-LUV | 0, 83.33, 28.89, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a0f40
CMYK percent of color #5a0f40
Text with hexadecimal color #5a0f40
This text has a font color of #5a0f40
<p style="color:#5a0f40">Text here</p>
#5a0f40 Background Color
This box has a background color of #5a0f40
<div style="background-color:#5a0f40">Text here</div>
#5a0f40 Border Color
This box has a border color of #5a0f40
<div style="border: 4px solid #5a0f40">Text here</div>
CSS codes
<p style="color:#5a0f40">Text here</p>
<div style="background-color:#5a0f40">Text here</div>
<div style="border: 4px solid #5a0f40">Text here</div>
#5a0f40 Color on white background
This is how a font and box color of #5a0f40 will look
on a white background.
#5a0f40 Color on black background
This is how a font and box color of #5a0f40 hex color will look
on a black background.