register colour class