In RGB color space, #6540a2 hex color has a red value of 101, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #6540a2 hex color is composed of 37.65% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#6540a2 color has a hue of 262.7 degrees, a saturation of 43.36% and a lightness of 44.3%.
#6540a2 hex color contains mainly BLUE.
The closest web safe color of #6540a2 is #663399
#6540a2 hex color has a decimal value of 6635682.
HEX | 6540a2 | #6540a2 |
---|---|---|
RGB | 101, 64, 162 | rgb(101, 64, 162) |
RGB Percent | 39.61, 25.1, 63.53 | rgb(39.61, 25.1, 63.53) |
CMYK | 38, 60, 0, 36 | |
HSL | 262.7°, 43.36, 44.3 | hsl(262.7, 43.36%, 44.3%) |
HSV | 262.7°, 60.5, 63.5 |
XYZ | 13.722, 9.042, 35.205 |
---|---|
Hunter Lab | 30.07, 28.834, -48.366 |
CIE-LAB | 36.065, 37.881, -47.503 |
CIE-LCH | 36.065, 60.758, 308.57 |
CIE-LUV | 37.65, 60.49, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6540a2
CMYK percent of color #6540a2
Text with hexadecimal color #6540a2
This text has a font color of #6540a2
<p style="color:#6540a2">Text here</p>
#6540a2 Background Color
This box has a background color of #6540a2
<div style="background-color:#6540a2">Text here</div>
#6540a2 Border Color
This box has a border color of #6540a2
<div style="border: 4px solid #6540a2">Text here</div>
CSS codes
<p style="color:#6540a2">Text here</p>
<div style="background-color:#6540a2">Text here</div>
<div style="border: 4px solid #6540a2">Text here</div>
#6540a2 Color on white background
This is how a font and box color of #6540a2 will look
on a white background.
#6540a2 Color on black background
This is how a font and box color of #6540a2 hex color will look
on a black background.