Replace opacity key to alpha value in color key.