In RGB color space, #240c42 hex color has a red value of 36, a green value of 12 and a blue value of 66.
In CMYK color space (used in color printing), #240c42 hex color is composed of 45.45% cyan, 81.82% magenta, 0% yellow and 74.12% black.
#240c42 color has a hue of 266.7 degrees, a saturation of 69.23% and a lightness of 15.3%.
#240c42 hex color contains mainly BLUE.
The closest web safe color of #240c42 is #330033
#240c42 hex color has a decimal value of 2362434.
HEX | 240c42 | #240c42 |
---|---|---|
RGB | 36, 12, 66 | rgb(36, 12, 66) |
RGB Percent | 14.12, 4.71, 25.88 | rgb(14.12, 4.71, 25.88) |
CMYK | 45, 82, 0, 74 | |
HSL | 266.7°, 69.23, 15.3 | hsl(266.7, 69.23%, 15.3%) |
HSV | 266.7°, 81.8, 25.9 |
XYZ | 1.842, 1.031, 5.256 |
---|---|
Hunter Lab | 10.154, 14.612, -23.583 |
CIE-LAB | 9.247, 25.48, -29.292 |
CIE-LCH | 9.247, 38.823, 311.019 |
CIE-LUV | 45.45, 81.82, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #240c42
CMYK percent of color #240c42
Text with hexadecimal color #240c42
This text has a font color of #240c42
<p style="color:#240c42">Text here</p>
#240c42 Background Color
This box has a background color of #240c42
<div style="background-color:#240c42">Text here</div>
#240c42 Border Color
This box has a border color of #240c42
<div style="border: 4px solid #240c42">Text here</div>
CSS codes
<p style="color:#240c42">Text here</p>
<div style="background-color:#240c42">Text here</div>
<div style="border: 4px solid #240c42">Text here</div>
#240c42 Color on white background
This is how a font and box color of #240c42 will look
on a white background.
#240c42 Color on black background
This is how a font and box color of #240c42 hex color will look
on a black background.