In RGB color space, #2f0040 hex color has a red value of 47, a green value of 0 and a blue value of 64.
In CMYK color space (used in color printing), #2f0040 hex color is composed of 26.56% cyan, 100% magenta, 0% yellow and 74.9% black.
#2f0040 color has a hue of 284.1 degrees, a saturation of 100% and a lightness of 12.5%.
#2f0040 hex color contains mainly BLUE.
The closest web safe color of #2f0040 is #330033
#2f0040 hex color has a decimal value of 3080256.
HEX | 2f0040 | #2f0040 |
---|---|---|
RGB | 47, 0, 64 | rgb(47, 0, 64) |
RGB Percent | 18.43, 0, 25.1 | rgb(18.43, 0, 25.1) |
CMYK | 27, 100, 0, 75 | |
HSL | 284.1°, 100, 12.5 | hsl(284.1, 100%, 12.5%) |
HSV | 284.1°, 100, 25.1 |
XYZ | 2.098, 0.975, 4.928 |
---|---|
Hunter Lab | 9.874, 20.647, -22.678 |
CIE-LAB | 8.781, 33.441, -28.548 |
CIE-LCH | 8.781, 43.969, 319.513 |
CIE-LUV | 26.56, 100, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #2f0040
CMYK percent of color #2f0040
Text with hexadecimal color #2f0040
This text has a font color of #2f0040
<p style="color:#2f0040">Text here</p>
#2f0040 Background Color
This box has a background color of #2f0040
<div style="background-color:#2f0040">Text here</div>
#2f0040 Border Color
This box has a border color of #2f0040
<div style="border: 4px solid #2f0040">Text here</div>
CSS codes
<p style="color:#2f0040">Text here</p>
<div style="background-color:#2f0040">Text here</div>
<div style="border: 4px solid #2f0040">Text here</div>
#2f0040 Color on white background
This is how a font and box color of #2f0040 will look
on a white background.
#2f0040 Color on black background
This is how a font and box color of #2f0040 hex color will look
on a black background.