In RGB color space, #402dcc hex color has a red value of 64, a green value of 45 and a blue value of 204.
In CMYK color space (used in color printing), #402dcc hex color is composed of 68.63% cyan, 77.94% magenta, 0% yellow and 20% black.
#402dcc color has a hue of 247.2 degrees, a saturation of 63.86% and a lightness of 48.8%.
#402dcc hex color contains mainly BLUE.
The closest web safe color of #402dcc is #3333cc
#402dcc hex color has a decimal value of 4206028.
HEX | 402dcc | #402dcc |
---|---|---|
RGB | 64, 45, 204 | rgb(64, 45, 204) |
RGB Percent | 25.1, 17.65, 80 | rgb(25.1, 17.65, 80) |
CMYK | 69, 78, 0, 20 | |
HSL | 247.2°, 63.86, 48.8 | hsl(247.2, 63.86%, 48.8%) |
HSV | 247.2°, 77.9, 80 |
XYZ | 13.952, 7.326, 57.806 |
---|---|
Hunter Lab | 27.067, 44.645, -107.679 |
CIE-LAB | 32.538, 54.541, -78.259 |
CIE-LCH | 32.538, 95.39, 304.874 |
CIE-LUV | 68.63, 77.94, 0, 20 |
Web Safe | 3333cc |
RGB percent of color #402dcc
CMYK percent of color #402dcc
Text with hexadecimal color #402dcc
This text has a font color of #402dcc
<p style="color:#402dcc">Text here</p>
#402dcc Background Color
This box has a background color of #402dcc
<div style="background-color:#402dcc">Text here</div>
#402dcc Border Color
This box has a border color of #402dcc
<div style="border: 4px solid #402dcc">Text here</div>
CSS codes
<p style="color:#402dcc">Text here</p>
<div style="background-color:#402dcc">Text here</div>
<div style="border: 4px solid #402dcc">Text here</div>
#402dcc Color on white background
This is how a font and box color of #402dcc will look
on a white background.
#402dcc Color on black background
This is how a font and box color of #402dcc hex color will look
on a black background.