In RGB color space, #2f2157 hex color has a red value of 47, a green value of 33 and a blue value of 87.
In CMYK color space (used in color printing), #2f2157 hex color is composed of 45.98% cyan, 62.07% magenta, 0% yellow and 65.88% black.
#2f2157 color has a hue of 255.6 degrees, a saturation of 45% and a lightness of 23.5%.
#2f2157 hex color contains mainly BLUE.
The closest web safe color of #2f2157 is #333366
#2f2157 hex color has a decimal value of 3088727.
HEX | 2f2157 | #2f2157 |
---|---|---|
RGB | 47, 33, 87 | rgb(47, 33, 87) |
RGB Percent | 18.43, 12.94, 34.12 | rgb(18.43, 12.94, 34.12) |
CMYK | 46, 62, 0, 66 | |
HSL | 255.6°, 45, 23.5 | hsl(255.6, 45%, 23.5%) |
HSV | 255.6°, 62.1, 34.1 |
XYZ | 3.436, 2.38, 9.295 |
---|---|
Hunter Lab | 15.427, 12.758, -24.923 |
CIE-LAB | 17.367, 21.503, -30.534 |
CIE-LCH | 17.367, 37.346, 305.154 |
CIE-LUV | 45.98, 62.07, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #2f2157
CMYK percent of color #2f2157
Text with hexadecimal color #2f2157
This text has a font color of #2f2157
<p style="color:#2f2157">Text here</p>
#2f2157 Background Color
This box has a background color of #2f2157
<div style="background-color:#2f2157">Text here</div>
#2f2157 Border Color
This box has a border color of #2f2157
<div style="border: 4px solid #2f2157">Text here</div>
CSS codes
<p style="color:#2f2157">Text here</p>
<div style="background-color:#2f2157">Text here</div>
<div style="border: 4px solid #2f2157">Text here</div>
#2f2157 Color on white background
This is how a font and box color of #2f2157 will look
on a white background.
#2f2157 Color on black background
This is how a font and box color of #2f2157 hex color will look
on a black background.