In RGB color space, #2f159c hex color has a red value of 47, a green value of 21 and a blue value of 156.
In CMYK color space (used in color printing), #2f159c hex color is composed of 69.87% cyan, 86.54% magenta, 0% yellow and 38.82% black.
#2f159c color has a hue of 251.6 degrees, a saturation of 76.27% and a lightness of 34.7%.
#2f159c hex color contains mainly BLUE.
The closest web safe color of #2f159c is #330099
#2f159c hex color has a decimal value of 3085724.
HEX | 2f159c | #2f159c |
---|---|---|
RGB | 47, 21, 156 | rgb(47, 21, 156) |
RGB Percent | 18.43, 8.24, 61.18 | rgb(18.43, 8.24, 61.18) |
CMYK | 70, 87, 0, 39 | |
HSL | 251.6°, 76.27, 34.7 | hsl(251.6, 76.27%, 34.7%) |
HSV | 251.6°, 86.5, 61.2 |
XYZ | 7.441, 3.541, 31.744 |
---|---|
Hunter Lab | 18.818, 37.653, -86.846 |
CIE-LAB | 22.092, 49.706, -66.941 |
CIE-LCH | 22.092, 83.377, 306.595 |
CIE-LUV | 69.87, 86.54, 0, 38.82 |
Web Safe | 330099 |
RGB percent of color #2f159c
CMYK percent of color #2f159c
Text with hexadecimal color #2f159c
This text has a font color of #2f159c
<p style="color:#2f159c">Text here</p>
#2f159c Background Color
This box has a background color of #2f159c
<div style="background-color:#2f159c">Text here</div>
#2f159c Border Color
This box has a border color of #2f159c
<div style="border: 4px solid #2f159c">Text here</div>
CSS codes
<p style="color:#2f159c">Text here</p>
<div style="background-color:#2f159c">Text here</div>
<div style="border: 4px solid #2f159c">Text here</div>
#2f159c Color on white background
This is how a font and box color of #2f159c will look
on a white background.
#2f159c Color on black background
This is how a font and box color of #2f159c hex color will look
on a black background.