In RGB color space, #2f1c42 hex color has a red value of 47, a green value of 28 and a blue value of 66.
In CMYK color space (used in color printing), #2f1c42 hex color is composed of 28.79% cyan, 57.58% magenta, 0% yellow and 74.12% black.
#2f1c42 color has a hue of 270 degrees, a saturation of 40.43% and a lightness of 18.4%.
#2f1c42 hex color contains mainly BLUE.
The closest web safe color of #2f1c42 is #333333
#2f1c42 hex color has a decimal value of 3087426.
HEX | 2f1c42 | #2f1c42 |
---|---|---|
RGB | 47, 28, 66 | rgb(47, 28, 66) |
RGB Percent | 18.43, 10.98, 25.88 | rgb(18.43, 10.98, 25.88) |
CMYK | 29, 58, 0, 74 | |
HSL | 270°, 40.43, 18.4 | hsl(270, 40.43%, 18.4%) |
HSV | 270°, 57.6, 25.9 |
XYZ | 2.571, 1.828, 5.372 |
---|---|
Hunter Lab | 13.52, 10.283, -14.093 |
CIE-LAB | 14.557, 18.379, -20.668 |
CIE-LCH | 14.557, 27.658, 311.645 |
CIE-LUV | 28.79, 57.58, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #2f1c42
CMYK percent of color #2f1c42
Text with hexadecimal color #2f1c42
This text has a font color of #2f1c42
<p style="color:#2f1c42">Text here</p>
#2f1c42 Background Color
This box has a background color of #2f1c42
<div style="background-color:#2f1c42">Text here</div>
#2f1c42 Border Color
This box has a border color of #2f1c42
<div style="border: 4px solid #2f1c42">Text here</div>
CSS codes
<p style="color:#2f1c42">Text here</p>
<div style="background-color:#2f1c42">Text here</div>
<div style="border: 4px solid #2f1c42">Text here</div>
#2f1c42 Color on white background
This is how a font and box color of #2f1c42 will look
on a white background.
#2f1c42 Color on black background
This is how a font and box color of #2f1c42 hex color will look
on a black background.