Replacing a ceiling fan with light kit on 3-way circuit
Black is fan , red is light. In other words.,black to black ., red to blue, white to white, ground/bare to green. it will still be a three way and use pull chains individually when power is supplied to the fan.