In RGB color space, #d040d7 hex color has a red value of 208, a green value of 64 and a blue value of 215.
In CMYK color space (used in color printing), #d040d7 hex color is composed of 3.26% cyan, 70.23% magenta, 0% yellow and 15.69% black.
#d040d7 color has a hue of 297.2 degrees, a saturation of 65.37% and a lightness of 54.7%.
#d040d7 hex color contains mainly BLUE.
The closest web safe color of #d040d7 is #cc33cc
#d040d7 hex color has a decimal value of 13648087.
HEX | d040d7 | #d040d7 |
---|---|---|
RGB | 208, 64, 215 | rgb(208, 64, 215) |
RGB Percent | 81.57, 25.1, 84.31 | rgb(81.57, 25.1, 84.31) |
CMYK | 3, 70, 0, 16 | |
HSL | 297.2°, 65.37, 54.7 | hsl(297.2, 65.37%, 54.7%) |
HSV | 297.2°, 70.2, 84.3 |
XYZ | 40.112, 21.983, 66.419 |
---|---|
Hunter Lab | 46.886, 70.66, -51.17 |
CIE-LAB | 54.009, 73.281, -48.914 |
CIE-LCH | 54.009, 88.106, 326.277 |
CIE-LUV | 3.26, 70.23, 0, 15.69 |
Web Safe | cc33cc |
RGB percent of color #d040d7
CMYK percent of color #d040d7
Text with hexadecimal color #d040d7
This text has a font color of #d040d7
<p style="color:#d040d7">Text here</p>
#d040d7 Background Color
This box has a background color of #d040d7
<div style="background-color:#d040d7">Text here</div>
#d040d7 Border Color
This box has a border color of #d040d7
<div style="border: 4px solid #d040d7">Text here</div>
CSS codes
<p style="color:#d040d7">Text here</p>
<div style="background-color:#d040d7">Text here</div>
<div style="border: 4px solid #d040d7">Text here</div>
#d040d7 Color on white background
This is how a font and box color of #d040d7 will look
on a white background.
#d040d7 Color on black background
This is how a font and box color of #d040d7 hex color will look
on a black background.