In RGB color space, #40278c hex color has a red value of 64, a green value of 39 and a blue value of 140.
In CMYK color space (used in color printing), #40278c hex color is composed of 54.29% cyan, 72.14% magenta, 0% yellow and 45.1% black.
#40278c color has a hue of 254.9 degrees, a saturation of 56.42% and a lightness of 35.1%.
#40278c hex color contains mainly BLUE.
The closest web safe color of #40278c is #333399
#40278c hex color has a decimal value of 4204428.
HEX | 40278c | #40278c |
---|---|---|
RGB | 64, 39, 140 | rgb(64, 39, 140) |
RGB Percent | 25.1, 15.29, 54.9 | rgb(25.1, 15.29, 54.9) |
CMYK | 54, 72, 0, 45 | |
HSL | 254.9°, 56.42, 35.1 | hsl(254.9, 56.42%, 35.1%) |
HSV | 254.9°, 72.1, 54.9 |
XYZ | 7.573, 4.434, 25.268 |
---|---|
Hunter Lab | 21.057, 27.346, -56.407 |
CIE-LAB | 25.057, 38.182, -52.116 |
CIE-LCH | 25.057, 64.606, 306.228 |
CIE-LUV | 54.29, 72.14, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #40278c
CMYK percent of color #40278c
Text with hexadecimal color #40278c
This text has a font color of #40278c
<p style="color:#40278c">Text here</p>
#40278c Background Color
This box has a background color of #40278c
<div style="background-color:#40278c">Text here</div>
#40278c Border Color
This box has a border color of #40278c
<div style="border: 4px solid #40278c">Text here</div>
CSS codes
<p style="color:#40278c">Text here</p>
<div style="background-color:#40278c">Text here</div>
<div style="border: 4px solid #40278c">Text here</div>
#40278c Color on white background
This is how a font and box color of #40278c will look
on a white background.
#40278c Color on black background
This is how a font and box color of #40278c hex color will look
on a black background.