In RGB color space, #d228ff hex color has a red value of 210, a green value of 40 and a blue value of 255.
In CMYK color space (used in color printing), #d228ff hex color is composed of 17.65% cyan, 84.31% magenta, 0% yellow and 0% black.
#d228ff color has a hue of 287.4 degrees, a saturation of 100% and a lightness of 57.8%.
#d228ff hex color contains mainly BLUE.
The closest web safe color of #d228ff is #cc33ff
#d228ff hex color has a decimal value of 13773055.
HEX | d228ff | #d228ff |
---|---|---|
RGB | 210, 40, 255 | rgb(210, 40, 255) |
RGB Percent | 82.35, 15.69, 100 | rgb(82.35, 15.69, 100) |
CMYK | 18, 84, 0, 0 | |
HSL | 287.4°, 100, 57.8 | hsl(287.4, 100%, 57.8%) |
HSV | 287.4°, 84.3, 100 |
XYZ | 45.387, 22.439, 96.547 |
---|---|
Hunter Lab | 47.37, 88.131, -87.683 |
CIE-LAB | 54.49, 86.977, -70.608 |
CIE-LCH | 54.49, 112.029, 320.93 |
CIE-LUV | 17.65, 84.31, 0, 0 |
Web Safe | cc33ff |
RGB percent of color #d228ff
CMYK percent of color #d228ff
Text with hexadecimal color #d228ff
This text has a font color of #d228ff
<p style="color:#d228ff">Text here</p>
#d228ff Background Color
This box has a background color of #d228ff
<div style="background-color:#d228ff">Text here</div>
#d228ff Border Color
This box has a border color of #d228ff
<div style="border: 4px solid #d228ff">Text here</div>
CSS codes
<p style="color:#d228ff">Text here</p>
<div style="background-color:#d228ff">Text here</div>
<div style="border: 4px solid #d228ff">Text here</div>
#d228ff Color on white background
This is how a font and box color of #d228ff will look
on a white background.
#d228ff Color on black background
This is how a font and box color of #d228ff hex color will look
on a black background.