In RGB color space, #5b45a2 hex color has a red value of 91, a green value of 69 and a blue value of 162.
In CMYK color space (used in color printing), #5b45a2 hex color is composed of 43.83% cyan, 57.41% magenta, 0% yellow and 36.47% black.
#5b45a2 color has a hue of 254.2 degrees, a saturation of 40.26% and a lightness of 45.3%.
#5b45a2 hex color contains mainly BLUE.
The closest web safe color of #5b45a2 is #663399
#5b45a2 hex color has a decimal value of 5981602.
HEX | 5b45a2 | #5b45a2 |
---|---|---|
RGB | 91, 69, 162 | rgb(91, 69, 162) |
RGB Percent | 35.69, 27.06, 63.53 | rgb(35.69, 27.06, 63.53) |
CMYK | 44, 57, 0, 36 | |
HSL | 254.2°, 40.26, 45.3 | hsl(254.2, 40.26%, 45.3%) |
HSV | 254.2°, 57.4, 63.5 |
XYZ | 12.964, 9.089, 35.253 |
---|---|
Hunter Lab | 30.148, 23.998, -48.226 |
CIE-LAB | 36.155, 32.571, -47.411 |
CIE-LCH | 36.155, 57.521, 304.489 |
CIE-LUV | 43.83, 57.41, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5b45a2
CMYK percent of color #5b45a2
Text with hexadecimal color #5b45a2
This text has a font color of #5b45a2
<p style="color:#5b45a2">Text here</p>
#5b45a2 Background Color
This box has a background color of #5b45a2
<div style="background-color:#5b45a2">Text here</div>
#5b45a2 Border Color
This box has a border color of #5b45a2
<div style="border: 4px solid #5b45a2">Text here</div>
CSS codes
<p style="color:#5b45a2">Text here</p>
<div style="background-color:#5b45a2">Text here</div>
<div style="border: 4px solid #5b45a2">Text here</div>
#5b45a2 Color on white background
This is how a font and box color of #5b45a2 will look
on a white background.
#5b45a2 Color on black background
This is how a font and box color of #5b45a2 hex color will look
on a black background.