Move color definitions and convertsecs() to utils