C Convert Color To Integer