API StatusBar GetStatusBarColor

Gets the color of a StatusBar object. color = StatusBar:GetStatusBarColor

Arguments

 * nil

Returns

 * color: - Table containing r, g, b, a (red, green, blue, alpha)

Example
local color = playerHealthBar:GetStatusBarColor print("red: %d, green: %d, blue: %d, alpha: %d", color.r, color.g, color.b, color.a)


 * Result
 * prints the r, g, b, a values to chat