In RGB color space, #5f5fa6 hex color has a red value of 95, a green value of 95 and a blue value of 166.
In CMYK color space (used in color printing), #5f5fa6 hex color is composed of 42.77% cyan, 42.77% magenta, 0% yellow and 34.9% black.
#5f5fa6 color has a hue of 240 degrees, a saturation of 28.51% and a lightness of 51.2%.
#5f5fa6 hex color contains mainly BLUE.
The closest web safe color of #5f5fa6 is #666699
#5f5fa6 hex color has a decimal value of 6250406.
HEX | 5f5fa6 | #5f5fa6 |
---|---|---|
RGB | 95, 95, 166 | rgb(95, 95, 166) |
RGB Percent | 37.25, 37.25, 65.1 | rgb(37.25, 37.25, 65.1) |
CMYK | 43, 43, 0, 35 | |
HSL | 240°, 28.51, 51.2 | hsl(240, 28.51%, 51.2%) |
HSV | 240°, 42.8, 65.1 |
XYZ | 15.694, 13.37, 37.83 |
---|---|
Hunter Lab | 36.565, 12.625, -35.746 |
CIE-LAB | 43.316, 18.635, -38.333 |
CIE-LCH | 43.316, 42.623, 295.926 |
CIE-LUV | 42.77, 42.77, 0, 34.9 |
Web Safe | 666699 |
RGB percent of color #5f5fa6
CMYK percent of color #5f5fa6
Text with hexadecimal color #5f5fa6
This text has a font color of #5f5fa6
<p style="color:#5f5fa6">Text here</p>
#5f5fa6 Background Color
This box has a background color of #5f5fa6
<div style="background-color:#5f5fa6">Text here</div>
#5f5fa6 Border Color
This box has a border color of #5f5fa6
<div style="border: 4px solid #5f5fa6">Text here</div>
CSS codes
<p style="color:#5f5fa6">Text here</p>
<div style="background-color:#5f5fa6">Text here</div>
<div style="border: 4px solid #5f5fa6">Text here</div>
#5f5fa6 Color on white background
This is how a font and box color of #5f5fa6 will look
on a white background.
#5f5fa6 Color on black background
This is how a font and box color of #5f5fa6 hex color will look
on a black background.