In RGB color space, #240cb8 hex color has a red value of 36, a green value of 12 and a blue value of 184.
In CMYK color space (used in color printing), #240cb8 hex color is composed of 80.43% cyan, 93.48% magenta, 0% yellow and 27.84% black.
#240cb8 color has a hue of 248.4 degrees, a saturation of 87.76% and a lightness of 38.4%.
#240cb8 hex color contains mainly BLUE.
The closest web safe color of #240cb8 is #3300cc
#240cb8 hex color has a decimal value of 2362552.
HEX | 240cb8 | #240cb8 |
---|---|---|
RGB | 36, 12, 184 | rgb(36, 12, 184) |
RGB Percent | 14.12, 4.71, 72.16 | rgb(14.12, 4.71, 72.16) |
CMYK | 80, 93, 0, 28 | |
HSL | 248.4°, 87.76, 38.4 | hsl(248.4, 87.76%, 38.4%) |
HSV | 248.4°, 93.5, 72.2 |
XYZ | 9.511, 4.099, 45.637 |
---|---|
Hunter Lab | 20.246, 48.424, -119.475 |
CIE-LAB | 23.996, 59.734, -80.716 |
CIE-LCH | 23.996, 100.415, 306.503 |
CIE-LUV | 80.43, 93.48, 0, 27.84 |
Web Safe | 3300cc |
RGB percent of color #240cb8
CMYK percent of color #240cb8
Text with hexadecimal color #240cb8
This text has a font color of #240cb8
<p style="color:#240cb8">Text here</p>
#240cb8 Background Color
This box has a background color of #240cb8
<div style="background-color:#240cb8">Text here</div>
#240cb8 Border Color
This box has a border color of #240cb8
<div style="border: 4px solid #240cb8">Text here</div>
CSS codes
<p style="color:#240cb8">Text here</p>
<div style="background-color:#240cb8">Text here</div>
<div style="border: 4px solid #240cb8">Text here</div>
#240cb8 Color on white background
This is how a font and box color of #240cb8 will look
on a white background.
#240cb8 Color on black background
This is how a font and box color of #240cb8 hex color will look
on a black background.