color keyboard handler