In RGB color space, #1f0c52 hex color has a red value of 31, a green value of 12 and a blue value of 82.
In CMYK color space (used in color printing), #1f0c52 hex color is composed of 62.2% cyan, 85.37% magenta, 0% yellow and 67.84% black.
#1f0c52 color has a hue of 256.3 degrees, a saturation of 74.47% and a lightness of 18.4%.
#1f0c52 hex color contains mainly BLUE.
The closest web safe color of #1f0c52 is #330066
#1f0c52 hex color has a decimal value of 2034770.
HEX | 1f0c52 | #1f0c52 |
---|---|---|
RGB | 31, 12, 82 | rgb(31, 12, 82) |
RGB Percent | 12.16, 4.71, 32.16 | rgb(12.16, 4.71, 32.16) |
CMYK | 62, 85, 0, 68 | |
HSL | 256.3°, 74.47, 18.4 | hsl(256.3, 74.47%, 18.4%) |
HSV | 256.3°, 85.4, 32.2 |
XYZ | 2.22, 1.163, 8.09 |
---|---|
Hunter Lab | 10.784, 17.873, -36.929 |
CIE-LAB | 10.282, 29.642, -38.767 |
CIE-LCH | 10.282, 48.801, 307.402 |
CIE-LUV | 62.2, 85.37, 0, 67.84 |
Web Safe | 330066 |
RGB percent of color #1f0c52
CMYK percent of color #1f0c52
Text with hexadecimal color #1f0c52
This text has a font color of #1f0c52
<p style="color:#1f0c52">Text here</p>
#1f0c52 Background Color
This box has a background color of #1f0c52
<div style="background-color:#1f0c52">Text here</div>
#1f0c52 Border Color
This box has a border color of #1f0c52
<div style="border: 4px solid #1f0c52">Text here</div>
CSS codes
<p style="color:#1f0c52">Text here</p>
<div style="background-color:#1f0c52">Text here</div>
<div style="border: 4px solid #1f0c52">Text here</div>
#1f0c52 Color on white background
This is how a font and box color of #1f0c52 will look
on a white background.
#1f0c52 Color on black background
This is how a font and box color of #1f0c52 hex color will look
on a black background.