In RGB color space, #42157c hex color has a red value of 66, a green value of 21 and a blue value of 124.
In CMYK color space (used in color printing), #42157c hex color is composed of 46.77% cyan, 83.06% magenta, 0% yellow and 51.37% black.
#42157c color has a hue of 266.2 degrees, a saturation of 71.03% and a lightness of 28.4%.
#42157c hex color contains mainly BLUE.
The closest web safe color of #42157c is #330066
#42157c hex color has a decimal value of 4330876.
HEX | 42157c | #42157c |
---|---|---|
RGB | 66, 21, 124 | rgb(66, 21, 124) |
RGB Percent | 25.88, 8.24, 48.63 | rgb(25.88, 8.24, 48.63) |
CMYK | 47, 83, 0, 51 | |
HSL | 266.2°, 71.03, 28.4 | hsl(266.2, 71.03%, 28.4%) |
HSV | 266.2°, 83.1, 48.6 |
XYZ | 6.153, 3.15, 19.352 |
---|---|
Hunter Lab | 17.748, 30.823, -52.224 |
CIE-LAB | 20.635, 42.855, -49.284 |
CIE-LCH | 20.635, 65.311, 311.009 |
CIE-LUV | 46.77, 83.06, 0, 51.37 |
Web Safe | 330066 |
RGB percent of color #42157c
CMYK percent of color #42157c
Text with hexadecimal color #42157c
This text has a font color of #42157c
<p style="color:#42157c">Text here</p>
#42157c Background Color
This box has a background color of #42157c
<div style="background-color:#42157c">Text here</div>
#42157c Border Color
This box has a border color of #42157c
<div style="border: 4px solid #42157c">Text here</div>
CSS codes
<p style="color:#42157c">Text here</p>
<div style="background-color:#42157c">Text here</div>
<div style="border: 4px solid #42157c">Text here</div>
#42157c Color on white background
This is how a font and box color of #42157c will look
on a white background.
#42157c Color on black background
This is how a font and box color of #42157c hex color will look
on a black background.