In RGB color space, #1f42ff hex color has a red value of 31, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #1f42ff hex color is composed of 87.84% cyan, 74.12% magenta, 0% yellow and 0% black.
#1f42ff color has a hue of 230.6 degrees, a saturation of 100% and a lightness of 56.1%.
#1f42ff hex color contains mainly BLUE.
The closest web safe color of #1f42ff is #3333ff
#1f42ff hex color has a decimal value of 2048767.
HEX | 1f42ff | #1f42ff |
---|---|---|
RGB | 31, 66, 255 | rgb(31, 66, 255) |
RGB Percent | 12.16, 25.88, 100 | rgb(12.16, 25.88, 100) |
CMYK | 88, 74, 0, 0 | |
HSL | 230.6°, 100, 56.1 | hsl(230.6, 100%, 56.1%) |
HSV | 230.6°, 87.8, 100 |
XYZ | 20.563, 11.408, 95.726 |
---|---|
Hunter Lab | 33.776, 49.565, -144.395 |
CIE-LAB | 40.259, 57.663, -94.597 |
CIE-LCH | 40.259, 110.786, 301.365 |
CIE-LUV | 87.84, 74.12, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #1f42ff
CMYK percent of color #1f42ff
Text with hexadecimal color #1f42ff
This text has a font color of #1f42ff
<p style="color:#1f42ff">Text here</p>
#1f42ff Background Color
This box has a background color of #1f42ff
<div style="background-color:#1f42ff">Text here</div>
#1f42ff Border Color
This box has a border color of #1f42ff
<div style="border: 4px solid #1f42ff">Text here</div>
CSS codes
<p style="color:#1f42ff">Text here</p>
<div style="background-color:#1f42ff">Text here</div>
<div style="border: 4px solid #1f42ff">Text here</div>
#1f42ff Color on white background
This is how a font and box color of #1f42ff will look
on a white background.
#1f42ff Color on black background
This is how a font and box color of #1f42ff hex color will look
on a black background.