In RGB color space, #40126c hex color has a red value of 64, a green value of 18 and a blue value of 108.
In CMYK color space (used in color printing), #40126c hex color is composed of 40.74% cyan, 83.33% magenta, 0% yellow and 57.65% black.
#40126c color has a hue of 270.7 degrees, a saturation of 71.43% and a lightness of 24.7%.
#40126c hex color contains mainly BLUE.
The closest web safe color of #40126c is #330066
#40126c hex color has a decimal value of 4199020.
HEX | 40126c | #40126c |
---|---|---|
RGB | 64, 18, 108 | rgb(64, 18, 108) |
RGB Percent | 25.1, 7.06, 42.35 | rgb(25.1, 7.06, 42.35) |
CMYK | 41, 83, 0, 58 | |
HSL | 270.7°, 71.43, 24.7 | hsl(270.7, 71.43%, 24.7%) |
HSV | 270.7°, 83.3, 42.4 |
XYZ | 5.037, 2.605, 14.425 |
---|---|
Hunter Lab | 16.14, 27.462, -41.692 |
CIE-LAB | 18.387, 39.588, -42.669 |
CIE-LCH | 18.387, 58.205, 312.855 |
CIE-LUV | 40.74, 83.33, 0, 57.65 |
Web Safe | 330066 |
RGB percent of color #40126c
CMYK percent of color #40126c
Text with hexadecimal color #40126c
This text has a font color of #40126c
<p style="color:#40126c">Text here</p>
#40126c Background Color
This box has a background color of #40126c
<div style="background-color:#40126c">Text here</div>
#40126c Border Color
This box has a border color of #40126c
<div style="border: 4px solid #40126c">Text here</div>
CSS codes
<p style="color:#40126c">Text here</p>
<div style="background-color:#40126c">Text here</div>
<div style="border: 4px solid #40126c">Text here</div>
#40126c Color on white background
This is how a font and box color of #40126c will look
on a white background.
#40126c Color on black background
This is how a font and box color of #40126c hex color will look
on a black background.