Small JS snippet to convert RGBA colors to RGB colors