In RGB color space, #2d0842 hex color has a red value of 45, a green value of 8 and a blue value of 66.
In CMYK color space (used in color printing), #2d0842 hex color is composed of 31.82% cyan, 87.88% magenta, 0% yellow and 74.12% black.
#2d0842 color has a hue of 278.3 degrees, a saturation of 78.38% and a lightness of 14.5%.
#2d0842 hex color contains mainly BLUE.
The closest web safe color of #2d0842 is #330033
#2d0842 hex color has a decimal value of 2951234.
HEX | 2d0842 | #2d0842 |
---|---|---|
RGB | 45, 8, 66 | rgb(45, 8, 66) |
RGB Percent | 17.65, 3.14, 25.88 | rgb(17.65, 3.14, 25.88) |
CMYK | 32, 88, 0, 74 | |
HSL | 278.3°, 78.38, 14.5 | hsl(278.3, 78.38%, 14.5%) |
HSV | 278.3°, 87.9, 25.9 |
XYZ | 2.152, 1.125, 5.258 |
---|---|
Hunter Lab | 10.607, 17.655, -21.967 |
CIE-LAB | 9.992, 29.415, -28.017 |
CIE-LCH | 9.992, 40.623, 316.394 |
CIE-LUV | 31.82, 87.88, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #2d0842
CMYK percent of color #2d0842
Text with hexadecimal color #2d0842
This text has a font color of #2d0842
<p style="color:#2d0842">Text here</p>
#2d0842 Background Color
This box has a background color of #2d0842
<div style="background-color:#2d0842">Text here</div>
#2d0842 Border Color
This box has a border color of #2d0842
<div style="border: 4px solid #2d0842">Text here</div>
CSS codes
<p style="color:#2d0842">Text here</p>
<div style="background-color:#2d0842">Text here</div>
<div style="border: 4px solid #2d0842">Text here</div>
#2d0842 Color on white background
This is how a font and box color of #2d0842 will look
on a white background.
#2d0842 Color on black background
This is how a font and box color of #2d0842 hex color will look
on a black background.