A color math library