In RGB color space, #2f1198 hex color has a red value of 47, a green value of 17 and a blue value of 152.
In CMYK color space (used in color printing), #2f1198 hex color is composed of 69.08% cyan, 88.82% magenta, 0% yellow and 40.39% black.
#2f1198 color has a hue of 253.3 degrees, a saturation of 79.88% and a lightness of 33.1%.
#2f1198 hex color contains mainly BLUE.
The closest web safe color of #2f1198 is #330099
#2f1198 hex color has a decimal value of 3084696.
HEX | 2f1198 | #2f1198 |
---|---|---|
RGB | 47, 17, 152 | rgb(47, 17, 152) |
RGB Percent | 18.43, 6.67, 59.61 | rgb(18.43, 6.67, 59.61) |
CMYK | 69, 89, 0, 40 | |
HSL | 253.3°, 79.88, 33.1 | hsl(253.3, 79.88%, 33.1%) |
HSV | 253.3°, 88.8, 59.6 |
XYZ | 7.04, 3.272, 29.966 |
---|---|
Hunter Lab | 18.089, 37.816, -85.559 |
CIE-LAB | 21.102, 50.06, -66.124 |
CIE-LCH | 21.102, 82.936, 307.128 |
CIE-LUV | 69.08, 88.82, 0, 40.39 |
Web Safe | 330099 |
RGB percent of color #2f1198
CMYK percent of color #2f1198
Text with hexadecimal color #2f1198
This text has a font color of #2f1198
<p style="color:#2f1198">Text here</p>
#2f1198 Background Color
This box has a background color of #2f1198
<div style="background-color:#2f1198">Text here</div>
#2f1198 Border Color
This box has a border color of #2f1198
<div style="border: 4px solid #2f1198">Text here</div>
CSS codes
<p style="color:#2f1198">Text here</p>
<div style="background-color:#2f1198">Text here</div>
<div style="border: 4px solid #2f1198">Text here</div>
#2f1198 Color on white background
This is how a font and box color of #2f1198 will look
on a white background.
#2f1198 Color on black background
This is how a font and box color of #2f1198 hex color will look
on a black background.