In RGB color space, #40255b hex color has a red value of 64, a green value of 37 and a blue value of 91.
In CMYK color space (used in color printing), #40255b hex color is composed of 29.67% cyan, 59.34% magenta, 0% yellow and 64.31% black.
#40255b color has a hue of 270 degrees, a saturation of 42.19% and a lightness of 25.1%.
#40255b hex color contains mainly BLUE.
The closest web safe color of #40255b is #333366
#40255b hex color has a decimal value of 4203867.
HEX | 40255b | #40255b |
---|---|---|
RGB | 64, 37, 91 | rgb(64, 37, 91) |
RGB Percent | 25.1, 14.51, 35.69 | rgb(25.1, 14.51, 35.69) |
CMYK | 30, 59, 0, 64 | |
HSL | 270°, 42.19, 25.1 | hsl(270, 42.19%, 25.1%) |
HSV | 270°, 59.3, 35.7 |
XYZ | 4.664, 3.168, 10.263 |
---|---|
Hunter Lab | 17.799, 15.626, -21.728 |
CIE-LAB | 20.705, 24.844, -27.736 |
CIE-LCH | 20.705, 37.236, 311.852 |
CIE-LUV | 29.67, 59.34, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #40255b
CMYK percent of color #40255b
Text with hexadecimal color #40255b
This text has a font color of #40255b
<p style="color:#40255b">Text here</p>
#40255b Background Color
This box has a background color of #40255b
<div style="background-color:#40255b">Text here</div>
#40255b Border Color
This box has a border color of #40255b
<div style="border: 4px solid #40255b">Text here</div>
CSS codes
<p style="color:#40255b">Text here</p>
<div style="background-color:#40255b">Text here</div>
<div style="border: 4px solid #40255b">Text here</div>
#40255b Color on white background
This is how a font and box color of #40255b will look
on a white background.
#40255b Color on black background
This is how a font and box color of #40255b hex color will look
on a black background.