floor rgb values to make them work