In RGB color space, #ec42e4 hex color has a red value of 236, a green value of 66 and a blue value of 228.
In CMYK color space (used in color printing), #ec42e4 hex color is composed of 0% cyan, 72.03% magenta, 3.39% yellow and 7.45% black.
#ec42e4 color has a hue of 302.8 degrees, a saturation of 81.73% and a lightness of 59.2%.
#ec42e4 hex color contains mainly RED.
The closest web safe color of #ec42e4 is #ff33cc
#ec42e4 hex color has a decimal value of 15483620.
HEX | ec42e4 | #ec42e4 |
---|---|---|
RGB | 236, 66, 228 | rgb(236, 66, 228) |
RGB Percent | 92.55, 25.88, 89.41 | rgb(92.55, 25.88, 89.41) |
CMYK | 0, 72, 3, 7 | |
HSL | 302.8°, 81.73, 59.2 | hsl(302.8, 81.73%, 59.2%) |
HSV | 302.8°, 72, 92.5 |
XYZ | 50.544, 27.331, 76.01 |
---|---|
Hunter Lab | 52.279, 81.088, -49.608 |
CIE-LAB | 59.279, 80.605, -47.627 |
CIE-LCH | 59.279, 93.624, 329.422 |
CIE-LUV | 0, 72.03, 3.39, 7.45 |
Web Safe | ff33cc |
RGB percent of color #ec42e4
CMYK percent of color #ec42e4
Text with hexadecimal color #ec42e4
This text has a font color of #ec42e4
<p style="color:#ec42e4">Text here</p>
#ec42e4 Background Color
This box has a background color of #ec42e4
<div style="background-color:#ec42e4">Text here</div>
#ec42e4 Border Color
This box has a border color of #ec42e4
<div style="border: 4px solid #ec42e4">Text here</div>
CSS codes
<p style="color:#ec42e4">Text here</p>
<div style="background-color:#ec42e4">Text here</div>
<div style="border: 4px solid #ec42e4">Text here</div>
#ec42e4 Color on white background
This is how a font and box color of #ec42e4 will look
on a white background.
#ec42e4 Color on black background
This is how a font and box color of #ec42e4 hex color will look
on a black background.