DENVER—Gay couples can keep getting married in Colorado, even though the state's gay marriage ban is still in effect, a judge ruled Thursday.