# hgeSprite::SetColor Sets tint and alpha for the specified vertex or the entire sprite.
    void SetColor(
      DWORD col,
      int i = -1
    );
## Parameters col The new color value. i Optional index of the vertex to be changed. Vertices are indexed clockwise starting from top-left one in the range 0-3. If =-1 or omitted, all four vertices will be changed. ## Remarks The color parameter includes alpha value. See the Hardware color format section for details. The way the color is applied to the sprite depends on the sprite's blending mode. See Blending modes for more information. ## Requirements Header: hgesprite.h Import library: hgehelp.lib ## See also GetColor, Hardware color format