In RGB color space, #1f0940 hex color has a red value of 31, a green value of 9 and a blue value of 64.
In CMYK color space (used in color printing), #1f0940 hex color is composed of 51.56% cyan, 85.94% magenta, 0% yellow and 74.9% black.
#1f0940 color has a hue of 264 degrees, a saturation of 75.34% and a lightness of 14.3%.
#1f0940 hex color contains mainly BLUE.
The closest web safe color of #1f0940 is #330033
#1f0940 hex color has a decimal value of 2033984.
HEX | 1f0940 | #1f0940 |
---|---|---|
RGB | 31, 9, 64 | rgb(31, 9, 64) |
RGB Percent | 12.16, 3.53, 25.1 | rgb(12.16, 3.53, 25.1) |
CMYK | 52, 86, 0, 75 | |
HSL | 264°, 75.34, 14.3 | hsl(264, 75.34%, 14.3%) |
HSV | 264°, 85.9, 25.1 |
XYZ | 1.588, 0.857, 4.932 |
---|---|
Hunter Lab | 9.257, 14.419, -25.107 |
CIE-LAB | 7.741, 25.49, -30.361 |
CIE-LCH | 7.741, 39.643, 310.016 |
CIE-LUV | 51.56, 85.94, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #1f0940
CMYK percent of color #1f0940
Text with hexadecimal color #1f0940
This text has a font color of #1f0940
<p style="color:#1f0940">Text here</p>
#1f0940 Background Color
This box has a background color of #1f0940
<div style="background-color:#1f0940">Text here</div>
#1f0940 Border Color
This box has a border color of #1f0940
<div style="border: 4px solid #1f0940">Text here</div>
CSS codes
<p style="color:#1f0940">Text here</p>
<div style="background-color:#1f0940">Text here</div>
<div style="border: 4px solid #1f0940">Text here</div>
#1f0940 Color on white background
This is how a font and box color of #1f0940 will look
on a white background.
#1f0940 Color on black background
This is how a font and box color of #1f0940 hex color will look
on a black background.