In RGB color space, #2d1798 hex color has a red value of 45, a green value of 23 and a blue value of 152.
In CMYK color space (used in color printing), #2d1798 hex color is composed of 70.39% cyan, 84.87% magenta, 0% yellow and 40.39% black.
#2d1798 color has a hue of 250.2 degrees, a saturation of 73.71% and a lightness of 34.3%.
#2d1798 hex color contains mainly BLUE.
The closest web safe color of #2d1798 is #330099
#2d1798 hex color has a decimal value of 2955160.
HEX | 2d1798 | #2d1798 |
---|---|---|
RGB | 45, 23, 152 | rgb(45, 23, 152) |
RGB Percent | 17.65, 9.02, 59.61 | rgb(17.65, 9.02, 59.61) |
CMYK | 70, 85, 0, 40 | |
HSL | 250.2°, 73.71, 34.3 | hsl(250.2, 73.71%, 34.3%) |
HSV | 250.2°, 84.9, 59.6 |
XYZ | 7.056, 3.438, 29.997 |
---|---|
Hunter Lab | 18.542, 35.479, -82.94 |
CIE-LAB | 21.719, 47.559, -65.105 |
CIE-LCH | 21.719, 80.626, 306.148 |
CIE-LUV | 70.39, 84.87, 0, 40.39 |
Web Safe | 330099 |
RGB percent of color #2d1798
CMYK percent of color #2d1798
Text with hexadecimal color #2d1798
This text has a font color of #2d1798
<p style="color:#2d1798">Text here</p>
#2d1798 Background Color
This box has a background color of #2d1798
<div style="background-color:#2d1798">Text here</div>
#2d1798 Border Color
This box has a border color of #2d1798
<div style="border: 4px solid #2d1798">Text here</div>
CSS codes
<p style="color:#2d1798">Text here</p>
<div style="background-color:#2d1798">Text here</div>
<div style="border: 4px solid #2d1798">Text here</div>
#2d1798 Color on white background
This is how a font and box color of #2d1798 will look
on a white background.
#2d1798 Color on black background
This is how a font and box color of #2d1798 hex color will look
on a black background.