Added color manipulation functions
Lines that are farther away are now darker.