In RGB color space, #1f0082 hex color has a red value of 31, a green value of 0 and a blue value of 130.
In CMYK color space (used in color printing), #1f0082 hex color is composed of 76.15% cyan, 100% magenta, 0% yellow and 49.02% black.
#1f0082 color has a hue of 254.3 degrees, a saturation of 100% and a lightness of 25.5%.
#1f0082 hex color contains mainly BLUE.
The closest web safe color of #1f0082 is #330099
#1f0082 hex color has a decimal value of 2031746.
HEX | 1f0082 | #1f0082 |
---|---|---|
RGB | 31, 0, 130 | rgb(31, 0, 130) |
RGB Percent | 12.16, 0, 50.98 | rgb(12.16, 0, 50.98) |
CMYK | 76, 100, 0, 49 | |
HSL | 254.3°, 100, 25.5 | hsl(254.3, 100%, 25.5%) |
HSV | 254.3°, 100, 51 |
XYZ | 4.594, 1.903, 21.244 |
---|---|
Hunter Lab | 13.795, 35.303, -81.649 |
CIE-LAB | 14.97, 48.642, -62.603 |
CIE-LCH | 14.97, 79.279, 307.847 |
CIE-LUV | 76.15, 100, 0, 49.02 |
Web Safe | 330099 |
RGB percent of color #1f0082
CMYK percent of color #1f0082
Text with hexadecimal color #1f0082
This text has a font color of #1f0082
<p style="color:#1f0082">Text here</p>
#1f0082 Background Color
This box has a background color of #1f0082
<div style="background-color:#1f0082">Text here</div>
#1f0082 Border Color
This box has a border color of #1f0082
<div style="border: 4px solid #1f0082">Text here</div>
CSS codes
<p style="color:#1f0082">Text here</p>
<div style="background-color:#1f0082">Text here</div>
<div style="border: 4px solid #1f0082">Text here</div>
#1f0082 Color on white background
This is how a font and box color of #1f0082 will look
on a white background.
#1f0082 Color on black background
This is how a font and box color of #1f0082 hex color will look
on a black background.