summaryrefslogtreecommitdiff
path: root/Widgets/Color.h
blob: 28abafc2e8562f72b52fe688fd7a45986f4aa1d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include <AK/Types.h>

class Color {
public:
    enum NamedColor {
        Black,
        White,
        Red,
        Green,
        Blue,
        DarkGray,
        MidGray,
        LightGray,
    };

    Color() { }
    Color(NamedColor);
    Color(byte r, byte g, byte b);

    dword value() const { return m_value; }

private:
    dword m_value { 0 };
};