#include <vector>
#include <cmath>
#include <lemon/maps.h>
Namespaces | |
namespace | lemon |
Classes | |
class | Color |
Data structure representing RGB colors. More... | |
class | Palette |
Map int s to different Colors. More... | |
Functions | |
Color | distantColor (const Color &c) |
Returns a visible distinct Color. | |
Color | distantBW (const Color &c) |
Returns black for light colors and white for the dark ones. | |
Variables | |
const Color | WHITE |
White color constant. | |
const Color | BLACK |
Black color constant. | |
const Color | RED |
Red color constant. | |
const Color | GREEN |
Green color constant. | |
const Color | BLUE |
Blue color constant. | |
const Color | YELLOW |
Yellow color constant. | |
const Color | MAGENTA |
Magenta color constant. | |
const Color | CYAN |
Cyan color constant. | |
const Color | GREY |
Grey color constant. | |
const Color | DARK_RED |
Dark red color constant. | |
const Color | DARK_GREEN |
Dark green color constant. | |
const Color | DARK_BLUE |
Drak blue color constant. | |
const Color | DARK_YELLOW |
Dark yellow color constant. | |
const Color | DARK_MAGENTA |
Dark magenta color constant. | |
const Color | DARK_CYAN |
Dark cyan color constant. |