In RGB color space, #42288b hex color has a red value of 66, a green value of 40 and a blue value of 139.
In CMYK color space (used in color printing), #42288b hex color is composed of 52.52% cyan, 71.22% magenta, 0% yellow and 45.49% black.
#42288b color has a hue of 255.8 degrees, a saturation of 55.31% and a lightness of 35.1%.
#42288b hex color contains mainly BLUE.
The closest web safe color of #42288b is #333399
#42288b hex color has a decimal value of 4335755.
HEX | 42288b | #42288b |
---|---|---|
RGB | 66, 40, 139 | rgb(66, 40, 139) |
RGB Percent | 25.88, 15.69, 54.51 | rgb(25.88, 15.69, 54.51) |
CMYK | 53, 71, 0, 45 | |
HSL | 255.8°, 55.31, 35.1 | hsl(255.8, 55.31%, 35.1%) |
HSV | 255.8°, 71.2, 54.5 |
XYZ | 7.666, 4.54, 24.898 |
---|---|
Hunter Lab | 21.307, 26.934, -54.367 |
CIE-LAB | 25.382, 37.66, -50.953 |
CIE-LCH | 25.382, 63.36, 306.469 |
CIE-LUV | 52.52, 71.22, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #42288b
CMYK percent of color #42288b
Text with hexadecimal color #42288b
This text has a font color of #42288b
<p style="color:#42288b">Text here</p>
#42288b Background Color
This box has a background color of #42288b
<div style="background-color:#42288b">Text here</div>
#42288b Border Color
This box has a border color of #42288b
<div style="border: 4px solid #42288b">Text here</div>
CSS codes
<p style="color:#42288b">Text here</p>
<div style="background-color:#42288b">Text here</div>
<div style="border: 4px solid #42288b">Text here</div>
#42288b Color on white background
This is how a font and box color of #42288b will look
on a white background.
#42288b Color on black background
This is how a font and box color of #42288b hex color will look
on a black background.