In RGB color space, #c040ff hex color has a red value of 192, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #c040ff hex color is composed of 24.71% cyan, 74.9% magenta, 0% yellow and 0% black.
#c040ff color has a hue of 280.2 degrees, a saturation of 100% and a lightness of 62.5%.
#c040ff hex color contains mainly BLUE.
The closest web safe color of #c040ff is #cc33ff
#c040ff hex color has a decimal value of 12599551.
HEX | c040ff | #c040ff |
---|---|---|
RGB | 192, 64, 255 | rgb(192, 64, 255) |
RGB Percent | 75.29, 25.1, 100 | rgb(75.29, 25.1, 100) |
CMYK | 25, 75, 0, 0 | |
HSL | 280.2°, 100, 62.5 | hsl(280.2, 100%, 62.5%) |
HSV | 280.2°, 74.9, 100 |
XYZ | 41.622, 22.093, 96.678 |
---|---|
Hunter Lab | 47.003, 75.809, -89.048 |
CIE-LAB | 54.126, 77.427, -71.323 |
CIE-LCH | 54.126, 105.271, 317.35 |
CIE-LUV | 24.71, 74.9, 0, 0 |
Web Safe | cc33ff |
RGB percent of color #c040ff
CMYK percent of color #c040ff
Text with hexadecimal color #c040ff
This text has a font color of #c040ff
<p style="color:#c040ff">Text here</p>
#c040ff Background Color
This box has a background color of #c040ff
<div style="background-color:#c040ff">Text here</div>
#c040ff Border Color
This box has a border color of #c040ff
<div style="border: 4px solid #c040ff">Text here</div>
CSS codes
<p style="color:#c040ff">Text here</p>
<div style="background-color:#c040ff">Text here</div>
<div style="border: 4px solid #c040ff">Text here</div>
#c040ff Color on white background
This is how a font and box color of #c040ff will look
on a white background.
#c040ff Color on black background
This is how a font and box color of #c040ff hex color will look
on a black background.