# struct cogs::Color4hex

Holds four color channels in hexadecimal string representation.

    #include <Color.h>

    struct Color4hex {
        // construction

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

        // methods

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