refactors colors to avoid awt init