In RGB color space, #1f42e4 hex color has a red value of 31, a green value of 66 and a blue value of 228.
In CMYK color space (used in color printing), #1f42e4 hex color is composed of 86.4% cyan, 71.05% magenta, 0% yellow and 10.59% black.
#1f42e4 color has a hue of 229.3 degrees, a saturation of 78.49% and a lightness of 50.8%.
#1f42e4 hex color contains mainly BLUE.
The closest web safe color of #1f42e4 is #3333cc
#1f42e4 hex color has a decimal value of 2048740.
HEX | 1f42e4 | #1f42e4 |
---|---|---|
RGB | 31, 66, 228 | rgb(31, 66, 228) |
RGB Percent | 12.16, 25.88, 89.41 | rgb(12.16, 25.88, 89.41) |
CMYK | 86, 71, 0, 11 | |
HSL | 229.3°, 78.49, 50.8 | hsl(229.3, 78.49%, 50.8%) |
HSV | 229.3°, 86.4, 89.4 |
XYZ | 16.517, 9.789, 74.418 |
---|---|
Hunter Lab | 31.287, 39.479, -119.122 |
CIE-LAB | 37.461, 48.584, -83.997 |
CIE-LCH | 37.461, 97.036, 300.045 |
CIE-LUV | 86.4, 71.05, 0, 10.59 |
Web Safe | 3333cc |
RGB percent of color #1f42e4
CMYK percent of color #1f42e4
Text with hexadecimal color #1f42e4
This text has a font color of #1f42e4
<p style="color:#1f42e4">Text here</p>
#1f42e4 Background Color
This box has a background color of #1f42e4
<div style="background-color:#1f42e4">Text here</div>
#1f42e4 Border Color
This box has a border color of #1f42e4
<div style="border: 4px solid #1f42e4">Text here</div>
CSS codes
<p style="color:#1f42e4">Text here</p>
<div style="background-color:#1f42e4">Text here</div>
<div style="border: 4px solid #1f42e4">Text here</div>
#1f42e4 Color on white background
This is how a font and box color of #1f42e4 will look
on a white background.
#1f42e4 Color on black background
This is how a font and box color of #1f42e4 hex color will look
on a black background.