In RGB color space, #28217f hex color has a red value of 40, a green value of 33 and a blue value of 127.
In CMYK color space (used in color printing), #28217f hex color is composed of 68.5% cyan, 74.02% magenta, 0% yellow and 50.2% black.
#28217f color has a hue of 244.5 degrees, a saturation of 58.75% and a lightness of 31.4%.
#28217f hex color contains mainly BLUE.
The closest web safe color of #28217f is #333366
#28217f hex color has a decimal value of 2630015.
HEX | 28217f | #28217f |
---|---|---|
RGB | 40, 33, 127 | rgb(40, 33, 127) |
RGB Percent | 15.69, 12.94, 49.8 | rgb(15.69, 12.94, 49.8) |
CMYK | 69, 74, 0, 50 | |
HSL | 244.5°, 58.75, 31.4 | hsl(244.5, 58.75%, 31.4%) |
HSV | 244.5°, 74, 49.8 |
XYZ | 5.25, 3.071, 20.395 |
---|---|
Hunter Lab | 17.524, 22.808, -56.736 |
CIE-LAB | 20.326, 33.841, -51.802 |
CIE-LCH | 20.326, 61.876, 303.156 |
CIE-LUV | 68.5, 74.02, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #28217f
CMYK percent of color #28217f
Text with hexadecimal color #28217f
This text has a font color of #28217f
<p style="color:#28217f">Text here</p>
#28217f Background Color
This box has a background color of #28217f
<div style="background-color:#28217f">Text here</div>
#28217f Border Color
This box has a border color of #28217f
<div style="border: 4px solid #28217f">Text here</div>
CSS codes
<p style="color:#28217f">Text here</p>
<div style="background-color:#28217f">Text here</div>
<div style="border: 4px solid #28217f">Text here</div>
#28217f Color on white background
This is how a font and box color of #28217f will look
on a white background.
#28217f Color on black background
This is how a font and box color of #28217f hex color will look
on a black background.