In RGB color space, #1f0240 hex color has a red value of 31, a green value of 2 and a blue value of 64.
In CMYK color space (used in color printing), #1f0240 hex color is composed of 51.56% cyan, 96.88% magenta, 0% yellow and 74.9% black.
#1f0240 color has a hue of 268.1 degrees, a saturation of 93.94% and a lightness of 12.9%.
#1f0240 hex color contains mainly BLUE.
The closest web safe color of #1f0240 is #330033
#1f0240 hex color has a decimal value of 2032192.
HEX | 1f0240 | #1f0240 |
---|---|---|
RGB | 31, 2, 64 | rgb(31, 2, 64) |
RGB Percent | 12.16, 0.78, 25.1 | rgb(12.16, 0.78, 25.1) |
CMYK | 52, 97, 0, 75 | |
HSL | 268.1°, 93.94, 12.9 | hsl(268.1, 93.94%, 12.9%) |
HSV | 268.1°, 96.9, 25.1 |
XYZ | 1.512, 0.705, 4.907 |
---|---|
Hunter Lab | 8.396, 17.45, -28.772 |
CIE-LAB | 6.368, 29.335, -32.607 |
CIE-LCH | 6.368, 43.861, 311.976 |
CIE-LUV | 51.56, 96.88, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #1f0240
CMYK percent of color #1f0240
Text with hexadecimal color #1f0240
This text has a font color of #1f0240
<p style="color:#1f0240">Text here</p>
#1f0240 Background Color
This box has a background color of #1f0240
<div style="background-color:#1f0240">Text here</div>
#1f0240 Border Color
This box has a border color of #1f0240
<div style="border: 4px solid #1f0240">Text here</div>
CSS codes
<p style="color:#1f0240">Text here</p>
<div style="background-color:#1f0240">Text here</div>
<div style="border: 4px solid #1f0240">Text here</div>
#1f0240 Color on white background
This is how a font and box color of #1f0240 will look
on a white background.
#1f0240 Color on black background
This is how a font and box color of #1f0240 hex color will look
on a black background.