In RGB color space, #2f2158 hex color has a red value of 47, a green value of 33 and a blue value of 88.
In CMYK color space (used in color printing), #2f2158 hex color is composed of 46.59% cyan, 62.5% magenta, 0% yellow and 65.49% black.
#2f2158 color has a hue of 255.3 degrees, a saturation of 45.45% and a lightness of 23.7%.
#2f2158 hex color contains mainly BLUE.
The closest web safe color of #2f2158 is #333366
#2f2158 hex color has a decimal value of 3088728.
HEX | 2f2158 | #2f2158 |
---|---|---|
RGB | 47, 33, 88 | rgb(47, 33, 88) |
RGB Percent | 18.43, 12.94, 34.51 | rgb(18.43, 12.94, 34.51) |
CMYK | 47, 63, 0, 65 | |
HSL | 255.3°, 45.45, 23.7 | hsl(255.3, 45.45%, 23.7%) |
HSV | 255.3°, 62.5, 34.5 |
XYZ | 3.478, 2.397, 9.512 |
---|---|
Hunter Lab | 15.482, 13.005, -25.589 |
CIE-LAB | 17.446, 21.832, -31.077 |
CIE-LCH | 17.446, 37.979, 305.089 |
CIE-LUV | 46.59, 62.5, 0, 65.49 |
Web Safe | 333366 |
RGB percent of color #2f2158
CMYK percent of color #2f2158
Text with hexadecimal color #2f2158
This text has a font color of #2f2158
<p style="color:#2f2158">Text here</p>
#2f2158 Background Color
This box has a background color of #2f2158
<div style="background-color:#2f2158">Text here</div>
#2f2158 Border Color
This box has a border color of #2f2158
<div style="border: 4px solid #2f2158">Text here</div>
CSS codes
<p style="color:#2f2158">Text here</p>
<div style="background-color:#2f2158">Text here</div>
<div style="border: 4px solid #2f2158">Text here</div>
#2f2158 Color on white background
This is how a font and box color of #2f2158 will look
on a white background.
#2f2158 Color on black background
This is how a font and box color of #2f2158 hex color will look
on a black background.