Modularization and detachment of Color utility functions