#pragma once namespace Raven { class RGB { private: double m_r {0.0}; double m_g {0.0}; double m_b {0.0}; public: RGB() {} RGB(double r, double g, double b) : m_r(r) , m_g(g) , m_b(b) {} void set_r(double r) { m_r = r; } void set_g(double g) { m_g = g; } void set_b(double b) { m_b = b; } double r() { return m_r; } double g() { return m_g; } double b() { return m_b; } }; }