Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugo/feature/Add purple and orange in RGB #1024

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libs/ColorKit/include/RGB.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ struct RGB {
static const RGB yellow;
static const RGB cyan;
static const RGB magenta;
static const RGB purple;
static const RGB orange;
};

constexpr RGB RGB::white {0xFF, 0xFF, 0xFF};
Expand All @@ -54,4 +56,7 @@ constexpr RGB RGB::yellow {0xFF, 0xFF, 0x00};
constexpr RGB RGB::cyan {0x00, 0xFF, 0xFF};
constexpr RGB RGB::magenta {0xFF, 0x00, 0xFF};

constexpr RGB RGB::purple {0x14, 0x00, 0x50};
constexpr RGB RGB::orange {0xFF, 0x80, 0x00};

} // namespace leka