The $color parameter can be a string like this:
"rgb(255, 255, 255)"
As you can guess, that example represents white color.
"rgb" indicates red-green-blue, and numeric values are amounts for each, from 0 to 255.
Black color it will be "rgb(0, 0, 0)".
Full red color it will be "rgb(255, 0, 0)".