save rgb & hsl into database