Accept parameters as color values
also fixed some issues