The optical continua of extragalactic radio jets