In RGB color space, #0f42ff hex color has a red value of 15, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #0f42ff hex color is composed of 94.12% cyan, 74.12% magenta, 0% yellow and 0% black.
#0f42ff color has a hue of 227.3 degrees, a saturation of 100% and a lightness of 52.9%.
#0f42ff hex color contains mainly BLUE.
The closest web safe color of #0f42ff is #0033ff
#0f42ff hex color has a decimal value of 1000191.
HEX | 0f42ff | #0f42ff |
---|---|---|
RGB | 15, 66, 255 | rgb(15, 66, 255) |
RGB Percent | 5.88, 25.88, 100 | rgb(5.88, 25.88, 100) |
CMYK | 94, 74, 0, 0 | |
HSL | 227.3°, 100, 52.9 | hsl(227.3, 100%, 52.9%) |
HSV | 227.3°, 94.1, 100 |
XYZ | 20.195, 11.218, 95.709 |
---|---|
Hunter Lab | 33.493, 49.015, -145.979 |
CIE-LAB | 39.945, 57.215, -95.127 |
CIE-LCH | 39.945, 111.008, 301.025 |
CIE-LUV | 94.12, 74.12, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0f42ff
CMYK percent of color #0f42ff
Text with hexadecimal color #0f42ff
This text has a font color of #0f42ff
<p style="color:#0f42ff">Text here</p>
#0f42ff Background Color
This box has a background color of #0f42ff
<div style="background-color:#0f42ff">Text here</div>
#0f42ff Border Color
This box has a border color of #0f42ff
<div style="border: 4px solid #0f42ff">Text here</div>
CSS codes
<p style="color:#0f42ff">Text here</p>
<div style="background-color:#0f42ff">Text here</div>
<div style="border: 4px solid #0f42ff">Text here</div>
#0f42ff Color on white background
This is how a font and box color of #0f42ff will look
on a white background.
#0f42ff Color on black background
This is how a font and box color of #0f42ff hex color will look
on a black background.