In RGB color space, #40118e hex color has a red value of 64, a green value of 17 and a blue value of 142.
In CMYK color space (used in color printing), #40118e hex color is composed of 54.93% cyan, 88.03% magenta, 0% yellow and 44.31% black.
#40118e color has a hue of 262.6 degrees, a saturation of 78.62% and a lightness of 31.2%.
#40118e hex color contains mainly BLUE.
The closest web safe color of #40118e is #330099
#40118e hex color has a decimal value of 4198798.
HEX | 40118e | #40118e |
---|---|---|
RGB | 64, 17, 142 | rgb(64, 17, 142) |
RGB Percent | 25.1, 6.67, 55.69 | rgb(25.1, 6.67, 55.69) |
CMYK | 55, 88, 0, 44 | |
HSL | 262.6°, 78.62, 31.2 | hsl(262.6, 78.62%, 31.2%) |
HSV | 262.6°, 88, 55.7 |
XYZ | 7.197, 3.444, 25.877 |
---|---|
Hunter Lab | 18.558, 36.748, -69.682 |
CIE-LAB | 21.741, 48.855, -58.813 |
CIE-LCH | 21.741, 76.458, 309.716 |
CIE-LUV | 54.93, 88.03, 0, 44.31 |
Web Safe | 330099 |
RGB percent of color #40118e
CMYK percent of color #40118e
Text with hexadecimal color #40118e
This text has a font color of #40118e
<p style="color:#40118e">Text here</p>
#40118e Background Color
This box has a background color of #40118e
<div style="background-color:#40118e">Text here</div>
#40118e Border Color
This box has a border color of #40118e
<div style="border: 4px solid #40118e">Text here</div>
CSS codes
<p style="color:#40118e">Text here</p>
<div style="background-color:#40118e">Text here</div>
<div style="border: 4px solid #40118e">Text here</div>
#40118e Color on white background
This is how a font and box color of #40118e will look
on a white background.
#40118e Color on black background
This is how a font and box color of #40118e hex color will look
on a black background.