In RGB color space, #2f0c40 hex color has a red value of 47, a green value of 12 and a blue value of 64.
In CMYK color space (used in color printing), #2f0c40 hex color is composed of 26.56% cyan, 81.25% magenta, 0% yellow and 74.9% black.
#2f0c40 color has a hue of 280.4 degrees, a saturation of 68.42% and a lightness of 14.9%.
#2f0c40 hex color contains mainly BLUE.
The closest web safe color of #2f0c40 is #330033
#2f0c40 hex color has a decimal value of 3083328.
HEX | 2f0c40 | #2f0c40 |
---|---|---|
RGB | 47, 12, 64 | rgb(47, 12, 64) |
RGB Percent | 18.43, 4.71, 25.1 | rgb(18.43, 4.71, 25.1) |
CMYK | 27, 81, 0, 75 | |
HSL | 280.4°, 68.42, 14.9 | hsl(280.4, 68.42%, 14.9%) |
HSV | 280.4°, 81.3, 25.1 |
XYZ | 2.229, 1.237, 4.972 |
---|---|
Hunter Lab | 11.122, 16.31, -18.72 |
CIE-LAB | 10.828, 27.482, -25.231 |
CIE-LCH | 10.828, 37.308, 317.445 |
CIE-LUV | 26.56, 81.25, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #2f0c40
CMYK percent of color #2f0c40
Text with hexadecimal color #2f0c40
This text has a font color of #2f0c40
<p style="color:#2f0c40">Text here</p>
#2f0c40 Background Color
This box has a background color of #2f0c40
<div style="background-color:#2f0c40">Text here</div>
#2f0c40 Border Color
This box has a border color of #2f0c40
<div style="border: 4px solid #2f0c40">Text here</div>
CSS codes
<p style="color:#2f0c40">Text here</p>
<div style="background-color:#2f0c40">Text here</div>
<div style="border: 4px solid #2f0c40">Text here</div>
#2f0c40 Color on white background
This is how a font and box color of #2f0c40 will look
on a white background.
#2f0c40 Color on black background
This is how a font and box color of #2f0c40 hex color will look
on a black background.