In RGB color space, #2f156c hex color has a red value of 47, a green value of 21 and a blue value of 108.
In CMYK color space (used in color printing), #2f156c hex color is composed of 56.48% cyan, 80.56% magenta, 0% yellow and 57.65% black.
#2f156c color has a hue of 257.9 degrees, a saturation of 67.44% and a lightness of 25.3%.
#2f156c hex color contains mainly BLUE.
The closest web safe color of #2f156c is #330066
#2f156c hex color has a decimal value of 3085676.
HEX | 2f156c | #2f156c |
---|---|---|
RGB | 47, 21, 108 | rgb(47, 21, 108) |
RGB Percent | 18.43, 8.24, 42.35 | rgb(18.43, 8.24, 42.35) |
CMYK | 56, 81, 0, 58 | |
HSL | 257.9°, 67.44, 25.3 | hsl(257.9, 67.44%, 25.3%) |
HSV | 257.9°, 80.6, 42.4 |
XYZ | 4.147, 2.223, 14.398 |
---|---|
Hunter Lab | 14.91, 23.556, -46.818 |
CIE-LAB | 16.617, 35.434, -45.658 |
CIE-LCH | 16.617, 57.795, 307.814 |
CIE-LUV | 56.48, 80.56, 0, 57.65 |
Web Safe | 330066 |
RGB percent of color #2f156c
CMYK percent of color #2f156c
Text with hexadecimal color #2f156c
This text has a font color of #2f156c
<p style="color:#2f156c">Text here</p>
#2f156c Background Color
This box has a background color of #2f156c
<div style="background-color:#2f156c">Text here</div>
#2f156c Border Color
This box has a border color of #2f156c
<div style="border: 4px solid #2f156c">Text here</div>
CSS codes
<p style="color:#2f156c">Text here</p>
<div style="background-color:#2f156c">Text here</div>
<div style="border: 4px solid #2f156c">Text here</div>
#2f156c Color on white background
This is how a font and box color of #2f156c will look
on a white background.
#2f156c Color on black background
This is how a font and box color of #2f156c hex color will look
on a black background.