mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
26 lines
372 B
C++
26 lines
372 B
C++
#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 };
|
|
};
|