CTor
CTor Expect that every component is in range 0.0 .. 1.0
Returns a static float array with all color components. Every component is converted into OpenGL style. Means every component is in range 0.0 .. 1.0
Returns RGB the color information as static array
Returns the RGBA color information as static array
opEquals: compares two Colors.
Set all color components to new values
Set all color components to new values Expect that every component is in range 0.0 .. 1.0
Transfer the internal data to the SDL_Color
Returns a copy of the current Color with a given transpareny.
Black Color (0, 0, 0)
Blue Color (0, 0, 255)
Cyan Color (0, 255, 255)
Gray Color (0.7, 0.7, 0.7)
Green Color (0, 255, 0)
Magenta Color (255, 0, 255)
Red Color (255, 0, 0)
White Color (255, 255, 255)
Yellow Color (255, 255, 0)
Color defines a structure which contains 4 ubyte values, each for red, green, blue and alpha. Alpha is default 255 (1.0).