adapt the colors to match the reference