In RGB color space, #2f2540 hex color has a red value of 47, a green value of 37 and a blue value of 64.
In CMYK color space (used in color printing), #2f2540 hex color is composed of 26.56% cyan, 42.19% magenta, 0% yellow and 74.9% black.
#2f2540 color has a hue of 262.2 degrees, a saturation of 26.73% and a lightness of 19.8%.
#2f2540 hex color contains mainly BLUE.
The closest web safe color of #2f2540 is #333333
#2f2540 hex color has a decimal value of 3089728.
HEX | 2f2540 | #2f2540 |
---|---|---|
RGB | 47, 37, 64 | rgb(47, 37, 64) |
RGB Percent | 18.43, 14.51, 25.1 | rgb(18.43, 14.51, 25.1) |
CMYK | 27, 42, 0, 75 | |
HSL | 262.2°, 26.73, 19.8 | hsl(262.2, 26.73%, 19.8%) |
HSV | 262.2°, 42.2, 25.1 |
XYZ | 2.759, 2.298, 5.149 |
---|---|
Hunter Lab | 15.159, 5.959, -9.527 |
CIE-LAB | 16.979, 11.513, -15.463 |
CIE-LCH | 16.979, 19.278, 306.67 |
CIE-LUV | 26.56, 42.19, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2f2540
CMYK percent of color #2f2540
Text with hexadecimal color #2f2540
This text has a font color of #2f2540
<p style="color:#2f2540">Text here</p>
#2f2540 Background Color
This box has a background color of #2f2540
<div style="background-color:#2f2540">Text here</div>
#2f2540 Border Color
This box has a border color of #2f2540
<div style="border: 4px solid #2f2540">Text here</div>
CSS codes
<p style="color:#2f2540">Text here</p>
<div style="background-color:#2f2540">Text here</div>
<div style="border: 4px solid #2f2540">Text here</div>
#2f2540 Color on white background
This is how a font and box color of #2f2540 will look
on a white background.
#2f2540 Color on black background
This is how a font and box color of #2f2540 hex color will look
on a black background.