In RGB color space, #2f0c9b hex color has a red value of 47, a green value of 12 and a blue value of 155.
In CMYK color space (used in color printing), #2f0c9b hex color is composed of 69.68% cyan, 92.26% magenta, 0% yellow and 39.22% black.
#2f0c9b color has a hue of 254.7 degrees, a saturation of 85.63% and a lightness of 32.7%.
#2f0c9b hex color contains mainly BLUE.
The closest web safe color of #2f0c9b is #330099
#2f0c9b hex color has a decimal value of 3083419.
HEX | 2f0c9b | #2f0c9b |
---|---|---|
RGB | 47, 12, 155 | rgb(47, 12, 155) |
RGB Percent | 18.43, 4.71, 60.78 | rgb(18.43, 4.71, 60.78) |
CMYK | 70, 92, 0, 39 | |
HSL | 254.7°, 85.63, 32.7 | hsl(254.7, 85.63%, 32.7%) |
HSV | 254.7°, 92.3, 60.8 |
XYZ | 7.22, 3.234, 31.254 |
---|---|
Hunter Lab | 17.983, 40.194, -90.454 |
CIE-LAB | 20.958, 52.456, -68.21 |
CIE-LCH | 20.958, 86.048, 307.562 |
CIE-LUV | 69.68, 92.26, 0, 39.22 |
Web Safe | 330099 |
RGB percent of color #2f0c9b
CMYK percent of color #2f0c9b
Text with hexadecimal color #2f0c9b
This text has a font color of #2f0c9b
<p style="color:#2f0c9b">Text here</p>
#2f0c9b Background Color
This box has a background color of #2f0c9b
<div style="background-color:#2f0c9b">Text here</div>
#2f0c9b Border Color
This box has a border color of #2f0c9b
<div style="border: 4px solid #2f0c9b">Text here</div>
CSS codes
<p style="color:#2f0c9b">Text here</p>
<div style="background-color:#2f0c9b">Text here</div>
<div style="border: 4px solid #2f0c9b">Text here</div>
#2f0c9b Color on white background
This is how a font and box color of #2f0c9b will look
on a white background.
#2f0c9b Color on black background
This is how a font and box color of #2f0c9b hex color will look
on a black background.