ARKBreedingStats.Utils.getARKml C# (CSharp) Method

getARKml() public static method

public static getARKml ( string text, int r, int g, int b ) : string
text string
r int
g int
b int
return string
        public static string getARKml(string text, int r, int g, int b)
        {
            return "<RichColor Color=\"" + Math.Round(r / 255d, 2) + "," + Math.Round(g / 255d, 2) + "," + Math.Round(b / 255d, 2) + ",1\">" + text + "</>";
        }