Gay couples can keep getting married in Colorado, even though the state's same-sex marriage ban is still in effect, a judge ruled Thursday. The decision by Judge Andrew Hartman added to confusion over same-sex marriage, as he found that the Boulder County clerk, Hillary Hall, could continue giving marriage licenses to gay couples despite what the state's attorney general calls ''legal chaos'' as the issue makes its way to the state and federal Supreme Courts. After the ruling, Denver's clerk said she also would provide licenses. Judge Hartman said Ms. Hall could ignore a stay on a ruling from the United States Court of Appeals for the 10th Circuit in Denver, which found states could not set gender requirements for marriage. The judge said that same-sex marriage was still illegal in Colorado but that Ms. Hall's behavior was not harming anyone.