In RGB color space, #2f0c9f hex color has a red value of 47, a green value of 12 and a blue value of 159.
In CMYK color space (used in color printing), #2f0c9f hex color is composed of 70.44% cyan, 92.45% magenta, 0% yellow and 37.65% black.
#2f0c9f color has a hue of 254.3 degrees, a saturation of 85.96% and a lightness of 33.5%.
#2f0c9f hex color contains mainly BLUE.
The closest web safe color of #2f0c9f is #330099
#2f0c9f hex color has a decimal value of 3083423.
HEX | 2f0c9f | #2f0c9f |
---|---|---|
RGB | 47, 12, 159 | rgb(47, 12, 159) |
RGB Percent | 18.43, 4.71, 62.35 | rgb(18.43, 4.71, 62.35) |
CMYK | 70, 92, 0, 38 | |
HSL | 254.3°, 85.96, 33.5 | hsl(254.3, 85.96%, 33.5%) |
HSV | 254.3°, 92.5, 62.4 |
XYZ | 7.562, 3.37, 33.053 |
---|---|
Hunter Lab | 18.358, 41.403, -93.902 |
CIE-LAB | 21.469, 53.546, -69.814 |
CIE-LCH | 21.469, 87.984, 307.488 |
CIE-LUV | 70.44, 92.45, 0, 37.65 |
Web Safe | 330099 |
RGB percent of color #2f0c9f
CMYK percent of color #2f0c9f
Text with hexadecimal color #2f0c9f
This text has a font color of #2f0c9f
<p style="color:#2f0c9f">Text here</p>
#2f0c9f Background Color
This box has a background color of #2f0c9f
<div style="background-color:#2f0c9f">Text here</div>
#2f0c9f Border Color
This box has a border color of #2f0c9f
<div style="border: 4px solid #2f0c9f">Text here</div>
CSS codes
<p style="color:#2f0c9f">Text here</p>
<div style="background-color:#2f0c9f">Text here</div>
<div style="border: 4px solid #2f0c9f">Text here</div>
#2f0c9f Color on white background
This is how a font and box color of #2f0c9f will look
on a white background.
#2f0c9f Color on black background
This is how a font and box color of #2f0c9f hex color will look
on a black background.