Prepare color palette matching for dxf