Move color definitions and functions to colors

In colors.{c,h} all color related functions and defines should be done