Thank you, removing the toColor() function made the backgroundColor accept the colors.
Appreciate the help!