In RGB color space, #40254c hex color has a red value of 64, a green value of 37 and a blue value of 76.
In CMYK color space (used in color printing), #40254c hex color is composed of 15.79% cyan, 51.32% magenta, 0% yellow and 70.2% black.
#40254c color has a hue of 281.5 degrees, a saturation of 34.51% and a lightness of 22.2%.
#40254c hex color contains mainly BLUE.
The closest web safe color of #40254c is #333333
#40254c hex color has a decimal value of 4203852.
HEX | 40254c | #40254c |
---|---|---|
RGB | 64, 37, 76 | rgb(64, 37, 76) |
RGB Percent | 25.1, 14.51, 29.8 | rgb(25.1, 14.51, 29.8) |
CMYK | 16, 51, 0, 70 | |
HSL | 281.5°, 34.51, 22.2 | hsl(281.5, 34.51%, 22.2%) |
HSV | 281.5°, 51.3, 29.8 |
XYZ | 4.08, 2.935, 7.189 |
---|---|
Hunter Lab | 17.132, 12.53, -12.887 |
CIE-LAB | 19.782, 20.838, -19.142 |
CIE-LCH | 19.782, 28.296, 317.429 |
CIE-LUV | 15.79, 51.32, 0, 70.2 |
Web Safe | 333333 |
RGB percent of color #40254c
CMYK percent of color #40254c
Text with hexadecimal color #40254c
This text has a font color of #40254c
<p style="color:#40254c">Text here</p>
#40254c Background Color
This box has a background color of #40254c
<div style="background-color:#40254c">Text here</div>
#40254c Border Color
This box has a border color of #40254c
<div style="border: 4px solid #40254c">Text here</div>
CSS codes
<p style="color:#40254c">Text here</p>
<div style="background-color:#40254c">Text here</div>
<div style="border: 4px solid #40254c">Text here</div>
#40254c Color on white background
This is how a font and box color of #40254c will look
on a white background.
#40254c Color on black background
This is how a font and box color of #40254c hex color will look
on a black background.