In RGB color space, #ff42d4 hex color has a red value of 255, a green value of 66 and a blue value of 212.
In CMYK color space (used in color printing), #ff42d4 hex color is composed of 0% cyan, 74.12% magenta, 16.86% yellow and 0% black.
#ff42d4 color has a hue of 313.7 degrees, a saturation of 100% and a lightness of 62.9%.
#ff42d4 hex color contains mainly RED.
The closest web safe color of #ff42d4 is #ff33cc
#ff42d4 hex color has a decimal value of 16728788.
HEX | ff42d4 | #ff42d4 |
---|---|---|
RGB | 255, 66, 212 | rgb(255, 66, 212) |
RGB Percent | 100, 25.88, 83.14 | rgb(100, 25.88, 83.14) |
CMYK | 0, 74, 17, 0 | |
HSL | 313.7°, 100, 62.9 | hsl(313.7, 100%, 62.9%) |
HSV | 313.7°, 74.1, 100 |
XYZ | 55.072, 29.91, 65.158 |
---|---|
Hunter Lab | 54.69, 84.039, -32.355 |
CIE-LAB | 61.576, 82.457, -34.786 |
CIE-LCH | 61.576, 89.494, 337.127 |
CIE-LUV | 0, 74.12, 16.86, 0 |
Web Safe | ff33cc |
RGB percent of color #ff42d4
CMYK percent of color #ff42d4
Text with hexadecimal color #ff42d4
This text has a font color of #ff42d4
<p style="color:#ff42d4">Text here</p>
#ff42d4 Background Color
This box has a background color of #ff42d4
<div style="background-color:#ff42d4">Text here</div>
#ff42d4 Border Color
This box has a border color of #ff42d4
<div style="border: 4px solid #ff42d4">Text here</div>
CSS codes
<p style="color:#ff42d4">Text here</p>
<div style="background-color:#ff42d4">Text here</div>
<div style="border: 4px solid #ff42d4">Text here</div>
#ff42d4 Color on white background
This is how a font and box color of #ff42d4 will look
on a white background.
#ff42d4 Color on black background
This is how a font and box color of #ff42d4 hex color will look
on a black background.