In RGB color space, #42238b hex color has a red value of 66, a green value of 35 and a blue value of 139.
In CMYK color space (used in color printing), #42238b hex color is composed of 52.52% cyan, 74.82% magenta, 0% yellow and 45.49% black.
#42238b color has a hue of 257.9 degrees, a saturation of 59.77% and a lightness of 34.1%.
#42238b hex color contains mainly BLUE.
The closest web safe color of #42238b is #333399
#42238b hex color has a decimal value of 4334475.
HEX | 42238b | #42238b |
---|---|---|
RGB | 66, 35, 139 | rgb(66, 35, 139) |
RGB Percent | 25.88, 13.73, 54.51 | rgb(25.88, 13.73, 54.51) |
CMYK | 53, 75, 0, 45 | |
HSL | 257.9°, 59.77, 34.1 | hsl(257.9, 59.77%, 34.1%) |
HSV | 257.9°, 74.8, 54.5 |
XYZ | 7.508, 4.224, 24.846 |
---|---|
Hunter Lab | 20.552, 29.241, -57.29 |
CIE-LAB | 24.399, 40.403, -52.564 |
CIE-LCH | 24.399, 66.298, 307.547 |
CIE-LUV | 52.52, 74.82, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #42238b
CMYK percent of color #42238b
Text with hexadecimal color #42238b
This text has a font color of #42238b
<p style="color:#42238b">Text here</p>
#42238b Background Color
This box has a background color of #42238b
<div style="background-color:#42238b">Text here</div>
#42238b Border Color
This box has a border color of #42238b
<div style="border: 4px solid #42238b">Text here</div>
CSS codes
<p style="color:#42238b">Text here</p>
<div style="background-color:#42238b">Text here</div>
<div style="border: 4px solid #42238b">Text here</div>
#42238b Color on white background
This is how a font and box color of #42238b will look
on a white background.
#42238b Color on black background
This is how a font and box color of #42238b hex color will look
on a black background.