In RGB color space, #2f0fa6 hex color has a red value of 47, a green value of 15 and a blue value of 166.
In CMYK color space (used in color printing), #2f0fa6 hex color is composed of 71.69% cyan, 90.96% magenta, 0% yellow and 34.9% black.
#2f0fa6 color has a hue of 252.7 degrees, a saturation of 83.43% and a lightness of 35.5%.
#2f0fa6 hex color contains mainly BLUE.
The closest web safe color of #2f0fa6 is #330099
#2f0fa6 hex color has a decimal value of 3084198.
HEX | 2f0fa6 | #2f0fa6 |
---|---|---|
RGB | 47, 15, 166 | rgb(47, 15, 166) |
RGB Percent | 18.43, 5.88, 65.1 | rgb(18.43, 5.88, 65.1) |
CMYK | 72, 91, 0, 35 | |
HSL | 252.7°, 83.43, 35.5 | hsl(252.7, 83.43%, 35.5%) |
HSV | 252.7°, 91, 65.1 |
XYZ | 8.226, 3.699, 36.357 |
---|---|
Hunter Lab | 19.233, 42.688, -98.617 |
CIE-LAB | 22.65, 54.571, -72.114 |
CIE-LCH | 22.65, 90.435, 307.116 |
CIE-LUV | 71.69, 90.96, 0, 34.9 |
Web Safe | 330099 |
RGB percent of color #2f0fa6
CMYK percent of color #2f0fa6
Text with hexadecimal color #2f0fa6
This text has a font color of #2f0fa6
<p style="color:#2f0fa6">Text here</p>
#2f0fa6 Background Color
This box has a background color of #2f0fa6
<div style="background-color:#2f0fa6">Text here</div>
#2f0fa6 Border Color
This box has a border color of #2f0fa6
<div style="border: 4px solid #2f0fa6">Text here</div>
CSS codes
<p style="color:#2f0fa6">Text here</p>
<div style="background-color:#2f0fa6">Text here</div>
<div style="border: 4px solid #2f0fa6">Text here</div>
#2f0fa6 Color on white background
This is how a font and box color of #2f0fa6 will look
on a white background.
#2f0fa6 Color on black background
This is how a font and box color of #2f0fa6 hex color will look
on a black background.