In RGB color space, #4c42b1 hex color has a red value of 76, a green value of 66 and a blue value of 177.
In CMYK color space (used in color printing), #4c42b1 hex color is composed of 57.06% cyan, 62.71% magenta, 0% yellow and 30.59% black.
#4c42b1 color has a hue of 245.4 degrees, a saturation of 45.68% and a lightness of 47.6%.
#4c42b1 hex color contains mainly BLUE.
The closest web safe color of #4c42b1 is #333399
#4c42b1 hex color has a decimal value of 4997809.
HEX | 4c42b1 | #4c42b1 |
---|---|---|
RGB | 76, 66, 177 | rgb(76, 66, 177) |
RGB Percent | 29.8, 25.88, 69.41 | rgb(29.8, 25.88, 69.41) |
CMYK | 57, 63, 0, 31 | |
HSL | 245.4°, 45.68, 47.6 | hsl(245.4, 45.68%, 47.6%) |
HSV | 245.4°, 62.7, 69.4 |
XYZ | 12.865, 8.607, 42.578 |
---|---|
Hunter Lab | 29.338, 26.934, -65.512 |
CIE-LAB | 35.216, 35.96, -57.949 |
CIE-LCH | 35.216, 68.2, 301.821 |
CIE-LUV | 57.06, 62.71, 0, 30.59 |
Web Safe | 333399 |
RGB percent of color #4c42b1
CMYK percent of color #4c42b1
Text with hexadecimal color #4c42b1
This text has a font color of #4c42b1
<p style="color:#4c42b1">Text here</p>
#4c42b1 Background Color
This box has a background color of #4c42b1
<div style="background-color:#4c42b1">Text here</div>
#4c42b1 Border Color
This box has a border color of #4c42b1
<div style="border: 4px solid #4c42b1">Text here</div>
CSS codes
<p style="color:#4c42b1">Text here</p>
<div style="background-color:#4c42b1">Text here</div>
<div style="border: 4px solid #4c42b1">Text here</div>
#4c42b1 Color on white background
This is how a font and box color of #4c42b1 will look
on a white background.
#4c42b1 Color on black background
This is how a font and box color of #4c42b1 hex color will look
on a black background.