In RGB color space, #301240 hex color has a red value of 48, a green value of 18 and a blue value of 64.
In CMYK color space (used in color printing), #301240 hex color is composed of 25% cyan, 71.88% magenta, 0% yellow and 74.9% black.
#301240 color has a hue of 279.1 degrees, a saturation of 56.1% and a lightness of 16.1%.
#301240 hex color contains mainly BLUE.
The closest web safe color of #301240 is #330033
#301240 hex color has a decimal value of 3150400.
HEX | 301240 | #301240 |
---|---|---|
RGB | 48, 18, 64 | rgb(48, 18, 64) |
RGB Percent | 18.82, 7.06, 25.1 | rgb(18.82, 7.06, 25.1) |
CMYK | 25, 72, 0, 75 | |
HSL | 279.1°, 56.1, 16.1 | hsl(279.1, 56.1%, 16.1%) |
HSV | 279.1°, 71.9, 25.1 |
XYZ | 2.361, 1.431, 5.002 |
---|---|
Hunter Lab | 11.962, 14.296, -16.418 |
CIE-LAB | 12.162, 24.499, -23.073 |
CIE-LCH | 12.162, 33.654, 316.717 |
CIE-LUV | 25, 71.88, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #301240
CMYK percent of color #301240
Text with hexadecimal color #301240
This text has a font color of #301240
<p style="color:#301240">Text here</p>
#301240 Background Color
This box has a background color of #301240
<div style="background-color:#301240">Text here</div>
#301240 Border Color
This box has a border color of #301240
<div style="border: 4px solid #301240">Text here</div>
CSS codes
<p style="color:#301240">Text here</p>
<div style="background-color:#301240">Text here</div>
<div style="border: 4px solid #301240">Text here</div>
#301240 Color on white background
This is how a font and box color of #301240 will look
on a white background.
#301240 Color on black background
This is how a font and box color of #301240 hex color will look
on a black background.