In RGB color space, #2d158d hex color has a red value of 45, a green value of 21 and a blue value of 141.
In CMYK color space (used in color printing), #2d158d hex color is composed of 68.09% cyan, 85.11% magenta, 0% yellow and 44.71% black.
#2d158d color has a hue of 252 degrees, a saturation of 74.07% and a lightness of 31.8%.
#2d158d hex color contains mainly BLUE.
The closest web safe color of #2d158d is #330099
#2d158d hex color has a decimal value of 2954637.
HEX | 2d158d | #2d158d |
---|---|---|
RGB | 45, 21, 141 | rgb(45, 21, 141) |
RGB Percent | 17.65, 8.24, 55.29 | rgb(17.65, 8.24, 55.29) |
CMYK | 68, 85, 0, 45 | |
HSL | 252°, 74.07, 31.8 | hsl(252, 74.07%, 31.8%) |
HSV | 252°, 85.1, 55.3 |
XYZ | 6.158, 3.017, 25.457 |
---|---|
Hunter Lab | 17.37, 32.887, -74.738 |
CIE-LAB | 20.112, 45.164, -60.948 |
CIE-LCH | 20.112, 75.858, 306.539 |
CIE-LUV | 68.09, 85.11, 0, 44.71 |
Web Safe | 330099 |
RGB percent of color #2d158d
CMYK percent of color #2d158d
Text with hexadecimal color #2d158d
This text has a font color of #2d158d
<p style="color:#2d158d">Text here</p>
#2d158d Background Color
This box has a background color of #2d158d
<div style="background-color:#2d158d">Text here</div>
#2d158d Border Color
This box has a border color of #2d158d
<div style="border: 4px solid #2d158d">Text here</div>
CSS codes
<p style="color:#2d158d">Text here</p>
<div style="background-color:#2d158d">Text here</div>
<div style="border: 4px solid #2d158d">Text here</div>
#2d158d Color on white background
This is how a font and box color of #2d158d will look
on a white background.
#2d158d Color on black background
This is how a font and box color of #2d158d hex color will look
on a black background.