In RGB color space, #1f42cf hex color has a red value of 31, a green value of 66 and a blue value of 207.
In CMYK color space (used in color printing), #1f42cf hex color is composed of 85.02% cyan, 68.12% magenta, 0% yellow and 18.82% black.
#1f42cf color has a hue of 228.1 degrees, a saturation of 73.95% and a lightness of 46.7%.
#1f42cf hex color contains mainly BLUE.
The closest web safe color of #1f42cf is #3333cc
#1f42cf hex color has a decimal value of 2048719.
HEX | 1f42cf | #1f42cf |
---|---|---|
RGB | 31, 66, 207 | rgb(31, 66, 207) |
RGB Percent | 12.16, 25.88, 81.18 | rgb(12.16, 25.88, 81.18) |
CMYK | 85, 68, 0, 19 | |
HSL | 228.1°, 73.95, 46.7 | hsl(228.1, 73.95%, 46.7%) |
HSV | 228.1°, 85, 81.2 |
XYZ | 13.776, 8.693, 59.983 |
---|---|
Hunter Lab | 29.484, 31.805, -99.983 |
CIE-LAB | 35.386, 41.149, -75.356 |
CIE-LCH | 35.386, 85.859, 298.637 |
CIE-LUV | 85.02, 68.12, 0, 18.82 |
Web Safe | 3333cc |
RGB percent of color #1f42cf
CMYK percent of color #1f42cf
Text with hexadecimal color #1f42cf
This text has a font color of #1f42cf
<p style="color:#1f42cf">Text here</p>
#1f42cf Background Color
This box has a background color of #1f42cf
<div style="background-color:#1f42cf">Text here</div>
#1f42cf Border Color
This box has a border color of #1f42cf
<div style="border: 4px solid #1f42cf">Text here</div>
CSS codes
<p style="color:#1f42cf">Text here</p>
<div style="background-color:#1f42cf">Text here</div>
<div style="border: 4px solid #1f42cf">Text here</div>
#1f42cf Color on white background
This is how a font and box color of #1f42cf will look
on a white background.
#1f42cf Color on black background
This is how a font and box color of #1f42cf hex color will look
on a black background.