Useful color math functions for golang