In RGB color space, #1f42e8 hex color has a red value of 31, a green value of 66 and a blue value of 232.
In CMYK color space (used in color printing), #1f42e8 hex color is composed of 86.64% cyan, 71.55% magenta, 0% yellow and 9.02% black.
#1f42e8 color has a hue of 229.6 degrees, a saturation of 81.38% and a lightness of 51.6%.
#1f42e8 hex color contains mainly BLUE.
The closest web safe color of #1f42e8 is #3333ff
#1f42e8 hex color has a decimal value of 2048744.
HEX | 1f42e8 | #1f42e8 |
---|---|---|
RGB | 31, 66, 232 | rgb(31, 66, 232) |
RGB Percent | 12.16, 25.88, 90.98 | rgb(12.16, 25.88, 90.98) |
CMYK | 87, 72, 0, 9 | |
HSL | 229.6°, 81.38, 51.6 | hsl(229.6, 81.38%, 51.6%) |
HSV | 229.6°, 86.6, 91 |
XYZ | 17.079, 10.014, 77.377 |
---|---|
Hunter Lab | 31.645, 40.959, -122.822 |
CIE-LAB | 37.868, 49.961, -85.601 |
CIE-LCH | 37.868, 99.114, 300.27 |
CIE-LUV | 86.64, 71.55, 0, 9.02 |
Web Safe | 3333ff |
RGB percent of color #1f42e8
CMYK percent of color #1f42e8
Text with hexadecimal color #1f42e8
This text has a font color of #1f42e8
<p style="color:#1f42e8">Text here</p>
#1f42e8 Background Color
This box has a background color of #1f42e8
<div style="background-color:#1f42e8">Text here</div>
#1f42e8 Border Color
This box has a border color of #1f42e8
<div style="border: 4px solid #1f42e8">Text here</div>
CSS codes
<p style="color:#1f42e8">Text here</p>
<div style="background-color:#1f42e8">Text here</div>
<div style="border: 4px solid #1f42e8">Text here</div>
#1f42e8 Color on white background
This is how a font and box color of #1f42e8 will look
on a white background.
#1f42e8 Color on black background
This is how a font and box color of #1f42e8 hex color will look
on a black background.