In RGB color space, #2f159d hex color has a red value of 47, a green value of 21 and a blue value of 157.
In CMYK color space (used in color printing), #2f159d hex color is composed of 70.06% cyan, 86.62% magenta, 0% yellow and 38.43% black.
#2f159d color has a hue of 251.5 degrees, a saturation of 76.4% and a lightness of 34.9%.
#2f159d hex color contains mainly BLUE.
The closest web safe color of #2f159d is #330099
#2f159d hex color has a decimal value of 3085725.
HEX | 2f159d | #2f159d |
---|---|---|
RGB | 47, 21, 157 | rgb(47, 21, 157) |
RGB Percent | 18.43, 8.24, 61.57 | rgb(18.43, 8.24, 61.57) |
CMYK | 70, 87, 0, 38 | |
HSL | 251.5°, 76.4, 34.9 | hsl(251.5, 76.4%, 34.9%) |
HSV | 251.5°, 86.6, 61.6 |
XYZ | 7.526, 3.575, 32.192 |
---|---|
Hunter Lab | 18.908, 37.962, -87.711 |
CIE-LAB | 22.213, 49.993, -67.352 |
CIE-LCH | 22.213, 83.878, 306.585 |
CIE-LUV | 70.06, 86.62, 0, 38.43 |
Web Safe | 330099 |
RGB percent of color #2f159d
CMYK percent of color #2f159d
Text with hexadecimal color #2f159d
This text has a font color of #2f159d
<p style="color:#2f159d">Text here</p>
#2f159d Background Color
This box has a background color of #2f159d
<div style="background-color:#2f159d">Text here</div>
#2f159d Border Color
This box has a border color of #2f159d
<div style="border: 4px solid #2f159d">Text here</div>
CSS codes
<p style="color:#2f159d">Text here</p>
<div style="background-color:#2f159d">Text here</div>
<div style="border: 4px solid #2f159d">Text here</div>
#2f159d Color on white background
This is how a font and box color of #2f159d will look
on a white background.
#2f159d Color on black background
This is how a font and box color of #2f159d hex color will look
on a black background.