In RGB color space, #2f2451 hex color has a red value of 47, a green value of 36 and a blue value of 81.
In CMYK color space (used in color printing), #2f2451 hex color is composed of 41.98% cyan, 55.56% magenta, 0% yellow and 68.24% black.
#2f2451 color has a hue of 254.7 degrees, a saturation of 38.46% and a lightness of 22.9%.
#2f2451 hex color contains mainly BLUE.
The closest web safe color of #2f2451 is #333366
#2f2451 hex color has a decimal value of 3089489.
HEX | 2f2451 | #2f2451 |
---|---|---|
RGB | 47, 36, 81 | rgb(47, 36, 81) |
RGB Percent | 18.43, 14.12, 31.76 | rgb(18.43, 14.12, 31.76) |
CMYK | 42, 56, 0, 68 | |
HSL | 254.7°, 38.46, 22.9 | hsl(254.7, 38.46%, 22.9%) |
HSV | 254.7°, 55.6, 31.8 |
XYZ | 3.288, 2.46, 8.086 |
---|---|
Hunter Lab | 15.684, 9.972, -19.588 |
CIE-LAB | 17.737, 17.501, -25.899 |
CIE-LCH | 17.737, 31.258, 304.048 |
CIE-LUV | 41.98, 55.56, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #2f2451
CMYK percent of color #2f2451
Text with hexadecimal color #2f2451
This text has a font color of #2f2451
<p style="color:#2f2451">Text here</p>
#2f2451 Background Color
This box has a background color of #2f2451
<div style="background-color:#2f2451">Text here</div>
#2f2451 Border Color
This box has a border color of #2f2451
<div style="border: 4px solid #2f2451">Text here</div>
CSS codes
<p style="color:#2f2451">Text here</p>
<div style="background-color:#2f2451">Text here</div>
<div style="border: 4px solid #2f2451">Text here</div>
#2f2451 Color on white background
This is how a font and box color of #2f2451 will look
on a white background.
#2f2451 Color on black background
This is how a font and box color of #2f2451 hex color will look
on a black background.