#ifndef COLOR_H #define COLOR_H COLOR_H class Color { public: double r, g, b; Color(); Color(double r, double g, double b); Color operator*(double scale); Color operator/(double scale); Color & operator+=(const Color & other); Color & operator-=(const Color & other); static const Color black; static const Color white; static const Color red; static const Color green; static const Color blue; }; Color operator+(const Color & c1, const Color & c2); Color operator-(const Color & c1, const Color & c2); #endif