# struct cogs::Color3hex

Holds three color channels in hexadecimal string representation.

    #include <Color.h>

    struct Color3hex {
        // construction

        Color3hex();
        Color3hex(const char* hex_color);
        Color3hex(const Color3hex& col);
        Color3hex(const Color3b& col);
        Color3hex(const Color3f& col);
        Color3hex(const Color4b& col);
        Color3hex(const Color4f& col);
        Color3hex(const Color4hex& col);

        // methods

        Color3hex& operator=(const char* hex_color);
        Color3hex& operator=(const Color3hex& col);
        const char* GetPtr() const;
    };