API GetProfitHexColor
From Vendetta Lua
Jump to navigationJump to search
GetProfitHexColor
Definition:
GetProfitHexColor(int price, cost) -> string color
Description:
get color in hex format depending on the given prices
Arguments:
price sell price
cost buy price
Returns:
color hex color string. format: "rrggbb"