In RGB color space, #1f0e40 hex color has a red value of 31, a green value of 14 and a blue value of 64.
In CMYK color space (used in color printing), #1f0e40 hex color is composed of 51.56% cyan, 78.13% magenta, 0% yellow and 74.9% black.
#1f0e40 color has a hue of 260.4 degrees, a saturation of 64.1% and a lightness of 15.3%.
#1f0e40 hex color contains mainly BLUE.
The closest web safe color of #1f0e40 is #330033
#1f0e40 hex color has a decimal value of 2035264.
HEX | 1f0e40 | #1f0e40 |
---|---|---|
RGB | 31, 14, 64 | rgb(31, 14, 64) |
RGB Percent | 12.16, 5.49, 25.1 | rgb(12.16, 5.49, 25.1) |
CMYK | 52, 78, 0, 75 | |
HSL | 260.4°, 64.1, 15.3 | hsl(260.4, 64.1%, 15.3%) |
HSV | 260.4°, 78.1, 25.1 |
XYZ | 1.648, 0.976, 4.952 |
---|---|
Hunter Lab | 9.879, 12.488, -22.804 |
CIE-LAB | 8.79, 22.56, -28.649 |
CIE-LCH | 8.79, 36.465, 308.219 |
CIE-LUV | 51.56, 78.13, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #1f0e40
CMYK percent of color #1f0e40
Text with hexadecimal color #1f0e40
This text has a font color of #1f0e40
<p style="color:#1f0e40">Text here</p>
#1f0e40 Background Color
This box has a background color of #1f0e40
<div style="background-color:#1f0e40">Text here</div>
#1f0e40 Border Color
This box has a border color of #1f0e40
<div style="border: 4px solid #1f0e40">Text here</div>
CSS codes
<p style="color:#1f0e40">Text here</p>
<div style="background-color:#1f0e40">Text here</div>
<div style="border: 4px solid #1f0e40">Text here</div>
#1f0e40 Color on white background
This is how a font and box color of #1f0e40 will look
on a white background.
#1f0e40 Color on black background
This is how a font and box color of #1f0e40 hex color will look
on a black background.