server impl for color generation + client simple preview