In RGB color space, #1f1fff hex color has a red value of 31, a green value of 31 and a blue value of 255.
In CMYK color space (used in color printing), #1f1fff hex color is composed of 87.84% cyan, 87.84% magenta, 0% yellow and 0% black.
#1f1fff color has a hue of 240 degrees, a saturation of 100% and a lightness of 56.1%.
#1f1fff hex color contains mainly BLUE.
The closest web safe color of #1f1fff is #3333ff
#1f1fff hex color has a decimal value of 2039807.
HEX | 1f1fff | #1f1fff |
---|---|---|
RGB | 31, 31, 255 | rgb(31, 31, 255) |
RGB Percent | 12.16, 12.16, 100 | rgb(12.16, 12.16, 100) |
CMYK | 88, 88, 0, 0 | |
HSL | 240°, 100, 56.1 | hsl(240, 100%, 56.1%) |
HSV | 240°, 87.8, 100 |
XYZ | 19.105, 8.491, 95.24 |
---|---|
Hunter Lab | 29.139, 66.039, -173.388 |
CIE-LAB | 34.985, 73.127, -103.366 |
CIE-LCH | 34.985, 126.618, 305.278 |
CIE-LUV | 87.84, 87.84, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #1f1fff
CMYK percent of color #1f1fff
Text with hexadecimal color #1f1fff
This text has a font color of #1f1fff
<p style="color:#1f1fff">Text here</p>
#1f1fff Background Color
This box has a background color of #1f1fff
<div style="background-color:#1f1fff">Text here</div>
#1f1fff Border Color
This box has a border color of #1f1fff
<div style="border: 4px solid #1f1fff">Text here</div>
CSS codes
<p style="color:#1f1fff">Text here</p>
<div style="background-color:#1f1fff">Text here</div>
<div style="border: 4px solid #1f1fff">Text here</div>
#1f1fff Color on white background
This is how a font and box color of #1f1fff will look
on a white background.
#1f1fff Color on black background
This is how a font and box color of #1f1fff hex color will look
on a black background.