In RGB color space, #1f0f8c hex color has a red value of 31, a green value of 15 and a blue value of 140.
In CMYK color space (used in color printing), #1f0f8c hex color is composed of 77.86% cyan, 89.29% magenta, 0% yellow and 45.1% black.
#1f0f8c color has a hue of 247.7 degrees, a saturation of 80.65% and a lightness of 30.4%.
#1f0f8c hex color contains mainly BLUE.
The closest web safe color of #1f0f8c is #330099
#1f0f8c hex color has a decimal value of 2035596.
HEX | 1f0f8c | #1f0f8c |
---|---|---|
RGB | 31, 15, 140 | rgb(31, 15, 140) |
RGB Percent | 12.16, 5.88, 54.9 | rgb(12.16, 5.88, 54.9) |
CMYK | 78, 89, 0, 45 | |
HSL | 247.7°, 80.65, 30.4 | hsl(247.7, 80.65%, 30.4%) |
HSV | 247.7°, 89.3, 54.9 |
XYZ | 5.47, 2.526, 25.01 |
---|---|
Hunter Lab | 15.893, 33.621, -82.174 |
CIE-LAB | 18.036, 46.337, -63.802 |
CIE-LCH | 18.036, 78.853, 305.989 |
CIE-LUV | 77.86, 89.29, 0, 45.1 |
Web Safe | 330099 |
RGB percent of color #1f0f8c
CMYK percent of color #1f0f8c
Text with hexadecimal color #1f0f8c
This text has a font color of #1f0f8c
<p style="color:#1f0f8c">Text here</p>
#1f0f8c Background Color
This box has a background color of #1f0f8c
<div style="background-color:#1f0f8c">Text here</div>
#1f0f8c Border Color
This box has a border color of #1f0f8c
<div style="border: 4px solid #1f0f8c">Text here</div>
CSS codes
<p style="color:#1f0f8c">Text here</p>
<div style="background-color:#1f0f8c">Text here</div>
<div style="border: 4px solid #1f0f8c">Text here</div>
#1f0f8c Color on white background
This is how a font and box color of #1f0f8c will look
on a white background.
#1f0f8c Color on black background
This is how a font and box color of #1f0f8c hex color will look
on a black background.