make24bitColor working