In RGB color space, #40157f hex color has a red value of 64, a green value of 21 and a blue value of 127.
In CMYK color space (used in color printing), #40157f hex color is composed of 49.61% cyan, 83.46% magenta, 0% yellow and 50.2% black.
#40157f color has a hue of 264.3 degrees, a saturation of 71.62% and a lightness of 29%.
#40157f hex color contains mainly BLUE.
The closest web safe color of #40157f is #330066
#40157f hex color has a decimal value of 4199807.
HEX | 40157f | #40157f |
---|---|---|
RGB | 64, 21, 127 | rgb(64, 21, 127) |
RGB Percent | 25.1, 8.24, 49.8 | rgb(25.1, 8.24, 49.8) |
CMYK | 50, 83, 0, 50 | |
HSL | 264.3°, 71.62, 29 | hsl(264.3, 71.62%, 29%) |
HSV | 264.3°, 83.5, 49.8 |
XYZ | 6.213, 3.159, 20.361 |
---|---|
Hunter Lab | 17.774, 31.293, -55.48 |
CIE-LAB | 20.67, 43.355, -51.146 |
CIE-LCH | 20.67, 67.049, 310.287 |
CIE-LUV | 49.61, 83.46, 0, 50.2 |
Web Safe | 330066 |
RGB percent of color #40157f
CMYK percent of color #40157f
Text with hexadecimal color #40157f
This text has a font color of #40157f
<p style="color:#40157f">Text here</p>
#40157f Background Color
This box has a background color of #40157f
<div style="background-color:#40157f">Text here</div>
#40157f Border Color
This box has a border color of #40157f
<div style="border: 4px solid #40157f">Text here</div>
CSS codes
<p style="color:#40157f">Text here</p>
<div style="background-color:#40157f">Text here</div>
<div style="border: 4px solid #40157f">Text here</div>
#40157f Color on white background
This is how a font and box color of #40157f will look
on a white background.
#40157f Color on black background
This is how a font and box color of #40157f hex color will look
on a black background.