Fixed color converting

Works as intended now