In RGB color space, #6040f2 hex color has a red value of 96, a green value of 64 and a blue value of 242.
In CMYK color space (used in color printing), #6040f2 hex color is composed of 60.33% cyan, 73.55% magenta, 0% yellow and 5.1% black.
#6040f2 color has a hue of 250.8 degrees, a saturation of 87.25% and a lightness of 60%.
#6040f2 hex color contains mainly BLUE.
The closest web safe color of #6040f2 is #6633ff
#6040f2 hex color has a decimal value of 6308082.
HEX | 6040f2 | #6040f2 |
---|---|---|
RGB | 96, 64, 242 | rgb(96, 64, 242) |
RGB Percent | 37.65, 25.1, 94.9 | rgb(37.65, 25.1, 94.9) |
CMYK | 60, 74, 0, 5 | |
HSL | 250.8°, 87.25, 60 | hsl(250.8, 87.25%, 60%) |
HSV | 250.8°, 73.6, 94.9 |
XYZ | 22.684, 12.564, 85.234 |
---|---|
Hunter Lab | 35.446, 52.204, -117.759 |
CIE-LAB | 42.099, 59.718, -84.153 |
CIE-LCH | 42.099, 103.189, 305.361 |
CIE-LUV | 60.33, 73.55, 0, 5.1 |
Web Safe | 6633ff |
RGB percent of color #6040f2
CMYK percent of color #6040f2
Text with hexadecimal color #6040f2
This text has a font color of #6040f2
<p style="color:#6040f2">Text here</p>
#6040f2 Background Color
This box has a background color of #6040f2
<div style="background-color:#6040f2">Text here</div>
#6040f2 Border Color
This box has a border color of #6040f2
<div style="border: 4px solid #6040f2">Text here</div>
CSS codes
<p style="color:#6040f2">Text here</p>
<div style="background-color:#6040f2">Text here</div>
<div style="border: 4px solid #6040f2">Text here</div>
#6040f2 Color on white background
This is how a font and box color of #6040f2 will look
on a white background.
#6040f2 Color on black background
This is how a font and box color of #6040f2 hex color will look
on a black background.