In RGB color space, #4c42a6 hex color has a red value of 76, a green value of 66 and a blue value of 166.
In CMYK color space (used in color printing), #4c42a6 hex color is composed of 54.22% cyan, 60.24% magenta, 0% yellow and 34.9% black.
#4c42a6 color has a hue of 246 degrees, a saturation of 43.1% and a lightness of 45.5%.
#4c42a6 hex color contains mainly BLUE.
The closest web safe color of #4c42a6 is #333399
#4c42a6 hex color has a decimal value of 4997798.
HEX | 4c42a6 | #4c42a6 |
---|---|---|
RGB | 76, 66, 166 | rgb(76, 66, 166) |
RGB Percent | 29.8, 25.88, 65.1 | rgb(29.8, 25.88, 65.1) |
CMYK | 54, 60, 0, 35 | |
HSL | 246°, 43.1, 45.5 | hsl(246, 43.1%, 45.5%) |
HSV | 246°, 60.2, 65.1 |
XYZ | 11.812, 8.186, 37.034 |
---|---|
Hunter Lab | 28.611, 23.623, -56.716 |
CIE-LAB | 34.367, 32.416, -52.768 |
CIE-LCH | 34.367, 61.929, 301.563 |
CIE-LUV | 54.22, 60.24, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #4c42a6
CMYK percent of color #4c42a6
Text with hexadecimal color #4c42a6
This text has a font color of #4c42a6
<p style="color:#4c42a6">Text here</p>
#4c42a6 Background Color
This box has a background color of #4c42a6
<div style="background-color:#4c42a6">Text here</div>
#4c42a6 Border Color
This box has a border color of #4c42a6
<div style="border: 4px solid #4c42a6">Text here</div>
CSS codes
<p style="color:#4c42a6">Text here</p>
<div style="background-color:#4c42a6">Text here</div>
<div style="border: 4px solid #4c42a6">Text here</div>
#4c42a6 Color on white background
This is how a font and box color of #4c42a6 will look
on a white background.
#4c42a6 Color on black background
This is how a font and box color of #4c42a6 hex color will look
on a black background.