25 #ifndef SFML_COLOR_HPP
26 #define SFML_COLOR_HPP
31 #include <SFML/Graphics/Export.hpp>
62 Color(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha = 255);
98 SFML_GRAPHICS_API
bool operator ==(
const Color& left,
const Color& right);
112 SFML_GRAPHICS_API
bool operator !=(
const Color& left,
const Color& right);
127 SFML_GRAPHICS_API
Color operator +(
const Color& left,
const Color& right);
142 SFML_GRAPHICS_API
Color operator -(
const Color& left,
const Color& right);
159 SFML_GRAPHICS_API
Color operator *(
const Color& left,
const Color& right);
214 #endif // SFML_COLOR_HPP
static const Color White
White predefined color.
Utility class for manipulating RGBA colors.
static const Color Blue
Blue predefined color.
static const Color Red
Red predefined color.
static const Color Green
Green predefined color.
static const Color Transparent
Transparent (black) predefined color.
static const Color Cyan
Cyan predefined color.
Uint8 a
Alpha (opacity) component.
static const Color Black
Black predefined color.
static const Color Yellow
Yellow predefined color.
static const Color Magenta
Magenta predefined color.