In RGB color space, #301040 hex color has a red value of 48, a green value of 16 and a blue value of 64.
In CMYK color space (used in color printing), #301040 hex color is composed of 25% cyan, 75% magenta, 0% yellow and 74.9% black.
#301040 color has a hue of 280 degrees, a saturation of 60% and a lightness of 15.7%.
#301040 hex color contains mainly BLUE.
The closest web safe color of #301040 is #330033
#301040 hex color has a decimal value of 3149888.
HEX | 301040 | #301040 |
---|---|---|
RGB | 48, 16, 64 | rgb(48, 16, 64) |
RGB Percent | 18.82, 6.27, 25.1 | rgb(18.82, 6.27, 25.1) |
CMYK | 25, 75, 0, 75 | |
HSL | 280°, 60, 15.7 | hsl(280, 60%, 15.7%) |
HSV | 280°, 75, 25.1 |
XYZ | 2.33, 1.369, 4.992 |
---|---|
Hunter Lab | 11.7, 15.07, -17.106 |
CIE-LAB | 11.75, 25.637, -23.737 |
CIE-LCH | 11.75, 34.939, 317.204 |
CIE-LUV | 25, 75, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #301040
CMYK percent of color #301040
Text with hexadecimal color #301040
This text has a font color of #301040
<p style="color:#301040">Text here</p>
#301040 Background Color
This box has a background color of #301040
<div style="background-color:#301040">Text here</div>
#301040 Border Color
This box has a border color of #301040
<div style="border: 4px solid #301040">Text here</div>
CSS codes
<p style="color:#301040">Text here</p>
<div style="background-color:#301040">Text here</div>
<div style="border: 4px solid #301040">Text here</div>
#301040 Color on white background
This is how a font and box color of #301040 will look
on a white background.
#301040 Color on black background
This is how a font and box color of #301040 hex color will look
on a black background.