In RGB color space, #1f0c97 hex color has a red value of 31, a green value of 12 and a blue value of 151.
In CMYK color space (used in color printing), #1f0c97 hex color is composed of 79.47% cyan, 92.05% magenta, 0% yellow and 40.78% black.
#1f0c97 color has a hue of 248.2 degrees, a saturation of 85.28% and a lightness of 32%.
#1f0c97 hex color contains mainly BLUE.
The closest web safe color of #1f0c97 is #330099
#1f0c97 hex color has a decimal value of 2034839.
HEX | 1f0c97 | #1f0c97 |
---|---|---|
RGB | 31, 12, 151 | rgb(31, 12, 151) |
RGB Percent | 12.16, 4.71, 59.22 | rgb(12.16, 4.71, 59.22) |
CMYK | 79, 92, 0, 41 | |
HSL | 248.2°, 85.28, 32 | hsl(248.2, 85.28%, 32%) |
HSV | 248.2°, 92.1, 59.2 |
XYZ | 6.282, 2.789, 29.485 |
---|---|
Hunter Lab | 16.7, 37.919, -92.988 |
CIE-LAB | 19.178, 50.527, -68.741 |
CIE-LCH | 19.178, 85.313, 306.317 |
CIE-LUV | 79.47, 92.05, 0, 40.78 |
Web Safe | 330099 |
RGB percent of color #1f0c97
CMYK percent of color #1f0c97
Text with hexadecimal color #1f0c97
This text has a font color of #1f0c97
<p style="color:#1f0c97">Text here</p>
#1f0c97 Background Color
This box has a background color of #1f0c97
<div style="background-color:#1f0c97">Text here</div>
#1f0c97 Border Color
This box has a border color of #1f0c97
<div style="border: 4px solid #1f0c97">Text here</div>
CSS codes
<p style="color:#1f0c97">Text here</p>
<div style="background-color:#1f0c97">Text here</div>
<div style="border: 4px solid #1f0c97">Text here</div>
#1f0c97 Color on white background
This is how a font and box color of #1f0c97 will look
on a white background.
#1f0c97 Color on black background
This is how a font and box color of #1f0c97 hex color will look
on a black background.