Think before you Cmd+c and Cmd+v
why do you pack the rgb values into an int and then unpack it again when
drawing?