In RGB color space, #2f1797 hex color has a red value of 47, a green value of 23 and a blue value of 151.
In CMYK color space (used in color printing), #2f1797 hex color is composed of 68.87% cyan, 84.77% magenta, 0% yellow and 40.78% black.
#2f1797 color has a hue of 251.3 degrees, a saturation of 73.56% and a lightness of 34.1%.
#2f1797 hex color contains mainly BLUE.
The closest web safe color of #2f1797 is #330099
#2f1797 hex color has a decimal value of 3086231.
HEX | 2f1797 | #2f1797 |
---|---|---|
RGB | 47, 23, 151 | rgb(47, 23, 151) |
RGB Percent | 18.43, 9.02, 59.22 | rgb(18.43, 9.02, 59.22) |
CMYK | 69, 85, 0, 41 | |
HSL | 251.3°, 73.56, 34.1 | hsl(251.3, 73.56%, 34.1%) |
HSV | 251.3°, 84.8, 59.2 |
XYZ | 7.065, 3.451, 29.572 |
---|---|
Hunter Lab | 18.577, 35.376, -81.378 |
CIE-LAB | 21.766, 47.443, -64.405 |
CIE-LCH | 21.766, 79.993, 306.377 |
CIE-LUV | 68.87, 84.77, 0, 40.78 |
Web Safe | 330099 |
RGB percent of color #2f1797
CMYK percent of color #2f1797
Text with hexadecimal color #2f1797
This text has a font color of #2f1797
<p style="color:#2f1797">Text here</p>
#2f1797 Background Color
This box has a background color of #2f1797
<div style="background-color:#2f1797">Text here</div>
#2f1797 Border Color
This box has a border color of #2f1797
<div style="border: 4px solid #2f1797">Text here</div>
CSS codes
<p style="color:#2f1797">Text here</p>
<div style="background-color:#2f1797">Text here</div>
<div style="border: 4px solid #2f1797">Text here</div>
#2f1797 Color on white background
This is how a font and box color of #2f1797 will look
on a white background.
#2f1797 Color on black background
This is how a font and box color of #2f1797 hex color will look
on a black background.